rk2928(tr726): borad config for battery
authorwuhao@rock-chips.com <wuhao@rock-chips.com>
Wed, 17 Oct 2012 08:31:21 +0000 (16:31 +0800)
committerwuhao@rock-chips.com <wuhao@rock-chips.com>
Wed, 17 Oct 2012 08:31:21 +0000 (16:31 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk.c

index 84e6768715bd51016842cd4b6a8f6149e0409938..21665e45566ba6cd5407aaed0e2a31d9e1b13efb 100755 (executable)
@@ -619,6 +619,11 @@ static struct rk30_adc_battery_platform_data rk30_adc_battery_platdata = {
         .charge_ok_pin   = RK2928_PIN1_PA0,\r
         .dc_det_level    = GPIO_LOW,\r
         .charge_ok_level = GPIO_HIGH,\r
+\r
+        .charging_sleep   = 0 ,\r
+        .save_capacity   = 1 ,\r
+        .adc_channel      =0 ,\r
+\r
 };\r
 \r
 static struct platform_device rk30_device_adc_battery = {\r