diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-01-14 12:35:30 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-01-31 19:49:18 +0100 |
commit | 90c3047426fb42c6a6161cc065b05c630f71f7d1 (patch) | |
tree | bdc63e890183c11462188830ccb195827c6cb8ce /arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts | |
parent | f8919782d9e3967bc3779fa98df0e9d35e12f8ef (diff) | |
download | linux-90c3047426fb42c6a6161cc065b05c630f71f7d1.tar.gz |
ARM: dts: sun8i: nanopi-r1: 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.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20210114113538.1233933-11-maxime@cerno.tech
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts index 204a39f93f4e..26e2e6172e0d 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts +++ b/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts @@ -39,8 +39,8 @@ regulator-ramp-delay = <50>; gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ gpios-states = <0x1>; - states = <1100000 0x0 - 1300000 0x1>; + states = <1100000 0x0>, + <1300000 0x1>; }; wifi_pwrseq: wifi_pwrseq { |