xref: /linux/drivers/pinctrl/Kconfig (revision 09dbec3f74b51af614f239d3374fd7c7752c9990)
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_AB9540
41	bool "AB9540 pin controller driver"
42	depends on PINCTRL_ABX500 && ARCH_U8500
43
44config PINCTRL_AB8505
45	bool "AB8505 pin controller driver"
46	depends on PINCTRL_ABX500 && ARCH_U8500
47
48config PINCTRL_AT91
49	bool "AT91 pinctrl driver"
50	depends on OF
51	depends on ARCH_AT91
52	select PINMUX
53	select PINCONF
54	help
55	  Say Y here to enable the at91 pinctrl driver
56
57config PINCTRL_BCM2835
58	bool
59	select PINMUX
60	select PINCONF
61
62config PINCTRL_IMX
63	bool
64	select PINMUX
65	select PINCONF
66
67config PINCTRL_IMX35
68	bool "IMX35 pinctrl driver"
69	depends on OF
70	depends on SOC_IMX35
71	select PINCTRL_IMX
72	help
73	  Say Y here to enable the imx35 pinctrl driver
74
75config PINCTRL_IMX51
76	bool "IMX51 pinctrl driver"
77	depends on OF
78	depends on SOC_IMX51
79	select PINCTRL_IMX
80	help
81	  Say Y here to enable the imx51 pinctrl driver
82
83config PINCTRL_IMX53
84	bool "IMX53 pinctrl driver"
85	depends on OF
86	depends on SOC_IMX53
87	select PINCTRL_IMX
88	help
89	  Say Y here to enable the imx53 pinctrl driver
90
91config PINCTRL_IMX6Q
92	bool "IMX6Q pinctrl driver"
93	depends on OF
94	depends on SOC_IMX6Q
95	select PINCTRL_IMX
96	help
97	  Say Y here to enable the imx6q pinctrl driver
98
99config PINCTRL_LANTIQ
100	bool
101	depends on LANTIQ
102	select PINMUX
103	select PINCONF
104
105config PINCTRL_PXA3xx
106	bool
107	select PINMUX
108
109config PINCTRL_FALCON
110	bool
111	depends on SOC_FALCON
112	depends on PINCTRL_LANTIQ
113
114config PINCTRL_MMP2
115	bool "MMP2 pin controller driver"
116	depends on ARCH_MMP
117	select PINCTRL_PXA3xx
118
119config PINCTRL_MXS
120	bool
121	select PINMUX
122	select PINCONF
123
124config PINCTRL_IMX23
125	bool
126	select PINCTRL_MXS
127
128config PINCTRL_IMX28
129	bool
130	select PINCTRL_MXS
131
132config PINCTRL_NOMADIK
133	bool "Nomadik pin controller driver"
134	depends on ARCH_U8500 || ARCH_NOMADIK
135	select PINMUX
136	select PINCONF
137
138config PINCTRL_STN8815
139	bool "STN8815 pin controller driver"
140	depends on PINCTRL_NOMADIK && ARCH_NOMADIK
141
142config PINCTRL_DB8500
143	bool "DB8500 pin controller driver"
144	depends on PINCTRL_NOMADIK && ARCH_U8500
145
146config PINCTRL_DB8540
147	bool "DB8540 pin controller driver"
148	depends on PINCTRL_NOMADIK && ARCH_U8500
149
150config PINCTRL_PXA168
151	bool "PXA168 pin controller driver"
152	depends on ARCH_MMP
153	select PINCTRL_PXA3xx
154
155config PINCTRL_PXA910
156	bool "PXA910 pin controller driver"
157	depends on ARCH_MMP
158	select PINCTRL_PXA3xx
159
160config PINCTRL_SINGLE
161	tristate "One-register-per-pin type device tree based pinctrl driver"
162	depends on OF
163	select PINMUX
164	select PINCONF
165	help
166	  This selects the device tree based generic pinctrl driver.
167
168config PINCTRL_SIRF
169	bool "CSR SiRFprimaII/SiRFmarco pin controller driver"
170	depends on ARCH_SIRF
171	select PINMUX
172
173config PINCTRL_TEGRA
174	bool
175	select PINMUX
176	select PINCONF
177
178config PINCTRL_TEGRA20
179	bool
180	select PINCTRL_TEGRA
181
182config PINCTRL_TEGRA30
183	bool
184	select PINCTRL_TEGRA
185
186config PINCTRL_TEGRA114
187	bool
188	select PINCTRL_TEGRA
189
190config PINCTRL_U300
191	bool "U300 pin controller driver"
192	depends on ARCH_U300
193	select PINMUX
194	select GENERIC_PINCONF
195
196config PINCTRL_COH901
197	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
198	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
199	help
200	  Say yes here to support GPIO interface on ST-Ericsson U300.
201	  The names of the two IP block variants supported are
202	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
203	  ports of 8 GPIO pins each.
204
205config PINCTRL_SAMSUNG
206	bool
207	depends on OF && GPIOLIB
208	select PINMUX
209	select PINCONF
210
211config PINCTRL_EXYNOS
212	bool "Pinctrl driver data for Samsung EXYNOS SoCs"
213	depends on OF && GPIOLIB
214	select PINCTRL_SAMSUNG
215
216config PINCTRL_EXYNOS5440
217	bool "Samsung EXYNOS5440 SoC pinctrl driver"
218	select PINMUX
219	select PINCONF
220
221source "drivers/pinctrl/mvebu/Kconfig"
222
223source "drivers/pinctrl/spear/Kconfig"
224
225config PINCTRL_XWAY
226	bool
227	depends on SOC_TYPE_XWAY
228	depends on PINCTRL_LANTIQ
229
230endmenu
231
232endif
233