]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc/mpc85xx: Update TMU device tree node for T1023/T1024
authorHongtao Jia <hongtao.jia@nxp.com>
Wed, 4 Jan 2017 08:57:51 +0000 (16:57 +0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 22 Feb 2017 07:29:30 +0000 (15:29 +0800)
Update #thermal-sensor-cells from 0 to 1 according to the new binding. The
sensor specifier added is the monitoring site ID, and represents the "n" in
TRITSRn and TRATSRn.

Signed-off-by: Jia Hongtao <hongtao.jia@nxp.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
arch/powerpc/boot/dts/fsl/t1023si-post.dtsi

index da2894c594790e347b4126cd8fc6d95842cd9a70..4908af5010983c2af7df21020d18a9e9c2e2ffb7 100644 (file)
@@ -422,7 +422,7 @@ tmu: tmu@f0000 {
                                       0x00030001 0x0000000d
                                       0x00030002 0x00000019
                                       0x00030003 0x00000024>;
-               #thermal-sensor-cells = <0>;
+               #thermal-sensor-cells = <1>;
        };
 
        thermal-zones {
@@ -430,7 +430,7 @@ cpu_thermal: cpu-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
 
-                       thermal-sensors = <&tmu>;
+                       thermal-sensors = <&tmu 0>;
 
                        trips {
                                cpu_alert: cpu-alert {