]> Gentwo Git Trees - linux/.git/commitdiff
arm64: dts: layerscape: fix thermal node names length
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 2 Jul 2024 14:54:17 +0000 (16:54 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 5 Aug 2024 08:19:57 +0000 (16:19 +0800)
Linux kernel expects thermal zone node names to be maximum of 19
characters (see THERMAL_NAME_LENGTH, including terminating NUL byte) and
bindings/dtbs_check points that:

  fsl-ls2088a-rdb.dtb: thermal-zones: 'core-cluster1-thermal', 'core-cluster2-thermal', 'core-cluster3-thermal', 'core-cluster4-thermal'
    do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,10}-thermal$', 'pinctrl-[0-9]+'

Name longer than 19 characters leads to driver probe errors when
registering such thermal zone.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

index 6b6e3ee950e538ea7b2b13514534cded7856cfc2..acf293310f7a099614c0339ff2a3cf3eae93e453 100644 (file)
@@ -175,7 +175,7 @@ ddr-ctrler-crit {
                        };
                };
 
-               core-cluster-thermal {
+               cluster-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 1>;
index 17f4e3171120959c13bc385de733503c92b7bcae..ab4c919e3e1659b38d799211e59008bd9c0ce833 100644 (file)
@@ -214,7 +214,7 @@ fman-crit {
                        };
                };
 
-               core-cluster-thermal {
+               cluster-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 3>;
index 200e52622f9981a61a3f4f899d04b769aac3b4b3..55019866d6a25b3369eb8a3761032176c0e57088 100644 (file)
@@ -182,7 +182,7 @@ fman-crit {
                        };
                };
 
-               core-cluster-thermal {
+               cluster-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 3>;
index 8ce4b6aae79d47a2f20809b09648c395cfb399e2..e3a7db21fe29a30b529950c9a121bf9362be8819 100644 (file)
@@ -131,7 +131,7 @@ its: msi-controller@6020000 {
        };
 
        thermal-zones {
-               core-cluster-thermal {
+               cluster-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 0>;
index bde89de2576e165796b65663710dfa7773ad63e2..1b306d6802ce3dc30c121c062a7a9936f21de361 100644 (file)
@@ -122,7 +122,7 @@ ddr-ctrler3-crit {
                        };
                };
 
-               core-cluster1-thermal {
+               cluster1-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 4>;
@@ -151,7 +151,7 @@ map0 {
                        };
                };
 
-               core-cluster2-thermal {
+               cluster2-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 5>;
@@ -180,7 +180,7 @@ map0 {
                        };
                };
 
-               core-cluster3-thermal {
+               cluster3-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 6>;
@@ -209,7 +209,7 @@ map0 {
                        };
                };
 
-               core-cluster4-thermal {
+               cluster4-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 7>;
index 26c7ca31e22e7b8a341a42f2e32561484f6e828a..bd75a658767ddf9fb52cb0ae511cc391bd376873 100644 (file)
@@ -492,7 +492,7 @@ map0 {
                        };
                };
 
-               ddr-cluster5-thermal {
+               ddr-ctrl5-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <5000>;
                        thermal-sensors = <&tmu 1>;