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