]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm: dts: add omap4430 thermal data
authorEduardo Valentin <eduardo.valentin@ti.com>
Thu, 4 Jul 2013 23:16:26 +0000 (19:16 -0400)
committerEduardo Valentin <eduardo.valentin@ti.com>
Wed, 4 Dec 2013 13:34:25 +0000 (09:34 -0400)
This patch changes the dtsi entry on omap4430 to contain
the thermal data. This data will enable the passive
cooling with CPUfreq cooling device at 100C and the
system will do a thermal shutdown at 125C.

Cc: "BenoƮt Cousson" <bcousson@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-omap@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
arch/arm/boot/dts/omap443x.dtsi

index bcf455efe18de0a8141cbfa34c5856fb4b624a81..dc2f60b68930e3197f5117cdbc3a06266bc2f0f3 100644 (file)
@@ -12,7 +12,7 @@
 
 / {
        cpus {
-               cpu@0 {
+               cpu0: cpu@0 {
                        /* OMAP443x variants OPP50-OPPNT */
                        operating-points = <
                                /* kHz    uV */
                };
        };
 
-       bandgap {
+       thermal-zones {
+               #include "omap4-cpu-thermal.dtsi"
+       };
+
+       bandgap: bandgap {
                reg = <0x4a002260 0x4
                       0x4a00232C 0x4>;
                compatible = "ti,omap4430-bandgap";
+
+               #thermal-sensor-cells = <0>;
        };
 };