]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: add dt node for palams thermal for E1936 PMIC
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 23 Apr 2014 11:02:19 +0000 (16:32 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Mon, 5 May 2014 21:12:17 +0000 (14:12 -0700)
Add palams thermal node for E1936 PMIC module. Keep the status
of this node to be disable to avoid the device registration.

It can be enabled from top level DTS file based on need.

Bug 1506324

Change-Id: Ie72d18e8766b55165d9bec583433d269550d440e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/400357
Reviewed-on: http://git-master/r/405011
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
arch/arm/boot/dts/tegra124-platforms/tegra124-tn8-pmic-e1936-1000-a00.dtsi

index 752841a85e24244f69489a548972ff8950e52e16..073f96739b5354a873596de0413d18b5ee7eef2d 100644 (file)
                                interrupts = <8 0>;
                        };
 
+                       thermal {
+                               compatible = "ti,palmas-thermal";
+                               interrupt-parent = <&palmas>;
+                               interrupts = <5 0>;
+                               ti,tz-name = "palmas-thermal";
+                               ti,hot-die-threshold-temp = <120000>;
+                               status = "disabled";
+                       };
+
                        pinmux {
                                compatible = "ti,tps65913-pinctrl";
                                pinctrl-names = "default";