mediatek: pinctrl-mt7988: add missing PWM pingroups
authorDaniel Golle <daniel@makrotopia.org>
Sat, 2 Nov 2024 20:01:05 +0000 (20:01 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 2 Nov 2024 22:37:34 +0000 (22:37 +0000)
commit2cbd230091c99ba68ac1888d3b37fc6ca56fbb75
treea77d76ffe7c6f4d44a4cd4e23b38841947cb25aa
parent5745b7e81579183d0c3e270ac155eb853677169c
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