]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: Add sensor node to Juno dt
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 15 Sep 2015 16:51:01 +0000 (17:51 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 9 Oct 2015 09:26:41 +0000 (10:26 +0100)
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 <punit.agrawal@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
arch/arm64/boot/dts/arm/juno-base.dtsi

index c624208edef65c4c089ac99d29769606d2d8e7d3..dd5158eb5872396693bba678cda765a719e25e97 100644 (file)
                                clock-output-names = "pxlclk0", "pxlclk1";
                        };
                };
+
+               scpi_sensors0: sensors {
+                       compatible = "arm,scpi-sensors";
+                       #thermal-sensor-cells = <1>;
+               };
        };
 
        /include/ "juno-clocks.dtsi"