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