mediatek: pinctrl-mt7988: add missing PWM pingroups
authorDaniel Golle <daniel@makrotopia.org>
Sat, 2 Nov 2024 20:01:05 +0000 (20:01 +0000)
committerJohn Crispin <john@phrozen.org>
Tue, 5 Nov 2024 12:30:21 +0000 (13:30 +0100)
commit4b4e307a013abcc4977a93c8118e4309f08e3d88
tree95b638eb70558ab2977b6327771760d4c030fc72
parentde3dfe57148367f2a580b45680b8495ee75960c6
mediatek: pinctrl-mt7988: add missing PWM pingroups

Add additionals possible pinctrl group for pwm2~7 on pins
pin  4 (GPIO_A)        pwm7
pin 58 (JTAG_JTDI)     pwm2
pin 59 (JTAG_JTDO)     pwm3
pin 60 (JTAG_JTMS)     pwm4
pin 61 (JTAG_JTCLK)    pwm5
pin 62 (JTAG_JTRST_N)  pwm6

They can be useful e.g. on the BPi-R4 as in that way pwm2~6 can be exposed
on the 26-pin header (pwm6 always, pwm2~5 instead of the full UART).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/files-6.6/drivers/pinctrl/mediatek/pinctrl-mt7988.c