mediatek: drop pwm7_pins from Buffalo WSR-2533DHP2
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sun, 27 Aug 2023 14:26:01 +0000 (23:26 +0900)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 27 Feb 2024 17:42:30 +0000 (17:42 +0000)
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@gmail.com>
(cherry picked from commit 4d9113017b2d401e821fb008518cdd660dafb8a3)

target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts

index f8990b25cf48eba2a237277d00272ee577a2811e..8b0dc1aa98dfbba06d8ca63e5f6ca38a49210f50 100644 (file)
                };
        };
 
-       pwm7_pins: pwm1-2-pins {
-               mux {
-                       function = "pwm";
-                       groups = "pwm_ch7_2";
-               };
-       };
-
        uart0_pins: uart0-pins {
                mux {
                        function = "uart";
 };
 
 &pwm {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pwm7_pins>;
        status = "okay";
 };