xref: /linux/drivers/pinctrl/airoha/Kconfig (revision 900b49e603f267ecdd1e8d22b48a0eec5cc56775)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Airoha pinctrl drivers"
3	depends on ARCH_AIROHA || COMPILE_TEST
4
5config PINCTRL_AIROHA
6	tristate "Airoha pin control"
7	depends on OF
8	depends on ARCH_AIROHA || COMPILE_TEST
9	select PINMUX
10	select GENERIC_PINCONF
11	select GENERIC_PINCTRL_GROUPS
12	select GENERIC_PINMUX_FUNCTIONS
13	select GPIOLIB
14	select GPIOLIB_IRQCHIP
15	select REGMAP_MMIO
16	imply PINCTRL_AIROHA_AN7581
17	imply PINCTRL_AIROHA_AN7583
18	help
19	  Shared pin controller and gpio driver code for different
20	  Airoha SoCs.
21
22config PINCTRL_AIROHA_AN7581
23	tristate "AN7581 pinctrl"
24	depends on ARM64 || COMPILE_TEST
25	depends on PINCTRL_AIROHA
26	help
27	  Say yes here to support pin controller and gpio driver
28	  on Airoha AN7581, AN7566, AN7551 and other compatible SoCs.
29
30config PINCTRL_AIROHA_AN7583
31	tristate "AN7583 pinctrl"
32	depends on ARM64 || COMPILE_TEST
33	depends on PINCTRL_AIROHA
34	help
35	  Say yes here to support pin controller and gpio driver
36	  on Airoha AN7583, AN7553, AN7567 and other compatible SoCs.
37
38endmenu
39