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

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 4 01:36:53 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/0d428857d5014b49b827aec13103947e0d3bf23f

commit 0d428857d5014b49b827aec13103947e0d3bf23f
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 b3ca5bfa2c..54bb04353e 100644
--- a/target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
+++ b/target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
@@ -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>;
 	};




More information about the lede-commits mailing list