diff mbox

[PATCHv2,4/7] arm: dts: add cooling properties on dra7 cpu node

Message ID 1389011811-13004-5-git-send-email-eduardo.valentin@ti.com
State New
Headers show

Commit Message

Eduardo Valentin Jan. 6, 2014, 12:36 p.m. UTC
DRA7 devices can reach high temperatures and thus
needs to have cpufreq-cooling on systems running on it.

This patch adds the required cooling device properties
so that cpufreq-cpu0 driver loads the cooling device.

Cc: BenoƮt Cousson <bcousson@baylibre.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: devicetree@vger.kernel.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/dra7.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index 8f21157..139472c 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -47,6 +47,11 @@ 
 				1000000	1060000
 				1176000	1160000
 				>;
+
+			/* cooling properties */
+			#cooling-cells = <2>; /* min and max */
+			#cooling-min-level = <0>;
+			#cooling-max-level = <1>;
 		};
 		cpu@1 {
 			device_type = "cpu";