]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mediatek: align thermal zone node names with dtschema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 19 Apr 2022 10:05:20 +0000 (12:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:36:47 +0000 (18:36 +0100)
[ Upstream commit 624f1806a7c3f8061641a1f3e7c0dfa73e82fb10 ]

Align the name of thermal zone node to dtschema to fix warnings like:

  arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml:
    thermal-zones: 'cpu_thermal' does not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20210820081616.83674-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Stable-dep-of: 5a60d6343969 ("arm64: dts: mediatek: mt8183: Move thermal-zones to the root node")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/mediatek/mt8173.dtsi
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index d9e005ae5bb09bbd9679e3769b5ad5f35a726b1e..c71a5155702d2cd518a495b4ca74640215467665 100644 (file)
        };
 
        thermal-zones {
-               cpu_thermal: cpu_thermal {
+               cpu_thermal: cpu-thermal {
                        polling-delay-passive = <1000>; /* milliseconds */
                        polling-delay = <1000>; /* milliseconds */
 
index 81fde34ffd52a782e88ceab345789a7bae6130b2..ac05284cce86781cb324091d77a42f19f3f249e7 100644 (file)
                };
 
                thermal_zones: thermal-zones {
-                       cpu_thermal: cpu_thermal {
+                       cpu_thermal: cpu-thermal {
                                polling-delay-passive = <100>;
                                polling-delay = <500>;
                                thermal-sensors = <&thermal 0>;