[openwrt/openwrt] mediatek: use dt-bindings drive strength macros for ipTIME AX7800M-6E

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 23 13:33:55 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2c667f2df4dac12386c7081f68cf02d7f95a9faa

commit 2c667f2df4dac12386c7081f68cf02d7f95a9faa
Author: Donghyun Ko <nyankosoftware at gmail.com>
AuthorDate: Sun Nov 23 19:01:21 2025 +0900

    mediatek: use dt-bindings drive strength macros for ipTIME AX7800M-6E
    
    Replace hardcoded numbers with the dt-bindings drive strength macros
    defined in "dt-bindings/pinctrl/mt65xx.h".
    
    Signed-off-by: Donghyun Ko <nyankosoftware at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/20894
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts b/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts
index 72b96caca3..59ac770cfc 100644
--- a/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts
+++ b/target/linux/mediatek/dts/mt7986a-iptime-ax7800m-6e.dts
@@ -149,7 +149,7 @@
 				   "WF1_HB2", "WF1_HB3", "WF1_HB4", "WF1_HB0",
 				   "WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8",
 				   "WF1_TOP_CLK", "WF1_TOP_DATA";
-			drive-strength = <4>;
+			drive-strength = <MTK_DRIVE_4mA>;
 		};
 	};
 
@@ -166,7 +166,7 @@
 				   "WF1_HB2", "WF1_HB3", "WF1_HB4", "WF1_HB0",
 				   "WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8",
 				   "WF1_TOP_CLK", "WF1_TOP_DATA";
-			drive-strength = <4>;
+			drive-strength = <MTK_DRIVE_4mA>;
 		};
 	};
 };




More information about the lede-commits mailing list