ARM: dts: rockchip: rename vcc_stdby node name for rk3066a-rayeager.dts
authorJohan Jonker <jbx6244@gmail.com>
Mon, 10 May 2021 19:20:54 +0000 (21:20 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 May 2021 12:28:05 +0000 (14:28 +0200)
A test with the command below gives this error:

/arch/arm/boot/dts/rk3066a-rayeager.dt.yaml:
/: '5v-stdby-regulator' does not match any of the regexes:
'.*-names$',
'.*-supply$',
'^#.*-cells$',
'^#[a-zA-Z0-9,+\\-._]{0,63}$',
'^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}$',
'^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+(,[0-9a-fA-F]+)*$',
'^__.*__$',
'pinctrl-[0-9]+'

A node name shouldn't start with a number,
so change it to 'stdby-regulator'.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema
/schemas/dt-core.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20210510192054.8876-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3066a-rayeager.dts

index 309518403d86ab6f70c5d9a440e8d6f57c280119..a73e8900c924101552b6181352ef08588efe3a6b 100644 (file)
@@ -58,7 +58,7 @@
        };
 
        /* input for 5V_STDBY is VSYS or DC5V, selectable by jumper J4 */
-       vcc_stdby: 5v-stdby-regulator {
+       vcc_stdby: stdby-regulator {
                compatible = "regulator-fixed";
                regulator-name = "5v_stdby";
                regulator-min-microvolt = <5000000>;