]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: meson: support amlogic S6/S7/S7D SoC
authorXianwei Zhao <xianwei.zhao@amlogic.com>
Tue, 27 May 2025 05:23:30 +0000 (13:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Jun 2025 12:10:45 +0000 (14:10 +0200)
commit1f8e5dfddaa794c97a80b2a9952be368d8fdee6e
treefc13ac2dc9fa36872d6e23b91ee0637451c13b9b
parentcfdedf7392e16f7c077b02ec13961a1b28e4f0a7
pinctrl: meson: support amlogic S6/S7/S7D SoC

In some Amlogic SoCs, to save register space or due to some
abnormal arrangements, two sets of pins share one mux register.

A group starting from pin0 is the main pin group, which acquires
the register address through DTS and has management permissions,
but the register bit offset is undetermined.

Another GPIO group as a subordinate group. Some pins mux use share
register and bit offset from bit0 . But this group do not have
register management permissions.

This submission implements this situation.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/20250527-s6-s7-pinctrl-v3-3-44f6a0451519@amlogic.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-amlogic-a4.c