Commit 203ed203 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Shawn Guo
Browse files

arm64: dts: layerscape: fix thermal node names length



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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 8400291e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ ddr-ctrler-crit {
			};
		};

		core-cluster-thermal {
		cluster-thermal {
			polling-delay-passive = <1000>;
			polling-delay = <5000>;
			thermal-sensors = <&tmu 1>;
+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ fman-crit {
			};
		};

		core-cluster-thermal {
		cluster-thermal {
			polling-delay-passive = <1000>;
			polling-delay = <5000>;
			thermal-sensors = <&tmu 3>;
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ fman-crit {
			};
		};

		core-cluster-thermal {
		cluster-thermal {
			polling-delay-passive = <1000>;
			polling-delay = <5000>;
			thermal-sensors = <&tmu 3>;
+1 −1
Original line number Diff line number Diff line
@@ -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>;
+4 −4
Original line number Diff line number Diff line
@@ -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>;
Loading