ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
authorSamuel Holland <samuel@sholland.org>
Sat, 31 Dec 2022 22:58:54 +0000 (16:58 -0600)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Fri, 27 Jan 2023 21:34:32 +0000 (22:34 +0100)
The property named in the schema is 'enable-gpios', not 'enable-gpio'.
This makes no difference at runtime, because the regulator is marked as
always-on, but it breaks validation.

Fixes: 4701fc6e5dd9 ("ARM: dts: sun8i: add FriendlyARM NanoPi Duo2")
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221231225854.16320-2-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts

index 43641cb..343b02b 100644 (file)
@@ -57,7 +57,7 @@
                regulator-ramp-delay = <50>; /* 4ms */
 
                enable-active-high;
-               enable-gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
+               enable-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
                gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
                gpios-states = <0x1>;
                states = <1100000 0>, <1300000 1>;