blob: 0d5b61e4c21e5bafe96296be0147ef0d3cb0c3e1 [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
Joey Goulya0f160f2021-10-26 18:58:14 +010034config PINCTRL_APPLE_GPIO
35 tristate "Apple SoC GPIO pin controller driver"
36 depends on ARCH_APPLE
37 select PINMUX
38 select GPIOLIB
39 select GPIOLIB_IRQCHIP
40 select GENERIC_PINCTRL_GROUPS
41 select GENERIC_PINMUX_FUNCTIONS
42 select OF_GPIO
43 help
44 This is the driver for the GPIO controller found on Apple ARM SoCs,
45 including M1.
46
47 This driver can also be built as a module. If so, the module
48 will be called pinctrl-apple-gpio.
49
Jesper Nilsson00df0582017-04-03 14:47:04 +020050config PINCTRL_ARTPEC6
Krzysztof Kozlowski2635adb2019-11-21 04:19:41 +010051 bool "Axis ARTPEC-6 pin controller driver"
52 depends on MACH_ARTPEC6
53 select PINMUX
54 select GENERIC_PINCONF
55 help
56 This is the driver for the Axis ARTPEC-6 pin controller. This driver
57 supports pin function multiplexing as well as pin bias and drive
58 strength configuration. Device tree integration instructions can be
59 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
Jesper Nilsson00df0582017-04-03 14:47:04 +020060
Laxman Dewanganc8ce8782013-10-02 21:20:29 +053061config PINCTRL_AS3722
Paul Gortmaker9385f352016-06-13 17:10:22 -040062 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
Laxman Dewanganc8ce8782013-10-02 21:20:29 +053063 depends on MFD_AS3722 && GPIOLIB
64 select PINMUX
65 select GENERIC_PINCONF
66 help
67 AS3722 device supports the configuration of GPIO pins for different
68 functionality. This driver supports the pinmux, push-pull and
69 open drain configuration for the GPIO pins of AS3722 devices. It also
70 supports the GPIO functionality through gpiolib.
71
Quentin Schulz449317a82017-12-05 15:46:40 +010072config PINCTRL_AXP209
73 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
74 depends on MFD_AXP20X
Quentin Schulz971f1b32017-12-14 10:43:35 +010075 depends on OF
76 select PINMUX
77 select GENERIC_PINCONF
78 select GPIOLIB
Quentin Schulz449317a82017-12-05 15:46:40 +010079 help
80 AXP PMICs provides multiple GPIOs that can be muxed for different
81 functions. This driver bundles a pinctrl driver to select the function
82 muxing and a GPIO driver to handle the GPIO when the GPIO function is
83 selected.
84 Say yes to enable pinctrl and GPIO support for the AXP209 PMIC
85
Jean-Christophe PLAGNIOL-VILLARD6732ae52012-07-12 23:35:02 +080086config PINCTRL_AT91
87 bool "AT91 pinctrl driver"
88 depends on OF
89 depends on ARCH_AT91
90 select PINMUX
91 select PINCONF
Alexander Stein80cc3732014-04-15 22:09:41 +020092 select GPIOLIB
93 select OF_GPIO
94 select GPIOLIB_IRQCHIP
Jean-Christophe PLAGNIOL-VILLARD6732ae52012-07-12 23:35:02 +080095 help
96 Say Y here to enable the at91 pinctrl driver
97
Ludovic Desroches77618082015-09-16 17:36:57 +020098config PINCTRL_AT91PIO4
99 bool "AT91 PIO4 pinctrl driver"
100 depends on OF
Tiezhu Yang0a036582020-11-24 17:17:03 +0800101 depends on HAS_IOMEM
Tiezhu Yange682fcc2020-05-23 19:45:26 +0800102 depends on ARCH_AT91 || COMPILE_TEST
Ludovic Desroches77618082015-09-16 17:36:57 +0200103 select PINMUX
104 select GENERIC_PINCONF
105 select GPIOLIB
106 select GPIOLIB_IRQCHIP
107 select OF_GPIO
108 help
109 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
110 controller available on sama5d2 SoC.
111
Ken Xuedbad75d2015-03-10 15:02:19 +0800112config PINCTRL_AMD
Jean Delvare337ea0f2016-02-11 12:06:37 +0100113 tristate "AMD GPIO pin control"
Linus Walleijfd35b202017-11-13 11:04:27 +0100114 depends on HAS_IOMEM
Geert Uytterhoeven47fa5c92020-05-07 13:37:51 +0200115 depends on ACPI || COMPILE_TEST
Linus Walleije2a021d2017-10-11 12:04:35 +0200116 select GPIOLIB
Ken Xuedbad75d2015-03-10 15:02:19 +0800117 select GPIOLIB_IRQCHIP
Petr Mladek83b31c22017-09-26 15:51:28 +0200118 select PINMUX
Ken Xuedbad75d2015-03-10 15:02:19 +0800119 select PINCONF
120 select GENERIC_PINCONF
121 help
122 driver for memory mapped GPIO functionality on AMD platforms
123 (x86 or arm).Most pins are usually muxed to some other
124 functionality by firmware,so only a small amount is available
125 for gpio use.
126
127 Requires ACPI/FDT device enumeration code to set up a platform
128 device.
129
Manivannan Sadhasivam8f3f0242019-04-24 17:32:23 +0530130config PINCTRL_BM1880
131 bool "Bitmain BM1880 Pinctrl driver"
Manivannan Sadhasivam8293b3c2019-04-25 14:02:24 +0530132 depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
133 default ARCH_BITMAIN
Manivannan Sadhasivam8f3f0242019-04-24 17:32:23 +0530134 select PINMUX
135 help
136 Pinctrl driver for Bitmain BM1880 SoC.
137
David Lechner1ff91f02016-11-28 10:40:25 -0600138config PINCTRL_DA850_PUPD
139 tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups"
140 depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST)
141 select PINCONF
142 select GENERIC_PINCONF
143 help
144 Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control
145 pullup/pulldown pin groups.
146
Marco Felsch56cc3af2020-01-08 11:47:46 +0100147config PINCTRL_DA9062
148 tristate "Dialog Semiconductor DA9062 PMIC pinctrl and GPIO Support"
149 depends on MFD_DA9062
150 select GPIOLIB
151 help
152 The Dialog DA9062 PMIC provides multiple GPIOs that can be muxed for
153 different functions. This driver bundles a pinctrl driver to select the
154 function muxing and a GPIO driver to handle the GPIO when the GPIO
155 function is selected.
156
157 Say yes to enable pinctrl and GPIO support for the DA9062 PMIC.
158
Baruch Siach38b0e502015-05-05 13:55:10 +0300159config PINCTRL_DIGICOLOR
160 bool
161 depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST)
162 select PINMUX
163 select GENERIC_PINCONF
164
John Crispin3f8c50c2012-08-28 12:44:59 +0200165config PINCTRL_LANTIQ
166 bool
167 depends on LANTIQ
168 select PINMUX
169 select PINCONF
170
Joachim Eastwood2f77ac92015-04-28 00:14:08 +0200171config PINCTRL_LPC18XX
172 bool "NXP LPC18XX/43XX SCU pinctrl driver"
173 depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
174 default ARCH_LPC18XX
175 select PINMUX
176 select GENERIC_PINCONF
177 help
178 Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU).
179
John Crispine316cb22012-05-20 00:33:56 +0200180config PINCTRL_FALCON
181 bool
182 depends on SOC_FALCON
183 depends on PINCTRL_LANTIQ
184
Linus Walleij06351d12017-08-05 23:04:08 +0200185config PINCTRL_GEMINI
186 bool
187 depends on ARCH_GEMINI
188 default ARCH_GEMINI
189 select PINMUX
Linus Walleij1c5b7f32017-10-28 15:37:18 +0200190 select GENERIC_PINCONF
Linus Walleij06351d12017-08-05 23:04:08 +0200191 select MFD_SYSCON
192
Andy Shevchenko0f04a812020-04-07 20:38:49 +0300193config PINCTRL_MCP23S08_I2C
194 tristate
195 select REGMAP_I2C
196
197config PINCTRL_MCP23S08_SPI
198 tristate
199 select REGMAP_SPI
200
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200201config PINCTRL_MCP23S08
202 tristate "Microchip MCP23xxx I/O expander"
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200203 depends on SPI_MASTER || I2C
Linus Walleije2a021d2017-10-11 12:04:35 +0200204 select GPIOLIB
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200205 select GPIOLIB_IRQCHIP
Sebastian Reichel82039d22017-05-15 11:24:26 +0200206 select GENERIC_PINCONF
Andy Shevchenko0f04a812020-04-07 20:38:49 +0300207 select PINCTRL_MCP23S08_I2C if I2C
208 select PINCTRL_MCP23S08_SPI if SPI_MASTER
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200209 help
Jan Kundrát6ff45562018-02-15 15:56:03 +0100210 SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 /
211 MCP23008 / MCP23017 / MCP23018 I/O expanders.
212 This provides a GPIO interface supporting inputs and outputs and a
213 corresponding interrupt-controller.
Sebastian Reichel64ac43e2017-05-15 11:24:25 +0200214
Neil Armstrong611dac12016-05-11 09:34:21 +0200215config PINCTRL_OXNAS
216 bool
217 depends on OF
218 select PINMUX
219 select PINCONF
220 select GENERIC_PINCONF
221 select GPIOLIB
222 select OF_GPIO
223 select GPIOLIB_IRQCHIP
224 select MFD_SYSCON
225
Heiko Stübnerd3e51162013-06-10 22:16:22 +0200226config PINCTRL_ROCKCHIP
Jianqun Xube786ac2021-03-05 08:39:07 +0800227 tristate "Rockchip gpio and pinctrl driver"
Geert Uytterhoevenfebb4ee2021-03-16 14:40:59 +0100228 depends on ARCH_ROCKCHIP || COMPILE_TEST
Heiko Stuebner0662e4a2020-09-05 23:49:55 +0200229 depends on OF
Jianqun Xu25fda51c2021-03-05 08:39:06 +0800230 select GPIOLIB
Heiko Stübnerd3e51162013-06-10 22:16:22 +0200231 select PINMUX
232 select GENERIC_PINCONF
233 select GENERIC_IRQ_CHIP
Heiko Stübner751a99a2014-05-05 13:58:20 +0200234 select MFD_SYSCON
Heiko Stuebner0662e4a2020-09-05 23:49:55 +0200235 select OF_GPIO
Jianqun Xu25fda51c2021-03-05 08:39:06 +0800236 default ARCH_ROCKCHIP
237 help
238 This support pinctrl and gpio driver for Rockchip SoCs.
Heiko Stübnerd3e51162013-06-10 22:16:22 +0200239
Tony Lindgren8b8b091b2012-07-10 02:05:46 -0700240config PINCTRL_SINGLE
241 tristate "One-register-per-pin type device tree based pinctrl driver"
242 depends on OF
Linus Walleijfd35b202017-11-13 11:04:27 +0100243 depends on HAS_IOMEM
Tony Lindgrencaeb7742016-12-27 09:20:02 -0800244 select GENERIC_PINCTRL_GROUPS
Tony Lindgren571aec42016-12-27 09:20:03 -0800245 select GENERIC_PINMUX_FUNCTIONS
Haojian Zhuang9dddb4d2013-02-17 19:42:55 +0800246 select GENERIC_PINCONF
Tony Lindgren8b8b091b2012-07-10 02:05:46 -0700247 help
248 This selects the device tree based generic pinctrl driver.
249
Neil Armstrong9e80f902016-10-21 11:09:58 +0200250config PINCTRL_SX150X
251 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
Linus Walleije2a021d2017-10-11 12:04:35 +0200252 depends on I2C=y
Neil Armstrong9e80f902016-10-21 11:09:58 +0200253 select PINMUX
254 select PINCONF
255 select GENERIC_PINCONF
Linus Walleije2a021d2017-10-11 12:04:35 +0200256 select GPIOLIB
Neil Armstrong9e80f902016-10-21 11:09:58 +0200257 select GPIOLIB_IRQCHIP
Andrey Smirnov0db0f262016-11-07 08:53:16 -0800258 select REGMAP
Neil Armstrong9e80f902016-10-21 11:09:58 +0200259 help
260 Say yes here to provide support for Semtech SX150x-series I2C
261 GPIO expanders as pinctrl module.
262 Compatible models include:
263 - 8 bits: sx1508q, sx1502q
264 - 16 bits: sx1509q, sx1506q
265
Andrew Brestickercefc03e2015-05-06 12:59:03 -0700266config PINCTRL_PISTACHIO
Jiaxun Yang6ceb3c62021-07-21 11:01:31 +0800267 bool "IMG Pistachio SoC pinctrl driver"
268 depends on OF && (MIPS || COMPILE_TEST)
Andrew Brestickercefc03e2015-05-06 12:59:03 -0700269 depends on GPIOLIB
270 select PINMUX
271 select GENERIC_PINCONF
272 select GPIOLIB_IRQCHIP
273 select OF_GPIO
Jiaxun Yang6ceb3c62021-07-21 11:01:31 +0800274 help
275 This support pinctrl and gpio driver for IMG Pistachio SoC.
Andrew Brestickercefc03e2015-05-06 12:59:03 -0700276
Srinivas KANDAGATLA701016c2013-06-20 15:05:38 +0100277config PINCTRL_ST
278 bool
279 depends on OF
280 select PINMUX
281 select PINCONF
Linus Walleij130cbe32014-04-08 14:45:47 +0200282 select GPIOLIB_IRQCHIP
Srinivas KANDAGATLA701016c2013-06-20 15:05:38 +0100283
Emil Renner Berthingec648f62021-07-06 20:19:06 +0200284config PINCTRL_STARFIVE
285 tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC"
286 depends on SOC_STARFIVE || COMPILE_TEST
287 depends on OF
288 default SOC_STARFIVE
289 select GENERIC_PINCTRL_GROUPS
290 select GENERIC_PINMUX_FUNCTIONS
291 select GENERIC_PINCONF
292 select GPIOLIB
293 select GPIOLIB_IRQCHIP
294 select OF_GPIO
295 help
296 Say yes here to support pin control on the StarFive JH7100 SoC.
297 This also provides an interface to the GPIO pins not used by other
298 peripherals supporting inputs, outputs, configuring pull-up/pull-down
299 and interrupts on input changes.
300
Amelie Delaunay1490d9f2019-05-09 10:58:51 +0200301config PINCTRL_STMFX
302 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver"
Amelie Delaunay9af2de72019-05-10 15:39:18 +0200303 depends on I2C
Amelie Delaunayec2e0f42019-05-24 09:32:05 +0200304 depends on OF_GPIO
Amelie Delaunay1490d9f2019-05-09 10:58:51 +0200305 select GENERIC_PINCONF
306 select GPIOLIB_IRQCHIP
307 select MFD_STMFX
308 help
309 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
310 GPIO expander.
311 This provides a GPIO interface supporting inputs and outputs,
312 and configuring push-pull, open-drain, and can also be used as
313 interrupt-controller.
314
Laxman Dewangan2df723d42016-05-13 10:49:15 +0530315config PINCTRL_MAX77620
316 tristate "MAX77620/MAX20024 Pincontrol support"
Arnd Bergmann24d6a912016-10-28 10:19:05 +0200317 depends on MFD_MAX77620 && OF
Arnd Bergmann79f28b92016-06-13 17:18:35 +0200318 select PINMUX
Laxman Dewangan2df723d42016-05-13 10:49:15 +0530319 select GENERIC_PINCONF
320 help
321 Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
322 This PMIC has 8 GPIO pins that work as GPIO as well as special
323 function in alternate mode. This driver also configure push-pull,
324 open drain, FPS slots etc.
325
Laxman Dewangan0a8d3e22013-08-06 18:42:35 +0530326config PINCTRL_PALMAS
Paul Gortmaker767b8ce2016-06-13 17:10:21 -0400327 tristate "Pinctrl driver for the PALMAS Series MFD devices"
Laxman Dewangan0a8d3e22013-08-06 18:42:35 +0530328 depends on OF && MFD_PALMAS
Axel Lin63ca8db2013-08-22 14:30:08 +0800329 select PINMUX
Laxman Dewangan0a8d3e22013-08-06 18:42:35 +0530330 select GENERIC_PINCONF
331 help
332 Palmas device supports the configuration of pins for different
333 functionality. This driver supports the pinmux, push-pull and
334 open drain configuration for the Palmas series devices like
335 TPS65913, TPS80036 etc.
336
Joshua Henderson2ba384e2016-02-01 15:48:30 -0700337config PINCTRL_PIC32
338 bool "Microchip PIC32 pin controller driver"
339 depends on OF
340 depends on MACH_PIC32
341 select PINMUX
342 select GENERIC_PINCONF
343 select GPIOLIB_IRQCHIP
344 select OF_GPIO
345 help
346 This is the pin controller and gpio driver for Microchip PIC32
347 microcontrollers. This option is selected automatically when specific
348 machine and arch are selected to build.
349
350config PINCTRL_PIC32MZDA
351 def_bool y if PIC32MZDA
352 select PINCTRL_PIC32
353
Soren Brinkmannadd958c2015-01-09 07:43:48 -0800354config PINCTRL_ZYNQ
355 bool "Pinctrl driver for Xilinx Zynq"
356 depends on ARCH_ZYNQ
357 select PINMUX
358 select GENERIC_PINCONF
359 help
Masahiro Yamada485dba22015-11-30 16:57:35 +0900360 This selects the pinctrl driver for Xilinx Zynq.
Soren Brinkmannadd958c2015-01-09 07:43:48 -0800361
Sai Krishna Potthuri8b242ca2021-04-22 14:00:02 +0530362config PINCTRL_ZYNQMP
363 tristate "Pinctrl driver for Xilinx ZynqMP"
364 depends on ZYNQMP_FIRMWARE
365 select PINMUX
366 select GENERIC_PINCONF
367 default ZYNQMP_FIRMWARE
368 help
369 This selects the pinctrl driver for Xilinx ZynqMP platform.
370 This driver will query the pin information from the firmware
371 and allow configuring the pins.
372 Configuration can include the mux function to select on those
373 pin(s)/group(s), and various pin configuration parameters
374 such as pull-up, slew rate, etc.
Sai Krishna Potthurifa99e702021-06-21 16:30:14 +0530375 This driver can also be built as a module. If so, the module
376 will be called pinctrl-zynqmp.
Sai Krishna Potthuri8b242ca2021-04-22 14:00:02 +0530377
Paul Cercueilb5c23aa2017-05-12 18:52:56 +0200378config PINCTRL_INGENIC
379 bool "Pinctrl driver for the Ingenic JZ47xx SoCs"
Paul Cercueil635c20a2018-08-21 18:42:35 +0200380 default MACH_INGENIC
Linus Walleijc5049852017-05-29 13:40:45 +0200381 depends on OF
Paul Cercueil635c20a2018-08-21 18:42:35 +0200382 depends on MIPS || COMPILE_TEST
Paul Cercueilb5c23aa2017-05-12 18:52:56 +0200383 select GENERIC_PINCONF
384 select GENERIC_PINCTRL_GROUPS
385 select GENERIC_PINMUX_FUNCTIONS
Paul Cercueile72394e2018-08-21 18:42:32 +0200386 select GPIOLIB
387 select GPIOLIB_IRQCHIP
Paul Cercueilb5c23aa2017-05-12 18:52:56 +0200388 select REGMAP_MMIO
389
Joseph Chenea479992017-08-21 03:28:40 +0200390config PINCTRL_RK805
391 tristate "Pinctrl and GPIO driver for RK805 PMIC"
392 depends on MFD_RK808
393 select GPIOLIB
394 select PINMUX
395 select GENERIC_PINCONF
396 help
397 This selects the pinctrl driver for RK805.
398
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100399config PINCTRL_OCELOT
Alexandre Bellonida801ab2018-12-20 15:44:31 +0100400 bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs"
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100401 depends on OF
Linus Walleij2dab3dd2018-12-22 11:15:04 +0100402 depends on HAS_IOMEM
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100403 select GPIOLIB
Quentin Schulzbe36abb2018-07-25 14:26:21 +0200404 select GPIOLIB_IRQCHIP
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100405 select GENERIC_PINCONF
406 select GENERIC_PINCTRL_GROUPS
407 select GENERIC_PINMUX_FUNCTIONS
Alexandre Bellonida801ab2018-12-20 15:44:31 +0100408 select OF_GPIO
Alexandre Bellonice8dc092018-01-06 01:09:26 +0100409 select REGMAP_MMIO
410
Lars Povlsen7e5ea972020-11-13 15:51:50 +0100411config PINCTRL_MICROCHIP_SGPIO
412 bool "Pinctrl driver for Microsemi/Microchip Serial GPIO"
Lars Povlsen552a9cc2020-11-25 13:20:14 +0100413 depends on OF
Lars Povlsen7e5ea972020-11-13 15:51:50 +0100414 depends on HAS_IOMEM
415 select GPIOLIB
Lars Povlsenbe2dc852020-12-09 15:27:51 +0100416 select GPIOLIB_IRQCHIP
Lars Povlsen7e5ea972020-11-13 15:51:50 +0100417 select GENERIC_PINCONF
418 select GENERIC_PINCTRL_GROUPS
419 select GENERIC_PINMUX_FUNCTIONS
Lars Povlsen552a9cc2020-11-25 13:20:14 +0100420 select OF_GPIO
Lars Povlsen7e5ea972020-11-13 15:51:50 +0100421 help
422 Support for the serial GPIO interface used on Microsemi and
423 Microchip SoC's. By using a serial interface, the SIO
424 controller significantly extends the number of available
425 GPIOs with a minimum number of additional pins on the
426 device. The primary purpose of the SIO controller is to
427 connect control signals from SFP modules and to act as an
428 LED controller.
429
Damien Le Moald4c34d02021-01-12 09:58:40 +0900430config PINCTRL_K210
431 bool "Pinctrl driver for the Canaan Kendryte K210 SoC"
432 depends on RISCV && SOC_CANAAN && OF
433 select GENERIC_PINMUX_FUNCTIONS
434 select GENERIC_PINCONF
435 select GPIOLIB
436 select OF_GPIO
437 select REGMAP_MMIO
438 default SOC_CANAAN
439 help
440 Add support for the Canaan Kendryte K210 RISC-V SOC Field
441 Programmable IO Array (FPIOA) controller.
442
Lakshmi Sowjanya Dffd4e732021-08-06 19:55:27 +0530443config PINCTRL_KEEMBAY
444 tristate "Pinctrl driver for Intel Keem Bay SoC"
445 depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST)
446 depends on HAS_IOMEM
447 select PINMUX
448 select PINCONF
449 select GENERIC_PINCONF
450 select GENERIC_PINCTRL_GROUPS
451 select GENERIC_PINMUX_FUNCTIONS
452 select GPIOLIB
453 select GPIOLIB_IRQCHIP
454 select GPIO_GENERIC
455 help
456 This selects pin control driver for the Intel Keembay SoC.
457 It provides pin config functions such as pullup, pulldown,
458 interrupt, drive strength, sec lock, schmitt trigger, slew
459 rate control and direction control. This module will be
460 called as pinctrl-keembay.
461
Manivannan Sadhasivam2242ddf2018-04-04 22:52:52 +0530462source "drivers/pinctrl/actions/Kconfig"
Andrew Jeffery4d3d0e422016-08-30 17:24:24 +0930463source "drivers/pinctrl/aspeed/Kconfig"
Ray Juib17f2f92015-03-04 16:35:49 -0800464source "drivers/pinctrl/bcm/Kconfig"
Antoine Tenart3de68d32014-05-19 19:36:29 +0200465source "drivers/pinctrl/berlin/Kconfig"
Linus Walleijedad3b22014-09-03 13:37:38 +0200466source "drivers/pinctrl/freescale/Kconfig"
Mika Westerberg5fae8b82014-10-24 15:16:52 +0300467source "drivers/pinctrl/intel/Kconfig"
Thomas Petazzoni06763c72012-10-24 23:38:58 +0200468source "drivers/pinctrl/mvebu/Kconfig"
Linus Walleij3a198052014-07-11 14:57:06 +0200469source "drivers/pinctrl/nomadik/Kconfig"
Tomer Maimon3b588e42018-08-08 12:25:26 +0300470source "drivers/pinctrl/nuvoton/Kconfig"
Robert Jarzmik4b15ec92015-11-21 19:04:53 +0100471source "drivers/pinctrl/pxa/Kconfig"
Linus Walleij69b78b82014-07-09 13:55:12 +0200472source "drivers/pinctrl/qcom/Kconfig"
Sergio Paracuellos518b4662020-12-08 08:55:23 +0100473source "drivers/pinctrl/ralink/Kconfig"
Geert Uytterhoeven077365a2020-09-09 15:15:33 +0200474source "drivers/pinctrl/renesas/Kconfig"
Sachin Kamatebe629a2014-07-10 17:33:27 +0530475source "drivers/pinctrl/samsung/Kconfig"
Viresh Kumardeda8282012-03-28 22:27:07 +0530476source "drivers/pinctrl/spear/Kconfig"
Baolin Wang41d32cf2017-08-17 14:50:38 +0800477source "drivers/pinctrl/sprd/Kconfig"
Maxime Coquelinaceb16d2016-01-14 13:16:30 +0100478source "drivers/pinctrl/stm32/Kconfig"
Maxime Ripard5f910772014-04-18 18:53:02 +0200479source "drivers/pinctrl/sunxi/Kconfig"
Masahiro Yamada25cbac72016-01-24 00:30:08 +0900480source "drivers/pinctrl/tegra/Kconfig"
Nishanth Menon003910e2017-01-05 10:54:14 -0800481source "drivers/pinctrl/ti/Kconfig"
Masahiro Yamada6e908892015-07-14 11:40:01 +0900482source "drivers/pinctrl/uniphier/Kconfig"
Tony Prisk170c6152013-02-20 09:32:19 +1300483source "drivers/pinctrl/vt8500/Kconfig"
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800484source "drivers/pinctrl/mediatek/Kconfig"
Jerome Brunet277d14e2017-10-12 14:40:25 +0200485source "drivers/pinctrl/meson/Kconfig"
Richard Fitzgerald218d72a2018-05-21 11:00:01 +0100486source "drivers/pinctrl/cirrus/Kconfig"
Nobuhiro Iwamatsua68a7842020-09-10 05:43:30 +0900487source "drivers/pinctrl/visconti/Kconfig"
Viresh Kumardeda8282012-03-28 22:27:07 +0530488
John Crispin3f8c50c2012-08-28 12:44:59 +0200489config PINCTRL_XWAY
490 bool
491 depends on SOC_TYPE_XWAY
492 depends on PINCTRL_LANTIQ
493
Christian Ruppert5aad0db2013-10-15 15:39:38 +0200494config PINCTRL_TB10X
495 bool
Linus Walleijb99e6fb2015-04-15 10:00:35 +0200496 depends on OF && ARC_PLAT_TB10X
497 select GPIOLIB
Christian Ruppert5aad0db2013-10-15 15:39:38 +0200498
Rahul Tanwar1948d5c2019-11-15 17:25:07 +0800499config PINCTRL_EQUILIBRIUM
500 tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
Paul Cercueil9e655272019-12-10 17:44:46 +0100501 depends on OF && HAS_IOMEM
Geert Uytterhoeven80691a82020-05-07 13:36:25 +0200502 depends on X86 || COMPILE_TEST
Rahul Tanwar1948d5c2019-11-15 17:25:07 +0800503 select PINMUX
504 select PINCONF
505 select GPIOLIB
506 select GPIO_GENERIC
507 select GPIOLIB_IRQCHIP
508 select GENERIC_PINCONF
509 select GENERIC_PINCTRL_GROUPS
510 select GENERIC_PINMUX_FUNCTIONS
511
512 help
513 Equilibrium pinctrl driver is a pinctrl & GPIO driver for Intel Lightning
514 Mountain network processor SoC that supports both the linux GPIO and pin
515 control frameworks. It provides interfaces to setup pinmux, assign desired
516 pin functions, configure GPIO attributes for LGM SoC pins. Pinmux and
517 pinconf settings are retrieved from device tree.
518
Phil Reidd219b922017-10-06 13:08:05 +0800519endif