1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig PINCTRL_MESON
3	tristate "Amlogic SoC pinctrl drivers"
4	depends on ARCH_MESON
5	depends on OF
6	default y
7	select PINMUX
8	select PINCONF
9	select GENERIC_PINCONF
10	select GPIOLIB
11	select OF_GPIO
12	select REGMAP_MMIO
13
14if PINCTRL_MESON
15
16config PINCTRL_MESON8
17	bool "Meson 8 SoC pinctrl driver"
18	depends on ARM
19	select PINCTRL_MESON8_PMX
20	default y
21
22config PINCTRL_MESON8B
23	bool "Meson 8b SoC pinctrl driver"
24	depends on ARM
25	select PINCTRL_MESON8_PMX
26	default y
27
28config PINCTRL_MESON_GXBB
29	tristate "Meson gxbb SoC pinctrl driver"
30	depends on ARM64
31	select PINCTRL_MESON8_PMX
32	default y
33
34config PINCTRL_MESON_GXL
35	tristate "Meson gxl SoC pinctrl driver"
36	depends on ARM64
37	select PINCTRL_MESON8_PMX
38	default y
39
40config PINCTRL_MESON8_PMX
41	tristate
42
43config PINCTRL_MESON_AXG
44	tristate "Meson axg Soc pinctrl driver"
45	depends on ARM64
46	select PINCTRL_MESON_AXG_PMX
47	default y
48
49config PINCTRL_MESON_AXG_PMX
50	tristate
51
52config PINCTRL_MESON_G12A
53	tristate "Meson g12a Soc pinctrl driver"
54	depends on ARM64
55	select PINCTRL_MESON_AXG_PMX
56	default y
57
58config PINCTRL_MESON_A1
59	tristate "Meson a1 Soc pinctrl driver"
60	depends on ARM64
61	select PINCTRL_MESON_AXG_PMX
62	default y
63
64endif
65