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