[PATCH v2 2/4] ARM: mvebu: Add thermal support to Armada XP device tree
From: Ezequiel Garcia <hidden>
Date: 2013-03-26 10:16:26
Also in:
linux-pm
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Ezequiel Garcia <hidden>
Date: 2013-03-26 10:16:26
Also in:
linux-pm
Subsystem:
the rest · Maintainer:
Linus Torvalds
This patch adds support for the thermal controller available in all Armada XP boards. This controller has two 4-byte registers: one to read the thermal sensor, the other for sensor initialization. Signed-off-by: Ezequiel Garcia <redacted> --- This patch depends on the patch to support Armada XP thermal driver: 'thermal: Add driver for Armada 370/XP SoC thermal management' arch/arm/boot/dts/armada-xp.dtsi | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index ca00d83..29dfeb6 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi@@ -151,5 +151,11 @@ status = "disabled"; }; + thermal at d00182b0 { + compatible = "marvell,armadaxp-thermal"; + reg = <0xd00182b0 0x4 + 0xd00184d0 0x4>; + status = "okay"; + }; }; };
--
1.7.8.6