xref: /openbmc/linux/drivers/pinctrl/meson/Kconfig (revision 6671d0bc)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2277d14ebSJerome Brunetmenuconfig PINCTRL_MESON
39c65441eSKevin Hilman	tristate "Amlogic SoC pinctrl drivers"
4*6671d0bcSAndy Shevchenko	depends on ARCH_MESON || COMPILE_TEST
5277d14ebSJerome Brunet	depends on OF
69c65441eSKevin Hilman	default y
7277d14ebSJerome Brunet	select PINMUX
8277d14ebSJerome Brunet	select PINCONF
9277d14ebSJerome Brunet	select GENERIC_PINCONF
10277d14ebSJerome Brunet	select GPIOLIB
11277d14ebSJerome Brunet	select OF_GPIO
12277d14ebSJerome Brunet	select REGMAP_MMIO
13277d14ebSJerome Brunet
14277d14ebSJerome Brunetif PINCTRL_MESON
15277d14ebSJerome Brunet
16277d14ebSJerome Brunetconfig PINCTRL_MESON8
17277d14ebSJerome Brunet	bool "Meson 8 SoC pinctrl driver"
18277d14ebSJerome Brunet	depends on ARM
19ce385aa2SJerome Brunet	select PINCTRL_MESON8_PMX
20277d14ebSJerome Brunet	default y
21277d14ebSJerome Brunet
22277d14ebSJerome Brunetconfig PINCTRL_MESON8B
23277d14ebSJerome Brunet	bool "Meson 8b SoC pinctrl driver"
24277d14ebSJerome Brunet	depends on ARM
25ce385aa2SJerome Brunet	select PINCTRL_MESON8_PMX
26277d14ebSJerome Brunet	default y
27277d14ebSJerome Brunet
28277d14ebSJerome Brunetconfig PINCTRL_MESON_GXBB
299c65441eSKevin Hilman	tristate "Meson gxbb SoC pinctrl driver"
30277d14ebSJerome Brunet	depends on ARM64
31ce385aa2SJerome Brunet	select PINCTRL_MESON8_PMX
32277d14ebSJerome Brunet	default y
33277d14ebSJerome Brunet
34277d14ebSJerome Brunetconfig PINCTRL_MESON_GXL
359c65441eSKevin Hilman	tristate "Meson gxl SoC pinctrl driver"
36277d14ebSJerome Brunet	depends on ARM64
37ce385aa2SJerome Brunet	select PINCTRL_MESON8_PMX
38277d14ebSJerome Brunet	default y
39277d14ebSJerome Brunet
40ce385aa2SJerome Brunetconfig PINCTRL_MESON8_PMX
419c65441eSKevin Hilman	tristate
42ce385aa2SJerome Brunet
4383c56680SXingyu Chenconfig PINCTRL_MESON_AXG
449c65441eSKevin Hilman	tristate "Meson axg Soc pinctrl driver"
4583c56680SXingyu Chen	depends on ARM64
4683c56680SXingyu Chen	select PINCTRL_MESON_AXG_PMX
4783c56680SXingyu Chen	default y
4883c56680SXingyu Chen
490fabe43fSXingyu Chenconfig PINCTRL_MESON_AXG_PMX
509c65441eSKevin Hilman	tristate
510fabe43fSXingyu Chen
5229ae0952SYixun Lanconfig PINCTRL_MESON_G12A
539c65441eSKevin Hilman	tristate "Meson g12a Soc pinctrl driver"
5429ae0952SYixun Lan	depends on ARM64
5529ae0952SYixun Lan	select PINCTRL_MESON_AXG_PMX
5629ae0952SYixun Lan	default y
5729ae0952SYixun Lan
58dabad1ffSQianggui Songconfig PINCTRL_MESON_A1
599c65441eSKevin Hilman	tristate "Meson a1 Soc pinctrl driver"
60dabad1ffSQianggui Song	depends on ARM64
61dabad1ffSQianggui Song	select PINCTRL_MESON_AXG_PMX
62dabad1ffSQianggui Song	default y
63dabad1ffSQianggui Song
64775214d3SQianggui Songconfig PINCTRL_MESON_S4
65775214d3SQianggui Song	tristate "Meson s4 Soc pinctrl driver"
66775214d3SQianggui Song	depends on ARM64
67775214d3SQianggui Song	select PINCTRL_MESON_AXG_PMX
68775214d3SQianggui Song	default y
69775214d3SQianggui Song
70277d14ebSJerome Brunetendif
71