2021-05-10 19:23:21

by Johan Jonker

[permalink] [raw]
Subject: [PATCH] ARM: dts: rockchip: rename vcc_stdby node name for rk3066a-rayeager.dts

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 <[email protected]>
---
arch/arm/boot/dts/rk3066a-rayeager.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/rk3066a-rayeager.dts b/arch/arm/boot/dts/rk3066a-rayeager.dts
index 309518403..a73e8900c 100644
--- a/arch/arm/boot/dts/rk3066a-rayeager.dts
+++ b/arch/arm/boot/dts/rk3066a-rayeager.dts
@@ -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>;
--
2.11.0


2021-05-14 12:31:03

by Heiko Stübner

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: rockchip: rename vcc_stdby node name for rk3066a-rayeager.dts

On Mon, 10 May 2021 21:20:54 +0200, Johan Jonker wrote:
> 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]+'
>
> [...]

Applied, thanks!

[1/1] ARM: dts: rockchip: rename vcc_stdby node name for rk3066a-rayeager.dts
commit: 87cf20ccecb3e3c00605980ef0dba61398499bf6

Best regards,
--
Heiko Stuebner <[email protected]>