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>
Sun, 3 Nov 2024 20:40:53 +0000 (21:40 +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 5f98e6178aedff2e363944e36d045e63776b02ae..b5de1c34b4457e241a286c74484bb8db38be252d 100644 (file)
@@ -35,6 +35,7 @@
                regulator-name = "led_vbus";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
+               enable-active-high;
                regulator-always-on;
                gpios = <&pio 5 GPIO_ACTIVE_HIGH>;
        };