xref: /openbmc/linux/drivers/pinctrl/Kconfig (revision e854547b)
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_TEGRA
155	bool
156	select PINMUX
157	select PINCONF
158
159config PINCTRL_TEGRA20
160	bool
161	select PINCTRL_TEGRA
162
163config PINCTRL_TEGRA30
164	bool
165	select PINCTRL_TEGRA
166
167config PINCTRL_U300
168	bool "U300 pin controller driver"
169	depends on ARCH_U300
170	select PINMUX
171	select GENERIC_PINCONF
172
173config PINCTRL_COH901
174	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
175	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
176	help
177	  Say yes here to support GPIO interface on ST-Ericsson U300.
178	  The names of the two IP block variants supported are
179	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
180	  ports of 8 GPIO pins each.
181
182config PINCTRL_SAMSUNG
183	bool
184	depends on OF && GPIOLIB
185	select PINMUX
186	select PINCONF
187
188config PINCTRL_EXYNOS4
189	bool "Pinctrl driver data for Exynos4 SoC"
190	depends on OF && GPIOLIB
191	select PINCTRL_SAMSUNG
192
193config PINCTRL_EXYNOS5440
194	bool "Samsung EXYNOS5440 SoC pinctrl driver"
195	select PINMUX
196	select PINCONF
197
198source "drivers/pinctrl/mvebu/Kconfig"
199source "drivers/pinctrl/sh-pfc/Kconfig"
200source "drivers/pinctrl/spear/Kconfig"
201
202config PINCTRL_XWAY
203	bool
204	depends on SOC_TYPE_XWAY
205	depends on PINCTRL_LANTIQ
206
207endmenu
208
209endif
210