]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM64: dts: add thermal zone name to charger node
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Fri, 8 May 2015 09:04:23 +0000 (14:34 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Fri, 22 May 2015 05:41:42 +0000 (22:41 -0700)
Adding thermal zone name to battery charger node
to read battery temperature to configure input voltage,
input current based on battery temperature and also
to disable battery charging beyond 50C,
providing battery temp read polling time.

Bug 1633184

Change-Id: I3a5e0c54593f5fff2fe6e5dd6c3bc6133d6b3088
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/740568
(cherry picked from commit c7967ef3e9fa408d2a1f32d6e7f9c0bf810c65ab)
Reviewed-on: http://git-master/r/744711
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm64/boot/dts/tegra210-platforms/tegra210-hawkeye-pmic-p2290-1100-a00.dtsi

index 167ec9f833927381a1e2670c18e3bab0e9d77715..f0420d84c0ea39c6061e907481210ff5a74f59cb 100644 (file)
                                ti,temp-range = <10 15 25 45 50 60>;
                                ti,charge-thermal-voltage-limit = <4352 4352 4352 4352 4200 4200>;
                                ti,charge-current-limit = <520 1040 2600 2600 2600 520>;
+                               ti,thermal-zone = "Battery";
+                               ti,temp-polling-time-sec = <20>;
                        };
 
                        usb0_vbus: vbus {