]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: airoha: generalize pins/group/function/confs handling
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 6 Nov 2025 23:57:04 +0000 (00:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Nov 2025 23:40:49 +0000 (00:40 +0100)
commit4043b0c45f8555a079bdac69a19ed08695a47a7b
tree8a712aded56f476899297e75eec5fd07a22db247
parent9322da935c9a2db2b81a9660f650e48423ebf34d
pinctrl: airoha: generalize pins/group/function/confs handling

In preparation for support of Airoha AN7583, generalize
pins/group/function/confs handling and move them in match_data.
Inner function will base the values on the pinctrl priv struct instead of
relying on hardcoded struct.

This permits to use different PIN data while keeping the same logic.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-airoha.c