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)
commit203ed203fcc223d80737a7799f8244646363b739
treeb40a1b9f1a500445836dd4bbf51635efd3c7d7cc
parent8400291e289ee6b2bf9779ff1c83a291501f017b
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: 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