Re: [PATCH] arm64: dts: layerscape: fix thermal node names length

From: Shawn Guo
Date: Mon Aug 05 2024 - 04:24:00 EST


On Tue, Jul 02, 2024 at 04:54:17PM +0200, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>

Applied, thanks!