From: wuhao@rock-chips.com Date: Wed, 17 Oct 2012 08:31:21 +0000 (+0800) Subject: rk2928(tr726): borad config for battery X-Git-Tag: firefly_0821_release~8391 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b731a9a375370b2458445ec21a764671dc890dea;p=firefly-linux-kernel-4.4.55.git rk2928(tr726): borad config for battery --- diff --git a/arch/arm/mach-rk2928/board-rk2928-sdk.c b/arch/arm/mach-rk2928/board-rk2928-sdk.c index 84e6768715bd..21665e45566b 100755 --- a/arch/arm/mach-rk2928/board-rk2928-sdk.c +++ b/arch/arm/mach-rk2928/board-rk2928-sdk.c @@ -619,6 +619,11 @@ static struct rk30_adc_battery_platform_data rk30_adc_battery_platdata = { .charge_ok_pin = RK2928_PIN1_PA0, .dc_det_level = GPIO_LOW, .charge_ok_level = GPIO_HIGH, + + .charging_sleep = 0 , + .save_capacity = 1 , + .adc_channel =0 , + }; static struct platform_device rk30_device_adc_battery = {