From b731a9a375370b2458445ec21a764671dc890dea Mon Sep 17 00:00:00 2001 From: "wuhao@rock-chips.com" Date: Wed, 17 Oct 2012 16:31:21 +0800 Subject: [PATCH] rk2928(tr726): borad config for battery --- arch/arm/mach-rk2928/board-rk2928-sdk.c | 5 +++++ 1 file changed, 5 insertions(+) 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 = { -- 2.34.1