]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: rockchip: rename thermal subnodes for rk3399
authorJohan Jonker <jbx6244@gmail.com>
Sun, 17 Jan 2021 15:09:53 +0000 (16:09 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 Jan 2021 12:24:11 +0000 (13:24 +0100)
A test with the command below gives for example this error:
/arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml:
thermal-zones: 'cpu', 'gpu' do not match any of the regexes:
'^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+'

Rename Rockchip rk3399 thermal subnodes so that it ends
with "-thermal"

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/
thermal/thermal-zones.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20210117150953.16475-3-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index c88295782e7b482664a7f6ed46c2f64ba57a143d..b207740819ef7de9aad5a1b291d21dc2b6bd583a 100644 (file)
 };
 
 &thermal_zones {
-       cpu_thermal: cpu {
+       cpu_thermal: cpu-thermal {
                polling-delay-passive = <100>;
                polling-delay = <1000>;
                thermal-sensors = <&tsadc 0>;
index cd9fbd3cfcaf332d457d43e9792bb7431b08be34..4983dd18b4d8d22c8a1f4dd811db34160190e093 100644 (file)
        };
 
        thermal_zones: thermal-zones {
-               cpu_thermal: cpu {
+               cpu_thermal: cpu-thermal {
                        polling-delay-passive = <100>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               gpu_thermal: gpu {
+               gpu_thermal: gpu-thermal {
                        polling-delay-passive = <100>;
                        polling-delay = <1000>;