ARM: dts: sun8i: nanopi-duo2: Fix GPIO regulator state array
authorMaxime Ripard <maxime@cerno.tech>
Thu, 19 Dec 2019 09:15:38 +0000 (10:15 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 20 Dec 2019 07:57:27 +0000 (08:57 +0100)
Even though it translates to the same thing down to the binary level, we
should have an array of 2 number cells to describe each voltage state,
which in turns create a validation warning.

Let's fix this.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts

index c73f599..6b14927 100644 (file)
@@ -60,8 +60,7 @@
                enable-gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
                gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
                gpios-states = <0x1>;
-               states = <1100000 0x0
-                         1300000 0x1>;
+               states = <1100000 0>, <1300000 1>;
        };
 
        reg_vcc_dram: vcc-dram {