mediatek: YunCore AX835: fix voltage regulator
authorLeon M. Busch-George <leon@georgemail.eu>
Sat, 2 Nov 2024 11:28:51 +0000 (12:28 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 4 Nov 2024 09:36:50 +0000 (10:36 +0100)
Specifying GPIO_ACTIVE_HIGH on the GPIO for the voltage regulator doesn't
suffice. The regulator itself requires enable-active-high to be set.

Fixes: #16292
Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
Link: https://github.com/openwrt/openwrt/pull/16839
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts

index b3ca5bfa2cffbc494604927dc54a8d088ab28ef5..54bb04353e14dd474ca1138c4771697135bebf55 100644 (file)
@@ -36,6 +36,7 @@
                regulator-name = "led_vbus";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
+               enable-active-high;
                regulator-always-on;
                gpio = <&pio 5 GPIO_ACTIVE_HIGH>;
        };