ramips: pinctrl: support requesting different functions for same group
authorShiji Yang <yangshiji66@qq.com>
Sat, 29 Jul 2023 13:24:10 +0000 (21:24 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 4 Sep 2023 22:00:35 +0000 (23:00 +0100)
commit9df91263204b8a9a4c506fd75e06b83236fdc56e
treeab29105bcf550b3e02a2aa08f3a3276993cce7a3
parent4f1a7e88970d8a38071632c245a18f3959428c13
ramips: pinctrl: support requesting different functions for same group

MT7620 wireless radio needs change the pin group function between
"gpio" and "pa" during the calibration process. However, ralink
pinctrl driver doesn't support requesting different functions for
the same group. This patch enables pinctrl consumers to perform
such operations.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit b4ea49ad442d2884d0b86009f404f125635c4153)
target/linux/ramips/patches-5.15/808-pinctrl-mtmips-support-requesting-different-function.patch [new file with mode: 0644]