ARM: dts: rockchip: rename thermal subnodes for rk3288
authorJohan Jonker <jbx6244@gmail.com>
Sun, 17 Jan 2021 15:09:51 +0000 (16:09 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 Jan 2021 12:22:00 +0000 (13:22 +0100)
A test with the command below gives for example this error:
/arch/arm/boot/dts/rk3288-tinker.dt.yaml:
thermal-zones: 'cpu_thermal', 'gpu_thermal', 'reserve_thermal'
do not match any of the regexes:
'^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+'

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

make ARCH=arm 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-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288.dtsi

index 01ea1f1..29ffe2e 100644 (file)
        };
 
        thermal-zones {
-               reserve_thermal: reserve_thermal {
+               reserve_thermal: reserve-thermal {
                        polling-delay-passive = <1000>; /* milliseconds */
                        polling-delay = <5000>; /* milliseconds */
 
                        thermal-sensors = <&tsadc 0>;
                };
 
-               cpu_thermal: cpu_thermal {
+               cpu_thermal: cpu-thermal {
                        polling-delay-passive = <100>; /* milliseconds */
                        polling-delay = <5000>; /* milliseconds */
 
                        };
                };
 
-               gpu_thermal: gpu_thermal {
+               gpu_thermal: gpu-thermal {
                        polling-delay-passive = <100>; /* milliseconds */
                        polling-delay = <5000>; /* milliseconds */