Thread (1 message) 1 message, 1 author, 2015-09-25

Re: [PATCH v4 5/5] arm64: dts: Add sensor node to Juno dt

From: Punit Agrawal <hidden>
Date: 2015-09-25 14:38:09
Also in: linux-arm-kernel, lkml

Liviu Dudau [off-list ref] writes:
On Tue, Sep 15, 2015 at 05:51:01PM +0100, Punit Agrawal wrote:
quoted
The SCP firmware on Juno provides access to SoC sensors via the
SCPI. Add the sensor nodes to the device tree to enable this support.

Signed-off-by: Punit Agrawal <redacted>
Cc: Rob Herring <redacted>
Cc: Mark Rutland <redacted>
Cc: Liviu Dudau <redacted>
Acked-by: Liviu Dudau <redacted>
Thanks Liviu!
quoted
Cc: Sudeep Holla <redacted>
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index c624208..dd5158e 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -96,6 +96,11 @@
 				clock-output-names = "pxlclk0", "pxlclk1";
 			};
 		};
+
+		scpi_sensors0: sensors {
+			compatible = "arm,scpi-sensors";
+			#thermal-sensor-cells = <1>;
+		};
 	};
 
 	/include/ "juno-clocks.dtsi"
-- 
2.5.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help