arm64: dts: rockchip: fix defines in pd_vio node for rk3399
authorJohan Jonker <jbx6244@gmail.com>
Tue, 28 Apr 2020 20:30:02 +0000 (22:30 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 May 2020 22:10:10 +0000 (00:10 +0200)
commit84836ded76ec9a6f25d1d0acebaad44977e0ec6f
treec5c1c4c010ad9950e326d3acd0120eeb7247d3ed
parent302a729c84b59c835f7857ec378efecbda58b9b3
arm64: dts: rockchip: fix defines in pd_vio node for rk3399

A test with the command below gives for example this error:

arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: pd_vio@15:
'pd_tcpc0@RK3399_PD_TCPC0', 'pd_tcpc1@RK3399_PD_TCPC1'
do 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]+'

Fix error by replacing the wrong defines by the ones
mentioned in 'rk3399-power.h'.

make -k ARCH=arm64 dtbs_check

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