From: Maxime Ripard Date: Thu, 19 Dec 2019 09:15:38 +0000 (+0100) Subject: ARM: dts: sun8i: nanopi-duo2: Fix GPIO regulator state array X-Git-Tag: v5.6-rc1~19^2~23^2~24 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7309386df5500230abe066d338761106a93ae7af;p=users%2Fjedix%2Flinux-maple.git ARM: dts: sun8i: nanopi-duo2: Fix GPIO regulator state array 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 Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts index c73f59900975b..6b149271ef13f 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts @@ -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 {