Skip to content

Commit ea90ca1

Browse files
Huqiang QinLinus Walleij
authored andcommitted
pinctrl: Add driver support for Amlogic C3 SoCs
Add a new pinctrl driver for Amlogic C3 SoCs which share the same register layout as the previous Amlogic S4. Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com> Link: https://lore.kernel.org/r/20230714122441.3098337-3-huqiang.qin@amlogic.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent e55ef16 commit ea90ca1

3 files changed

Lines changed: 1115 additions & 0 deletions

File tree

drivers/pinctrl/meson/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,10 @@ config PINCTRL_MESON_S4
6767
select PINCTRL_MESON_AXG_PMX
6868
default y
6969

70+
config PINCTRL_AMLOGIC_C3
71+
tristate "Amlogic C3 SoC pinctrl driver"
72+
depends on ARM64
73+
select PINCTRL_MESON_AXG_PMX
74+
default y
75+
7076
endif

drivers/pinctrl/meson/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ obj-$(CONFIG_PINCTRL_MESON_AXG) += pinctrl-meson-axg.o
1010
obj-$(CONFIG_PINCTRL_MESON_G12A) += pinctrl-meson-g12a.o
1111
obj-$(CONFIG_PINCTRL_MESON_A1) += pinctrl-meson-a1.o
1212
obj-$(CONFIG_PINCTRL_MESON_S4) += pinctrl-meson-s4.o
13+
obj-$(CONFIG_PINCTRL_AMLOGIC_C3) += pinctrl-amlogic-c3.o

0 commit comments

Comments
 (0)