arm64: dts: qcom: sc7180: Add labels for cpuN-thermal nodes
authorMatthias Kaehlcke <mka@chromium.org>
Fri, 8 Jan 2021 22:16:50 +0000 (14:16 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Jan 2021 14:29:21 +0000 (08:29 -0600)
Add labels to the cpuN-thermal nodes to allow board files to use
a phandle instead replicating the node hierarchy when adjusting
certain properties.

Due to the 'sustainable-power' property CPU thermal zones are
more likely to need property updates than other SC7180 zones,
hence only labels for CPU zones are added for now.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20210108141648.1.Ia8019b8b303ca31a06752ed6ceb5c3ac50bd1d48@changeid
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 268fa40..2bd06be 100644 (file)
        };
 
        thermal-zones {
-               cpu0-thermal {
+               cpu0_thermal: cpu0-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu1-thermal {
+               cpu1_thermal: cpu1-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu2-thermal {
+               cpu2_thermal: cpu2-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu3-thermal {
+               cpu3_thermal: cpu3-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu4-thermal {
+               cpu4_thermal: cpu4-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu5-thermal {
+               cpu5_thermal: cpu5-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu6-thermal {
+               cpu6_thermal: cpu6-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu7-thermal {
+               cpu7_thermal: cpu7-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu8-thermal {
+               cpu8_thermal: cpu8-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;
 
                        };
                };
 
-               cpu9-thermal {
+               cpu9_thermal: cpu9-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <0>;