]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra:set auto rechg time for power off and suspend modes
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Thu, 8 May 2014 06:49:02 +0000 (12:19 +0530)
committerTony Ly <tly@nvidia.com>
Thu, 8 May 2014 22:09:57 +0000 (15:09 -0700)
if charger cable is connected and device enters into suspend/power off
state,then wake up device from suspend/Power off after 1 hour to auto
recharge device battery.

Bug 1440235

Change-Id: I90ccf6c3878b7263f21b33263c4cfb9bb674adf4
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/406878
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-pmic-e1936-1000-a00.dtsi

index 5b90a77bb6e0bd7011ff29cd49289ec72ce0137d..8180ba7a73d4115bb0a1b1783aedce729cb82f40 100644 (file)
                                ti,temp-polling-time-sec = <5>;
                                ti,ir-comp-voltage-millivolt = <1>;
                                ti,ir-comp-resister-ohm = <70>;
+                               ti,auto-recharge-time-power-off = <3600>;
+                               ti,auto-recharge-time-suspend = <3600>;
                                consumers {
                                        c1 {
                                                regulator-consumer-supply = "usb_bat_chg";