aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2021-05-10 23:58:40 +0200
committerHeiko Stuebner <heiko@sntech.de>2021-05-14 14:11:53 +0200
commitb82f8e2992534aab0fa762a37376be30df263701 (patch)
tree563378ac90ca0ca9550d3007b2b8b1d3bc385be5 /arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
parentarm64: dts: rockchip: add #power-domain-cells to power domain nodes (diff)
downloadlinux-dev-b82f8e2992534aab0fa762a37376be30df263701.tar.xz
linux-dev-b82f8e2992534aab0fa762a37376be30df263701.zip
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>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
index 3dddd4742c3a..665b2e69455d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts
@@ -84,8 +84,8 @@
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_HIGH>;
- states = <1800000 0x0
- 3300000 0x1>;
+ states = <1800000 0x0>,
+ <3300000 0x1>;
vin-supply = <&vcc5v0_sys>;
};