xref: /linux/drivers/pinctrl/Kconfig (revision 78bafc66180d42f972b443b0b573a1b6ff9aa522)
1#
2# PINCTRL infrastructure and drivers
3#
4
5config PINCTRL
6	bool
7
8if PINCTRL
9
10menu "Pin controllers"
11	depends on PINCTRL
12
13config PINMUX
14	bool "Support pin multiplexing controllers"
15
16config PINCONF
17	bool "Support pin configuration controllers"
18
19config GENERIC_PINCONF
20	bool
21	select PINCONF
22
23config DEBUG_PINCTRL
24	bool "Debug PINCTRL calls"
25	depends on DEBUG_KERNEL
26	help
27	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
28
29config PINCTRL_ABX500
30	bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
31	depends on AB8500_CORE
32	select GENERIC_PINCONF
33	help
34	  Select this to enable the ABx500 family IC GPIO driver
35
36config PINCTRL_AB8500
37	bool "AB8500 pin controller driver"
38	depends on PINCTRL_ABX500 && ARCH_U8500
39
40config PINCTRL_AB8540
41	bool "AB8540 pin controller driver"
42	depends on PINCTRL_ABX500 && ARCH_U8500
43
44config PINCTRL_AB9540
45	bool "AB9540 pin controller driver"
46	depends on PINCTRL_ABX500 && ARCH_U8500
47
48config PINCTRL_AB8505
49	bool "AB8505 pin controller driver"
50	depends on PINCTRL_ABX500 && ARCH_U8500
51
52config PINCTRL_AT91
53	bool "AT91 pinctrl driver"
54	depends on OF
55	depends on ARCH_AT91
56	select PINMUX
57	select PINCONF
58	help
59	  Say Y here to enable the at91 pinctrl driver
60
61config PINCTRL_BCM2835
62	bool
63	select PINMUX
64	select PINCONF
65
66config PINCTRL_IMX
67	bool
68	select PINMUX
69	select PINCONF
70
71config PINCTRL_IMX35
72	bool "IMX35 pinctrl driver"
73	depends on OF
74	depends on SOC_IMX35
75	select PINCTRL_IMX
76	help
77	  Say Y here to enable the imx35 pinctrl driver
78
79config PINCTRL_IMX51
80	bool "IMX51 pinctrl driver"
81	depends on OF
82	depends on SOC_IMX51
83	select PINCTRL_IMX
84	help
85	  Say Y here to enable the imx51 pinctrl driver
86
87config PINCTRL_IMX53
88	bool "IMX53 pinctrl driver"
89	depends on OF
90	depends on SOC_IMX53
91	select PINCTRL_IMX
92	help
93	  Say Y here to enable the imx53 pinctrl driver
94
95config PINCTRL_IMX6Q
96	bool "IMX6Q/DL pinctrl driver"
97	depends on OF
98	depends on SOC_IMX6Q
99	select PINCTRL_IMX
100	help
101	  Say Y here to enable the imx6q/dl pinctrl driver
102
103config PINCTRL_IMX6SL
104	bool "IMX6SL pinctrl driver"
105	depends on OF
106	depends on SOC_IMX6SL
107	select PINCTRL_IMX
108	help
109	  Say Y here to enable the imx6sl pinctrl driver
110
111config PINCTRL_VF610
112	bool "Freescale Vybrid VF610 pinctrl driver"
113	depends on OF
114	depends on SOC_VF610
115	select PINCTRL_IMX
116	help
117	  Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
118
119config PINCTRL_LANTIQ
120	bool
121	depends on LANTIQ
122	select PINMUX
123	select PINCONF
124
125config PINCTRL_FALCON
126	bool
127	depends on SOC_FALCON
128	depends on PINCTRL_LANTIQ
129
130config PINCTRL_MXS
131	bool
132	select PINMUX
133	select PINCONF
134
135config PINCTRL_IMX23
136	bool
137	select PINCTRL_MXS
138
139config PINCTRL_IMX28
140	bool
141	select PINCTRL_MXS
142
143config PINCTRL_NOMADIK
144	bool "Nomadik pin controller driver"
145	depends on ARCH_U8500 || ARCH_NOMADIK
146	select PINMUX
147	select PINCONF
148
149config PINCTRL_STN8815
150	bool "STN8815 pin controller driver"
151	depends on PINCTRL_NOMADIK && ARCH_NOMADIK
152
153config PINCTRL_DB8500
154	bool "DB8500 pin controller driver"
155	depends on PINCTRL_NOMADIK && ARCH_U8500
156
157config PINCTRL_DB8540
158	bool "DB8540 pin controller driver"
159	depends on PINCTRL_NOMADIK && ARCH_U8500
160
161config PINCTRL_SINGLE
162	tristate "One-register-per-pin type device tree based pinctrl driver"
163	depends on OF
164	select PINMUX
165	select PINCONF
166	select GENERIC_PINCONF
167	help
168	  This selects the device tree based generic pinctrl driver.
169
170config PINCTRL_SIRF
171	bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
172	depends on ARCH_SIRF
173	select PINMUX
174
175config PINCTRL_SUNXI
176	bool
177	select PINMUX
178	select GENERIC_PINCONF
179
180config PINCTRL_TEGRA
181	bool
182	select PINMUX
183	select PINCONF
184
185config PINCTRL_TEGRA20
186	bool
187	select PINCTRL_TEGRA
188
189config PINCTRL_TEGRA30
190	bool
191	select PINCTRL_TEGRA
192
193config PINCTRL_TEGRA114
194	bool
195	select PINCTRL_TEGRA
196
197config PINCTRL_U300
198	bool "U300 pin controller driver"
199	depends on ARCH_U300
200	select PINMUX
201	select GENERIC_PINCONF
202
203config PINCTRL_COH901
204	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
205	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
206	help
207	  Say yes here to support GPIO interface on ST-Ericsson U300.
208	  The names of the two IP block variants supported are
209	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
210	  ports of 8 GPIO pins each.
211
212config PINCTRL_SAMSUNG
213	bool
214	select PINMUX
215	select PINCONF
216
217config PINCTRL_EXYNOS
218	bool "Pinctrl driver data for Samsung EXYNOS SoCs"
219	depends on OF && GPIOLIB
220	select PINCTRL_SAMSUNG
221
222config PINCTRL_EXYNOS5440
223	bool "Samsung EXYNOS5440 SoC pinctrl driver"
224	select PINMUX
225	select PINCONF
226
227config PINCTRL_S3C64XX
228	bool "Samsung S3C64XX SoC pinctrl driver"
229	depends on ARCH_S3C64XX
230	select PINCTRL_SAMSUNG
231
232source "drivers/pinctrl/mvebu/Kconfig"
233source "drivers/pinctrl/sh-pfc/Kconfig"
234source "drivers/pinctrl/spear/Kconfig"
235source "drivers/pinctrl/vt8500/Kconfig"
236
237config PINCTRL_XWAY
238	bool
239	depends on SOC_TYPE_XWAY
240	depends on PINCTRL_LANTIQ
241
242endmenu
243
244endif
245