Patchwork [RFC,09/14] arm: dts: point to cooling-zones on omap4430 cpu node

login
register
mail settings
Submitter Eduardo Valentin
Date Aug. 23, 2013, 11:15 p.m.
Message ID <1377299755-5134-10-git-send-email-eduardo.valentin@ti.com>
Download mbox | patch
Permalink /patch/269570/
State New
Headers show

Comments

Eduardo Valentin - Aug. 23, 2013, 11:15 p.m.
OMAP4430 devices can reach high temperatures and thus
needs to have cpufreq-cooling on systems running on it.

This patch links the cpu node to its thermal-zone
so that cpufreq-cpu0 driver loads the cooling device.

Cc: "BenoƮt Cousson" <b-cousson@ti.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 | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index 91a3a5d..e4eea43 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -22,6 +22,7 @@ 
 				1008000 1375000
 			>;
 			clock-latency = <300000>; /* From legacy driver */
+			cooling-zones = <&cpu_thermal>;
 		};
 	};