[openwrt/openwrt] mediatek: drop pwm7_pins from Buffalo WSR-2533DHP2

LEDE Commits lede-commits at lists.infradead.org
Sun Sep 24 09:43:55 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/4d9113017b2d401e821fb008518cdd660dafb8a3

commit 4d9113017b2d401e821fb008518cdd660dafb8a3
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Sun Aug 27 23:26:01 2023 +0900

    mediatek: drop pwm7_pins from Buffalo WSR-2533DHP2
    
    MediaTek MT7622 doesn't support ch7 of PWM and pinctrl groups were dropped from
    driver source[0]. So pwm7-related groups are unavailable now, then, kernel shows a
    warning.
    
    [    0.370264] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
    
    Drop that pinmux from pinctrl node.
    
    [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/pinctrl/mediatek/pinctrl-mt7622.c?id=57972641810a97566ffd13e4be3f6a66d61eb3b5
    
    Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
 target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
index f8990b25cf..8b0dc1aa98 100644
--- a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
+++ b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
@@ -193,13 +193,6 @@
 		};
 	};
 
-	pwm7_pins: pwm1-2-pins {
-		mux {
-			function = "pwm";
-			groups = "pwm_ch7_2";
-		};
-	};
-
 	uart0_pins: uart0-pins {
 		mux {
 			function = "uart";
@@ -330,8 +323,6 @@
 };
 
 &pwm {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pwm7_pins>;
 	status = "okay";
 };
 




More information about the lede-commits mailing list