arm64: dts: juno: add thermal zones for scpi sensors
authorJavi Merino <javi.merino@arm.com>
Mon, 13 Jun 2016 15:15:15 +0000 (16:15 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 21 Jun 2016 14:17:31 +0000 (15:17 +0100)
The juno dts have entries for the hwmon scpi, let's create thermal zones
for the temperature sensors described in the Juno ARM Development
Platform Implementation Details.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/juno-base.dtsi
arch/arm64/boot/dts/arm/juno-r1.dts
arch/arm64/boot/dts/arm/juno-r2.dts

index 53820fa79bab22f3e9f6f15fade627bff21225cf..334271a25f70b329d5aed75205ff46c02baabf62 100644 (file)
                };
        };
 
+       thermal-zones {
+               pmic {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&scpi_sensors0 0>;
+               };
+
+               soc {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&scpi_sensors0 3>;
+               };
+
+               big_cluster_thermal_zone: big_cluster {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&scpi_sensors0 21>;
+                       status = "disabled";
+               };
+
+               little_cluster_thermal_zone: little_cluster {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&scpi_sensors0 22>;
+                       status = "disabled";
+               };
+
+               gpu0_thermal_zone: gpu0 {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&scpi_sensors0 23>;
+                       status = "disabled";
+               };
+
+               gpu1_thermal_zone: gpu1 {
+                       polling-delay = <1000>;
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&scpi_sensors0 24>;
+                       status = "disabled";
+               };
+       };
+
        /include/ "juno-clocks.dtsi"
 
        dma@7ff00000 {
index f4f8f54f8b85941c3dbc835324d75364ee741a07..123a58b29cbdc13687f196339cc3d60c96512e8f 100644 (file)
 &etm5 {
        cpu = <&A53_3>;
 };
+
+&big_cluster_thermal_zone {
+       status = "okay";
+};
+
+&little_cluster_thermal_zone {
+       status = "okay";
+};
+
+&gpu0_thermal_zone {
+       status = "okay";
+};
+
+&gpu1_thermal_zone {
+       status = "okay";
+};
index d903e545b64c205aaf592f14649ee9c13e4600b4..007be826efcea9ef8c49a359c8d5a79ec7c738e9 100644 (file)
 &etm5 {
        cpu = <&A53_3>;
 };
+
+&big_cluster_thermal_zone {
+       status = "okay";
+};
+
+&little_cluster_thermal_zone {
+       status = "okay";
+};
+
+&gpu0_thermal_zone {
+       status = "okay";
+};
+
+&gpu1_thermal_zone {
+       status = "okay";
+};
This page took 0.027784 seconds and 5 git commands to generate.