arm64: dts: rockchip: fix regulator-gpio states array
authorJohan Jonker <jbx6244@gmail.com>
Mon, 10 May 2021 21:58:40 +0000 (23:58 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 14 May 2021 12:11:53 +0000 (14:11 +0200)
commitb82f8e2992534aab0fa762a37376be30df263701
tree563378ac90ca0ca9550d3007b2b8b1d3bc385be5
parent837188d49823230f47afdbbec7556740e89a8557
arm64: dts: rockchip: fix regulator-gpio states array

A test with the command below gives this error:

/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dt.yaml:
sdmmcio-regulator: states:0:
[1800000, 1, 3300000, 0] is too long

dtbs_check expects regulator-gpio states in a format
of 2 per item, so fix them all.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/
regulator/gpio-regulator.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20210510215840.16270-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet.dtsi
arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi