[openwrt/openwrt] mediatek: YunCore AX835: fix voltage regulator

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 3 12:40:57 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d64e1ed4214ebcc845389979be18f3cdc19bc08a

commit d64e1ed4214ebcc845389979be18f3cdc19bc08a
Author: Leon M. Busch-George <leon at georgemail.eu>
AuthorDate: Sat Nov 2 12:28:51 2024 +0100

    mediatek: YunCore AX835: fix voltage regulator
    
    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 at georgemail.eu>
    Link: https://github.com/openwrt/openwrt/pull/16839
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts b/target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
index 5f98e6178a..b5de1c34b4 100644
--- a/target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
+++ b/target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
@@ -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>;
 	};




More information about the lede-commits mailing list