xref: /linux/drivers/pinctrl/airoha/Kconfig (revision cf9610f9116d55c5a66ef9f1faecacabd93a9322)
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_AN7563
17	imply PINCTRL_AIROHA_AN7581
18	imply PINCTRL_AIROHA_AN7583
19	imply PINCTRL_AIROHA_EN7523
20	help
21	  Shared pin controller and gpio driver code for different
22	  Airoha SoCs.
23
24config PINCTRL_AIROHA_AN7563
25	tristate "AN7563 pinctrl"
26	depends on ARM64 || COMPILE_TEST
27	depends on PINCTRL_AIROHA
28	help
29	  Say yes here to support pin controller and gpio driver
30	  on Airoha AN7563 and other compatible SoCs.
31
32config PINCTRL_AIROHA_AN7581
33	tristate "AN7581 pinctrl"
34	depends on ARM64 || COMPILE_TEST
35	depends on PINCTRL_AIROHA
36	help
37	  Say yes here to support pin controller and gpio driver
38	  on Airoha AN7581, AN7566, AN7551 and other compatible SoCs.
39
40config PINCTRL_AIROHA_AN7583
41	tristate "AN7583 pinctrl"
42	depends on ARM64 || COMPILE_TEST
43	depends on PINCTRL_AIROHA
44	help
45	  Say yes here to support pin controller and gpio driver
46	  on Airoha AN7583, AN7553, AN7567 and other compatible SoCs.
47
48config PINCTRL_AIROHA_EN7523
49	tristate "EN7523 pinctrl"
50	depends on ARM || COMPILE_TEST
51	depends on PINCTRL_AIROHA
52	help
53	  Say yes here to support pin controller and gpio driver
54	  on Airoha EN7523, EN7529, EN7562 and other compatible SoCs.
55
56endmenu
57