blob: 815095326e2d625ec02afee5342f70531f357b88 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Walleij2744e8a2011-05-02 20:50:54 +02002#
3# PINCTRL infrastructure and drivers
4#
5
Phil Reidd219b922017-10-06 13:08:05 +08006menuconfig PINCTRL
7 bool "Pin controllers"
Linus Walleij2744e8a2011-05-02 20:50:54 +02008
Phil Reidd219b922017-10-06 13:08:05 +08009if PINCTRL
Linus Walleij45f034e2011-11-05 21:28:46 +010010
Linus Walleijc033a712016-12-30 15:04:43 +010011config GENERIC_PINCTRL_GROUPS
Tony Lindgrenc7059c52016-12-27 09:20:00 -080012 bool
13
Linus Walleij2744e8a2011-05-02 20:50:54 +020014config PINMUX
Uwe Kleine-König244e95a2014-06-03 10:02:36 +020015 bool "Support pin multiplexing controllers" if COMPILE_TEST
Linus Walleijae6b4d82011-10-19 18:14:33 +020016
Tony Lindgrena76edc82016-12-27 09:20:01 -080017config GENERIC_PINMUX_FUNCTIONS
18 bool
19 select PINMUX
20
Linus Walleijae6b4d82011-10-19 18:14:33 +020021config PINCONF
Uwe Kleine-König244e95a2014-06-03 10:02:36 +020022 bool "Support pin configuration controllers" if COMPILE_TEST
Linus Walleij2744e8a2011-05-02 20:50:54 +020023
Linus Walleij394349f2011-11-24 18:27:15 +010024config GENERIC_PINCONF
25 bool
26 select PINCONF
27
Linus Walleij2744e8a2011-05-02 20:50:54 +020028config DEBUG_PINCTRL
29 bool "Debug PINCTRL calls"
30 depends on DEBUG_KERNEL
31 help
32 Say Y here to add some extra checks and diagnostics to PINCTRL calls.
33
Jesper Nilsson00df0582017-04-03 14:47:04 +020034config PINCTRL_ARTPEC6
Krzysztof Kozlowski2635adb2019-11-21 04:19:41 +010035 bool "Axis ARTPEC-6 pin controller driver"
36 depends on MACH_ARTPEC6
37 select PINMUX
38 select GENERIC_PINCONF
39 help
40 This is the driver for the Axis ARTPEC-6 pin controller. This driver
41 supports pin function multiplexing as well as pin bias and drive
42 strength configuration. Device tree integration instructions can be
43 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
Jesper Nilsson00df0582017-04-03 14:47:04 +020044
Laxman Dewanganc8ce8782013-10-02 21:20:29 +053045config PINCTRL_AS3722
Paul Gortmaker9385f352016-06-13 17:10:22 -040046 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
Laxman Dewanganc8ce8782013-10-02 21:20:29 +053047 depends on MFD_AS3722 && GPIOLIB
48 select PINMUX
49 select GENERIC_PINCONF
50 help
51 AS3722 device supports the configuration of GPIO pins for different
52 functionality. This driver supports the pinmux, push-pull and
53 open drain configuration for the GPIO pins of AS3722 devices. It also
54 supports the GPIO functionality through gpiolib.
55
Quentin Schulz449317a82017-12-05 15:46:40 +010056config PINCTRL_AXP209
57 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
58 depends on MFD_AXP20X
Quentin Schulz971f1b32017-12-14 10:43:35 +010059 depends on OF
60 select PINMUX
61 select GENERIC_PINCONF
62 select GPIOLIB
Quentin Schulz449317a82017-12-05 15:46:40 +010063 help
64 AXP PMICs provides multiple GPIOs that can be muxed for different
65 functions. This driver bundles a pinctrl driver to select the function
66 muxing and a GPIO driver to handle the GPIO when the GPIO function is
67 selected.
68 Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
69
Jean-Christophe PLAGNIOL-VILLARD6732ae52012-07-12 23:35:02 +080070config PINCTRL_AT91
71 bool "AT91 pinctrl driver"
72 depends on OF
73 depends on ARCH_AT91
74 select PINMUX
75 select PINCONF
Alexander Stein80cc3732014-04-15 22:09:41 +020076 select GPIOLIB
77 select OF_GPIO
78 select GPIOLIB_IRQCHIP
Jean-Christophe PLAGNIOL-VILLARD6732ae52012-07-12 23:35:02 +080079 help
80 Say Y here to enable the at91 pinctrl driver
81
Ludovic Desroches77618082015-09-16 17:36:57 +020082config PINCTRL_AT91PIO4
83 bool "AT91 PIO4 pinctrl driver"
84 depends on OF
Tiezhu Yange682fcc2020-05-23 19:45:26 +080085 depends on ARCH_AT91 || COMPILE_TEST
Ludovic Desroches77618082015-09-16 17:36:57 +020086 select PINMUX
87 select GENERIC_PINCONF
88 select GPIOLIB
89 select GPIOLIB_IRQCHIP
90 select OF_GPIO
91 help
92 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
93 controller available on sama5d2 SoC.
94
Ken Xuedbad75d2015-03-10 15:02:19 +080095config PINCTRL_AMD
Jean Delvare337ea0f2016-02-11 12:06:37 +010096 tristate "AMD GPIO pin control"
Linus Walleijfd35b202017-11-13 11:04:27 +010097 depends on HAS_IOMEM
Geert Uytterhoeven47fa5c92020-05-07 13:37:51 +020098 depends on ACPI || COMPILE_TEST
Linus Walleije2a021d2017-10-11 12:04:35 +020099 select GPIOLIB
Ken Xuedbad75d2015-03-10 15:02:19 +0800100 select GPIOLIB_IRQCHIP
Petr Mladek83b31c22017-09-26 15:51:28 +0200101 select PINMUX
Ken Xuedbad75d2015-03-10 15:02:19 +0800102 select PINCONF
103 select GENERIC_PINCONF
104 help
105 driver for memory mapped GPIO functionality on AMD platforms
106 (x86 or arm).Most pins are usually muxed to some other
107 functionality by firmware,so only a small amount is available
108 for gpio use.
109
110 Requires ACPI/FDT device enumeration code to set up a platform
111 device.
112
Manivannan Sadhasivam8f3f0242019-04-24 17:32:23 +0530113config PINCTRL_BM1880
114 bool "Bitmain BM1880 Pinctrl driver"
Manivannan Sadhasivam8293b3c2019-04-25 14:02:24 +0530115 depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
116 default ARCH_BITMAIN
Manivannan Sadhasivam8f3f0242019-04-24 17:32:23 +0530117 select PINMUX
118 help
119 Pinctrl driver for Bitmain BM1880 SoC.
120
David Lechner1ff91f02016-11-28 10:40:25 -0600121config PINCTRL_DA850_PUPD
122 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
123 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
124 select PINCONF
125 select GENERIC_PINCONF
126 help
127 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
128 pullup/pulldown pin groups.
129
Marco Felsch56cc3af2020-01-08 11:47:46 +0100130config PINCTRL_DA9062
131 tristate "Dialog Semiconductor DA9062 PMIC pinctrl and GPIO Support"
132 depends on MFD_DA9062
133 select GPIOLIB
134 help
135 The Dialog DA9062 PMIC provides multiple GPIOs that can be muxed for
136 different functions. This driver bundles a pinctrl driver to select the
137 function muxing and a GPIO driver to handle the GPIO when the GPIO
138 function is selected.
139
140 Say yes to enable pinctrl and GPIO support for the DA9062 PMIC.
141
Baruch Siach38b0e502015-05-05 13:55:10 +0300142config PINCTRL_DIGICOLOR
143 bool
144 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
145 select PINMUX
146 select GENERIC_PINCONF
147
John Crispin3f8c50c2012-08-28 12:44:59 +0200148config PINCTRL_LANTIQ
149 bool
150 depends on LANTIQ
151 select PINMUX
152 select PINCONF
153
Joachim Eastwood2f77ac92015-04-28 00:14:08 +0200154config PINCTRL_LPC18XX
155 bool "NXP LPC18XX/43XX SCU pinctrl driver"
156 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
157 default ARCH_LPC18XX
158 select PINMUX
159 select GENERIC_PINCONF
160 help
161 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
162
John Crispine316cb22012-05-20 00:33:56 +0200163config PINCTRL_FALCON
164 bool
165 depends on SOC_FALCON
166 depends on PINCTRL_LANTIQ
167
Linus Walleij06351d12017-08-05 23:04:08 +0200168config PINCTRL_GEMINI
169 bool
170 depends on ARCH_GEMINI
171 default ARCH_GEMINI
172 select PINMUX
Linus Walleij1c5b7f32017-10-28 15:37:18 +0200173 select GENERIC_PINCONF
Linus Walleij06351d12017-08-05 23:04:08 +0200174 select MFD_SYSCON
175
Andy Shevchenko0f04a812020-04-07 20:38:49 +0300176config PINCTRL_MCP23S08_I2C
177 tristate
178 select REGMAP_I2C
179
180config PINCTRL_MCP23S08_SPI
181 tristate
182 select REGMAP_SPI
183
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200184config PINCTRL_MCP23S08
185 tristate "Microchip MCP23xxx I/O expander"
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200186 depends on SPI_MASTER || I2C
Linus Walleije2a021d2017-10-11 12:04:35 +0200187 select GPIOLIB
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200188 select GPIOLIB_IRQCHIP
Sebastian Reichel82039d22017-05-15 11:24:26 +0200189 select GENERIC_PINCONF
Andy Shevchenko0f04a812020-04-07 20:38:49 +0300190 select PINCTRL_MCP23S08_I2C if I2C
191 select PINCTRL_MCP23S08_SPI if SPI_MASTER
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200192 help
Jan Kundrát6ff45562018-02-15 15:56:03 +0100193 SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
194 MCP23008 / MCP23017 / MCP23018 I/O expanders.
195 This provides a GPIO interface supporting inputs and outputs and a
196 corresponding interrupt-controller.
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200197
Neil Armstrong611dac12016-05-11 09:34:21 +0200198config PINCTRL_OXNAS
199 bool
200 depends on OF
201 select PINMUX
202 select PINCONF
203 select GENERIC_PINCONF
204 select GPIOLIB
205 select OF_GPIO
206 select GPIOLIB_IRQCHIP
207 select MFD_SYSCON
208
Heiko Stübnerd3e51162013-06-10 22:16:22 +0200209config PINCTRL_ROCKCHIP
210 bool
Heiko Stuebner0662e4a2020-09-05 23:49:55 +0200211 depends on OF
Heiko Stübnerd3e51162013-06-10 22:16:22 +0200212 select PINMUX
213 select GENERIC_PINCONF
214 select GENERIC_IRQ_CHIP
Heiko Stübner751a99a2014-05-05 13:58:20 +0200215 select MFD_SYSCON
Heiko Stuebner0662e4a2020-09-05 23:49:55 +0200216 select OF_GPIO
Heiko Stübnerd3e51162013-06-10 22:16:22 +0200217
Tony Lindgren8b8b0912012-07-10 02:05:46 -0700218config PINCTRL_SINGLE
219 tristate "One-register-per-pin type device tree based pinctrl driver"
220 depends on OF
Linus Walleijfd35b202017-11-13 11:04:27 +0100221 depends on HAS_IOMEM
Tony Lindgrencaeb7742016-12-27 09:20:02 -0800222 select GENERIC_PINCTRL_GROUPS
Tony Lindgren571aec42016-12-27 09:20:03 -0800223 select GENERIC_PINMUX_FUNCTIONS
Haojian Zhuang9dddb4d2013-02-17 19:42:55 +0800224 select GENERIC_PINCONF
Tony Lindgren8b8b0912012-07-10 02:05:46 -0700225 help
226 This selects the device tree based generic pinctrl driver.
227
Linus Walleij3bece552011-12-18 23:44:26 +0100228config PINCTRL_SIRF
Barry Songa17272a2015-01-11 21:56:41 +0800229 bool "CSR SiRFprimaII pin controller driver"
Barry Songd3e26f22012-09-27 17:56:30 +0800230 depends on ARCH_SIRF
Rongjun Ying393daa82011-10-09 03:11:13 -0700231 select PINMUX
Wei Chenf9367792015-05-18 07:28:32 +0000232 select PINCONF
233 select GENERIC_PINCONF
Linus Walleij7420d2d2014-04-15 14:43:47 +0800234 select GPIOLIB_IRQCHIP
Rongjun Ying393daa82011-10-09 03:11:13 -0700235
Neil Armstrong9e80f902016-10-21 11:09:58 +0200236config PINCTRL_SX150X
237 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
Linus Walleije2a021d2017-10-11 12:04:35 +0200238 depends on I2C=y
Neil Armstrong9e80f902016-10-21 11:09:58 +0200239 select PINMUX
240 select PINCONF
241 select GENERIC_PINCONF
Linus Walleije2a021d2017-10-11 12:04:35 +0200242 select GPIOLIB
Neil Armstrong9e80f902016-10-21 11:09:58 +0200243 select GPIOLIB_IRQCHIP
Andrey Smirnov0db0f262016-11-07 08:53:16 -0800244 select REGMAP
Neil Armstrong9e80f902016-10-21 11:09:58 +0200245 help
246 Say yes here to provide support for Semtech SX150x-series I2C
247 GPIO expanders as pinctrl module.
248 Compatible models include:
249 - 8 bits: sx1508q, sx1502q
250 - 16 bits: sx1509q, sx1506q
251
Andrew Brestickercefc03e2015-05-06 12:59:03 -0700252config PINCTRL_PISTACHIO
253 def_bool y if MACH_PISTACHIO
254 depends on GPIOLIB
255 select PINMUX
256 select GENERIC_PINCONF
257 select GPIOLIB_IRQCHIP
258 select OF_GPIO
259
Srinivas KANDAGATLA701016c2013-06-20 15:05:38 +0100260config PINCTRL_ST
261 bool
262 depends on OF
263 select PINMUX
264 select PINCONF
Linus Walleij130cbe32014-04-08 14:45:47 +0200265 select GPIOLIB_IRQCHIP
Srinivas KANDAGATLA701016c2013-06-20 15:05:38 +0100266
Amelie Delaunay1490d9f2019-05-09 10:58:51 +0200267config PINCTRL_STMFX
268 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
Amelie Delaunay9af2de72019-05-10 15:39:18 +0200269 depends on I2C
Amelie Delaunayec2e0f42019-05-24 09:32:05 +0200270 depends on OF_GPIO
Amelie Delaunay1490d9f2019-05-09 10:58:51 +0200271 select GENERIC_PINCONF
272 select GPIOLIB_IRQCHIP
273 select MFD_STMFX
274 help
275 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
276 GPIO expander.
277 This provides a GPIO interface supporting inputs and outputs,
278 and configuring push-pull, open-drain, and can also be used as
279 interrupt-controller.
280
Linus Walleij3bece552011-12-18 23:44:26 +0100281config PINCTRL_U300
282 bool "U300 pin controller driver"
Linus Walleij98da3522011-05-02 20:54:38 +0200283 depends on ARCH_U300
284 select PINMUX
Linus Walleijdc0b1aa2011-11-16 21:58:10 +0100285 select GENERIC_PINCONF
Linus Walleij45f034e2011-11-05 21:28:46 +0100286
Linus Walleijca402d32011-11-16 09:22:59 +0100287config PINCTRL_COH901
288 bool "ST-Ericsson U300 COH 901 335/571 GPIO"
Linus Walleij3c94d1b2012-06-18 20:07:50 +0200289 depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
Linus Walleij523dcce2014-03-25 13:37:17 +0100290 select GPIOLIB_IRQCHIP
Linus Walleijca402d32011-11-16 09:22:59 +0100291 help
292 Say yes here to support GPIO interface on ST-Ericsson U300.
293 The names of the two IP block variants supported are
294 COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
295 ports of 8 GPIO pins each.
296
Laxman Dewangan2df723d42016-05-13 10:49:15 +0530297config PINCTRL_MAX77620
298 tristate "MAX77620/MAX20024 Pincontrol support"
Arnd Bergmann24d6a912016-10-28 10:19:05 +0200299 depends on MFD_MAX77620 && OF
Arnd Bergmann79f28b92016-06-13 17:18:35 +0200300 select PINMUX
Laxman Dewangan2df723d42016-05-13 10:49:15 +0530301 select GENERIC_PINCONF
302 help
303 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
304 This PMIC has 8 GPIO pins that work as GPIO as well as special
305 function in alternate mode. This driver also configure push-pull,
306 open drain, FPS slots etc.
307
Laxman Dewangan0a8d3e22013-08-06 18:42:35 +0530308config PINCTRL_PALMAS
Paul Gortmaker767b8ce2016-06-13 17:10:21 -0400309 tristate "Pinctrl driver for the PALMAS Series MFD devices"
Laxman Dewangan0a8d3e22013-08-06 18:42:35 +0530310 depends on OF && MFD_PALMAS
Axel Lin63ca8db2013-08-22 14:30:08 +0800311 select PINMUX
Laxman Dewangan0a8d3e22013-08-06 18:42:35 +0530312 select GENERIC_PINCONF
313 help
314 Palmas device supports the configuration of pins for different
315 functionality. This driver supports the pinmux, push-pull and
316 open drain configuration for the Palmas series devices like
317 TPS65913, TPS80036 etc.
318
Joshua Henderson2ba384e2016-02-01 15:48:30 -0700319config PINCTRL_PIC32
320 bool "Microchip PIC32 pin controller driver"
321 depends on OF
322 depends on MACH_PIC32
323 select PINMUX
324 select GENERIC_PINCONF
325 select GPIOLIB_IRQCHIP
326 select OF_GPIO
327 help
328 This is the pin controller and gpio driver for Microchip PIC32
329 microcontrollers. This option is selected automatically when specific
330 machine and arch are selected to build.
331
332config PINCTRL_PIC32MZDA
333 def_bool y if PIC32MZDA
334 select PINCTRL_PIC32
335
Soren Brinkmannadd958c2015-01-09 07:43:48 -0800336config PINCTRL_ZYNQ
337 bool "Pinctrl driver for Xilinx Zynq"
338 depends on ARCH_ZYNQ
339 select PINMUX
340 select GENERIC_PINCONF
341 help
Masahiro Yamada485dba22015-11-30 16:57:35 +0900342 This selects the pinctrl driver for Xilinx Zynq.
Soren Brinkmannadd958c2015-01-09 07:43:48 -0800343
Paul Cercueilb5c23aa2017-05-12 18:52:56 +0200344config PINCTRL_INGENIC
345 bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
Paul Cercueil635c20a2018-08-21 18:42:35 +0200346 default MACH_INGENIC
Linus Walleijc5049852017-05-29 13:40:45 +0200347 depends on OF
Paul Cercueil635c20a2018-08-21 18:42:35 +0200348 depends on MIPS || COMPILE_TEST
Paul Cercueilb5c23aa2017-05-12 18:52:56 +0200349 select GENERIC_PINCONF
350 select GENERIC_PINCTRL_GROUPS
351 select GENERIC_PINMUX_FUNCTIONS
Paul Cercueile72394e2018-08-21 18:42:32 +0200352 select GPIOLIB
353 select GPIOLIB_IRQCHIP
Paul Cercueilb5c23aa2017-05-12 18:52:56 +0200354 select REGMAP_MMIO
355
Joseph Chenea479992017-08-21 03:28:40 +0200356config PINCTRL_RK805
357 tristate "Pinctrl and GPIO driver for RK805 PMIC"
358 depends on MFD_RK808
359 select GPIOLIB
360 select PINMUX
361 select GENERIC_PINCONF
362 help
363 This selects the pinctrl driver for RK805.
364
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100365config PINCTRL_OCELOT
Alexandre Bellonida801ab2018-12-20 15:44:31 +0100366 bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100367 depends on OF
Linus Walleij2dab3dd2018-12-22 11:15:04 +0100368 depends on HAS_IOMEM
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100369 select GPIOLIB
Quentin Schulzbe36abb2018-07-25 14:26:21 +0200370 select GPIOLIB_IRQCHIP
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100371 select GENERIC_PINCONF
372 select GENERIC_PINCTRL_GROUPS
373 select GENERIC_PINMUX_FUNCTIONS
Alexandre Bellonida801ab2018-12-20 15:44:31 +0100374 select OF_GPIO
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100375 select REGMAP_MMIO
376
Manivannan Sadhasivam2242ddf2018-04-04 22:52:52 +0530377source "drivers/pinctrl/actions/Kconfig"
Andrew Jeffery4d3d0e422016-08-30 17:24:24 +0930378source "drivers/pinctrl/aspeed/Kconfig"
Ray Juib17f2f92015-03-04 16:35:49 -0800379source "drivers/pinctrl/bcm/Kconfig"
Antoine Tenart3de68d32014-05-19 19:36:29 +0200380source "drivers/pinctrl/berlin/Kconfig"
Linus Walleijedad3b22014-09-03 13:37:38 +0200381source "drivers/pinctrl/freescale/Kconfig"
Mika Westerberg5fae8b82014-10-24 15:16:52 +0300382source "drivers/pinctrl/intel/Kconfig"
Thomas Petazzoni06763c72012-10-24 23:38:58 +0200383source "drivers/pinctrl/mvebu/Kconfig"
Linus Walleij3a198052014-07-11 14:57:06 +0200384source "drivers/pinctrl/nomadik/Kconfig"
Tomer Maimon3b588e42018-08-08 12:25:26 +0300385source "drivers/pinctrl/nuvoton/Kconfig"
Robert Jarzmik4b15ec92015-11-21 19:04:53 +0100386source "drivers/pinctrl/pxa/Kconfig"
Linus Walleij69b78b82014-07-09 13:55:12 +0200387source "drivers/pinctrl/qcom/Kconfig"
Geert Uytterhoeven077365a2020-09-09 15:15:33 +0200388source "drivers/pinctrl/renesas/Kconfig"
Sachin Kamatebe629a2014-07-10 17:33:27 +0530389source "drivers/pinctrl/samsung/Kconfig"
Viresh Kumardeda8282012-03-28 22:27:07 +0530390source "drivers/pinctrl/spear/Kconfig"
Baolin Wang41d32cf2017-08-17 14:50:38 +0800391source "drivers/pinctrl/sprd/Kconfig"
Maxime Coquelinaceb16d2016-01-14 13:16:30 +0100392source "drivers/pinctrl/stm32/Kconfig"
Maxime Ripard5f910772014-04-18 18:53:02 +0200393source "drivers/pinctrl/sunxi/Kconfig"
Masahiro Yamada25cbac72016-01-24 00:30:08 +0900394source "drivers/pinctrl/tegra/Kconfig"
Nishanth Menon003910e2017-01-05 10:54:14 -0800395source "drivers/pinctrl/ti/Kconfig"
Masahiro Yamada6e908892015-07-14 11:40:01 +0900396source "drivers/pinctrl/uniphier/Kconfig"
Tony Prisk170c6152013-02-20 09:32:19 +1300397source "drivers/pinctrl/vt8500/Kconfig"
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800398source "drivers/pinctrl/mediatek/Kconfig"
Shawn Guocbff0c42017-04-24 21:01:13 +0800399source "drivers/pinctrl/zte/Kconfig"
Jerome Brunet277d14e2017-10-12 14:40:25 +0200400source "drivers/pinctrl/meson/Kconfig"
Richard Fitzgerald218d72a2018-05-21 11:00:01 +0100401source "drivers/pinctrl/cirrus/Kconfig"
Nobuhiro Iwamatsua68a7842020-09-10 05:43:30 +0900402source "drivers/pinctrl/visconti/Kconfig"
Viresh Kumardeda8282012-03-28 22:27:07 +0530403
John Crispin3f8c50c2012-08-28 12:44:59 +0200404config PINCTRL_XWAY
405 bool
406 depends on SOC_TYPE_XWAY
407 depends on PINCTRL_LANTIQ
408
Christian Ruppert5aad0db2013-10-15 15:39:38 +0200409config PINCTRL_TB10X
410 bool
Linus Walleijb99e6fb2015-04-15 10:00:35 +0200411 depends on OF && ARC_PLAT_TB10X
412 select GPIOLIB
Christian Ruppert5aad0db2013-10-15 15:39:38 +0200413
Rahul Tanwar1948d5c2019-11-15 17:25:07 +0800414config PINCTRL_EQUILIBRIUM
415 tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
Paul Cercueil9e655272019-12-10 17:44:46 +0100416 depends on OF && HAS_IOMEM
Geert Uytterhoeven80691a82020-05-07 13:36:25 +0200417 depends on X86 || COMPILE_TEST
Rahul Tanwar1948d5c2019-11-15 17:25:07 +0800418 select PINMUX
419 select PINCONF
420 select GPIOLIB
421 select GPIO_GENERIC
422 select GPIOLIB_IRQCHIP
423 select GENERIC_PINCONF
424 select GENERIC_PINCTRL_GROUPS
425 select GENERIC_PINMUX_FUNCTIONS
426
427 help
428 Equilibrium pinctrl driver is a pinctrl & GPIO driver for Intel Lightning
429 Mountain network processor SoC that supports both the linux GPIO and pin
430 control frameworks. It provides interfaces to setup pinmux, assign desired
431 pin functions, configure GPIO attributes for LGM SoC pins. Pinmux and
432 pinconf settings are retrieved from device tree.
433
Phil Reidd219b922017-10-06 13:08:05 +0800434endif