Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 2 | # |
| 3 | # PINCTRL infrastructure and drivers |
| 4 | # |
| 5 | |
Phil Reid | d219b92 | 2017-10-06 13:08:05 +0800 | [diff] [blame] | 6 | menuconfig PINCTRL |
| 7 | bool "Pin controllers" |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 8 | |
Phil Reid | d219b92 | 2017-10-06 13:08:05 +0800 | [diff] [blame] | 9 | if PINCTRL |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 10 | |
Linus Walleij | c033a71 | 2016-12-30 15:04:43 +0100 | [diff] [blame] | 11 | config GENERIC_PINCTRL_GROUPS |
Tony Lindgren | c7059c5 | 2016-12-27 09:20:00 -0800 | [diff] [blame] | 12 | bool |
| 13 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 14 | config PINMUX |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 15 | bool "Support pin multiplexing controllers" if COMPILE_TEST |
Linus Walleij | ae6b4d8 | 2011-10-19 18:14:33 +0200 | [diff] [blame] | 16 | |
Tony Lindgren | a76edc8 | 2016-12-27 09:20:01 -0800 | [diff] [blame] | 17 | config GENERIC_PINMUX_FUNCTIONS |
| 18 | bool |
| 19 | select PINMUX |
| 20 | |
Linus Walleij | ae6b4d8 | 2011-10-19 18:14:33 +0200 | [diff] [blame] | 21 | config PINCONF |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 22 | bool "Support pin configuration controllers" if COMPILE_TEST |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 23 | |
Linus Walleij | 394349f | 2011-11-24 18:27:15 +0100 | [diff] [blame] | 24 | config GENERIC_PINCONF |
| 25 | bool |
| 26 | select PINCONF |
| 27 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 28 | config 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 Gouly | a0f160f | 2021-10-26 18:58:14 +0100 | [diff] [blame^] | 34 | config 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 Nilsson | 00df058 | 2017-04-03 14:47:04 +0200 | [diff] [blame] | 50 | config PINCTRL_ARTPEC6 |
Krzysztof Kozlowski | 2635adb | 2019-11-21 04:19:41 +0100 | [diff] [blame] | 51 | 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 Nilsson | 00df058 | 2017-04-03 14:47:04 +0200 | [diff] [blame] | 60 | |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 61 | config PINCTRL_AS3722 |
Paul Gortmaker | 9385f35 | 2016-06-13 17:10:22 -0400 | [diff] [blame] | 62 | tristate "Pinctrl and GPIO driver for ams AS3722 PMIC" |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 63 | 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 Schulz | 449317a8 | 2017-12-05 15:46:40 +0100 | [diff] [blame] | 72 | config PINCTRL_AXP209 |
| 73 | tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" |
| 74 | depends on MFD_AXP20X |
Quentin Schulz | 971f1b3 | 2017-12-14 10:43:35 +0100 | [diff] [blame] | 75 | depends on OF |
| 76 | select PINMUX |
| 77 | select GENERIC_PINCONF |
| 78 | select GPIOLIB |
Quentin Schulz | 449317a8 | 2017-12-05 15:46:40 +0100 | [diff] [blame] | 79 | 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-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 86 | config PINCTRL_AT91 |
| 87 | bool "AT91 pinctrl driver" |
| 88 | depends on OF |
| 89 | depends on ARCH_AT91 |
| 90 | select PINMUX |
| 91 | select PINCONF |
Alexander Stein | 80cc373 | 2014-04-15 22:09:41 +0200 | [diff] [blame] | 92 | select GPIOLIB |
| 93 | select OF_GPIO |
| 94 | select GPIOLIB_IRQCHIP |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 95 | help |
| 96 | Say Y here to enable the at91 pinctrl driver |
| 97 | |
Ludovic Desroches | 7761808 | 2015-09-16 17:36:57 +0200 | [diff] [blame] | 98 | config PINCTRL_AT91PIO4 |
| 99 | bool "AT91 PIO4 pinctrl driver" |
| 100 | depends on OF |
Tiezhu Yang | 0a03658 | 2020-11-24 17:17:03 +0800 | [diff] [blame] | 101 | depends on HAS_IOMEM |
Tiezhu Yang | e682fcc | 2020-05-23 19:45:26 +0800 | [diff] [blame] | 102 | depends on ARCH_AT91 || COMPILE_TEST |
Ludovic Desroches | 7761808 | 2015-09-16 17:36:57 +0200 | [diff] [blame] | 103 | 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 Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 112 | config PINCTRL_AMD |
Jean Delvare | 337ea0f | 2016-02-11 12:06:37 +0100 | [diff] [blame] | 113 | tristate "AMD GPIO pin control" |
Linus Walleij | fd35b20 | 2017-11-13 11:04:27 +0100 | [diff] [blame] | 114 | depends on HAS_IOMEM |
Geert Uytterhoeven | 47fa5c9 | 2020-05-07 13:37:51 +0200 | [diff] [blame] | 115 | depends on ACPI || COMPILE_TEST |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 116 | select GPIOLIB |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 117 | select GPIOLIB_IRQCHIP |
Petr Mladek | 83b31c2 | 2017-09-26 15:51:28 +0200 | [diff] [blame] | 118 | select PINMUX |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 119 | 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 Sadhasivam | 8f3f024 | 2019-04-24 17:32:23 +0530 | [diff] [blame] | 130 | config PINCTRL_BM1880 |
| 131 | bool "Bitmain BM1880 Pinctrl driver" |
Manivannan Sadhasivam | 8293b3c | 2019-04-25 14:02:24 +0530 | [diff] [blame] | 132 | depends on OF && (ARCH_BITMAIN || COMPILE_TEST) |
| 133 | default ARCH_BITMAIN |
Manivannan Sadhasivam | 8f3f024 | 2019-04-24 17:32:23 +0530 | [diff] [blame] | 134 | select PINMUX |
| 135 | help |
| 136 | Pinctrl driver for Bitmain BM1880 SoC. |
| 137 | |
David Lechner | 1ff91f0 | 2016-11-28 10:40:25 -0600 | [diff] [blame] | 138 | config 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 Felsch | 56cc3af | 2020-01-08 11:47:46 +0100 | [diff] [blame] | 147 | config 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 Siach | 38b0e50 | 2015-05-05 13:55:10 +0300 | [diff] [blame] | 159 | config PINCTRL_DIGICOLOR |
| 160 | bool |
| 161 | depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST) |
| 162 | select PINMUX |
| 163 | select GENERIC_PINCONF |
| 164 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 165 | config PINCTRL_LANTIQ |
| 166 | bool |
| 167 | depends on LANTIQ |
| 168 | select PINMUX |
| 169 | select PINCONF |
| 170 | |
Joachim Eastwood | 2f77ac9 | 2015-04-28 00:14:08 +0200 | [diff] [blame] | 171 | config 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 Crispin | e316cb2 | 2012-05-20 00:33:56 +0200 | [diff] [blame] | 180 | config PINCTRL_FALCON |
| 181 | bool |
| 182 | depends on SOC_FALCON |
| 183 | depends on PINCTRL_LANTIQ |
| 184 | |
Linus Walleij | 06351d1 | 2017-08-05 23:04:08 +0200 | [diff] [blame] | 185 | config PINCTRL_GEMINI |
| 186 | bool |
| 187 | depends on ARCH_GEMINI |
| 188 | default ARCH_GEMINI |
| 189 | select PINMUX |
Linus Walleij | 1c5b7f3 | 2017-10-28 15:37:18 +0200 | [diff] [blame] | 190 | select GENERIC_PINCONF |
Linus Walleij | 06351d1 | 2017-08-05 23:04:08 +0200 | [diff] [blame] | 191 | select MFD_SYSCON |
| 192 | |
Andy Shevchenko | 0f04a81 | 2020-04-07 20:38:49 +0300 | [diff] [blame] | 193 | config PINCTRL_MCP23S08_I2C |
| 194 | tristate |
| 195 | select REGMAP_I2C |
| 196 | |
| 197 | config PINCTRL_MCP23S08_SPI |
| 198 | tristate |
| 199 | select REGMAP_SPI |
| 200 | |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 201 | config PINCTRL_MCP23S08 |
| 202 | tristate "Microchip MCP23xxx I/O expander" |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 203 | depends on SPI_MASTER || I2C |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 204 | select GPIOLIB |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 205 | select GPIOLIB_IRQCHIP |
Sebastian Reichel | 82039d2 | 2017-05-15 11:24:26 +0200 | [diff] [blame] | 206 | select GENERIC_PINCONF |
Andy Shevchenko | 0f04a81 | 2020-04-07 20:38:49 +0300 | [diff] [blame] | 207 | select PINCTRL_MCP23S08_I2C if I2C |
| 208 | select PINCTRL_MCP23S08_SPI if SPI_MASTER |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 209 | help |
Jan Kundrát | 6ff4556 | 2018-02-15 15:56:03 +0100 | [diff] [blame] | 210 | 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 Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 214 | |
Neil Armstrong | 611dac1 | 2016-05-11 09:34:21 +0200 | [diff] [blame] | 215 | config 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übner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 226 | config PINCTRL_ROCKCHIP |
Jianqun Xu | be786ac | 2021-03-05 08:39:07 +0800 | [diff] [blame] | 227 | tristate "Rockchip gpio and pinctrl driver" |
Geert Uytterhoeven | febb4ee | 2021-03-16 14:40:59 +0100 | [diff] [blame] | 228 | depends on ARCH_ROCKCHIP || COMPILE_TEST |
Heiko Stuebner | 0662e4a | 2020-09-05 23:49:55 +0200 | [diff] [blame] | 229 | depends on OF |
Jianqun Xu | 25fda51c | 2021-03-05 08:39:06 +0800 | [diff] [blame] | 230 | select GPIOLIB |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 231 | select PINMUX |
| 232 | select GENERIC_PINCONF |
| 233 | select GENERIC_IRQ_CHIP |
Heiko Stübner | 751a99a | 2014-05-05 13:58:20 +0200 | [diff] [blame] | 234 | select MFD_SYSCON |
Heiko Stuebner | 0662e4a | 2020-09-05 23:49:55 +0200 | [diff] [blame] | 235 | select OF_GPIO |
Jianqun Xu | 25fda51c | 2021-03-05 08:39:06 +0800 | [diff] [blame] | 236 | default ARCH_ROCKCHIP |
| 237 | help |
| 238 | This support pinctrl and gpio driver for Rockchip SoCs. |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 239 | |
Tony Lindgren | 8b8b091b | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 240 | config PINCTRL_SINGLE |
| 241 | tristate "One-register-per-pin type device tree based pinctrl driver" |
| 242 | depends on OF |
Linus Walleij | fd35b20 | 2017-11-13 11:04:27 +0100 | [diff] [blame] | 243 | depends on HAS_IOMEM |
Tony Lindgren | caeb774 | 2016-12-27 09:20:02 -0800 | [diff] [blame] | 244 | select GENERIC_PINCTRL_GROUPS |
Tony Lindgren | 571aec4 | 2016-12-27 09:20:03 -0800 | [diff] [blame] | 245 | select GENERIC_PINMUX_FUNCTIONS |
Haojian Zhuang | 9dddb4d | 2013-02-17 19:42:55 +0800 | [diff] [blame] | 246 | select GENERIC_PINCONF |
Tony Lindgren | 8b8b091b | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 247 | help |
| 248 | This selects the device tree based generic pinctrl driver. |
| 249 | |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 250 | config PINCTRL_SX150X |
| 251 | bool "Semtech SX150x I2C GPIO expander pinctrl driver" |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 252 | depends on I2C=y |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 253 | select PINMUX |
| 254 | select PINCONF |
| 255 | select GENERIC_PINCONF |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 256 | select GPIOLIB |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 257 | select GPIOLIB_IRQCHIP |
Andrey Smirnov | 0db0f26 | 2016-11-07 08:53:16 -0800 | [diff] [blame] | 258 | select REGMAP |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 259 | 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 Bresticker | cefc03e | 2015-05-06 12:59:03 -0700 | [diff] [blame] | 266 | config PINCTRL_PISTACHIO |
Jiaxun Yang | 6ceb3c6 | 2021-07-21 11:01:31 +0800 | [diff] [blame] | 267 | bool "IMG Pistachio SoC pinctrl driver" |
| 268 | depends on OF && (MIPS || COMPILE_TEST) |
Andrew Bresticker | cefc03e | 2015-05-06 12:59:03 -0700 | [diff] [blame] | 269 | depends on GPIOLIB |
| 270 | select PINMUX |
| 271 | select GENERIC_PINCONF |
| 272 | select GPIOLIB_IRQCHIP |
| 273 | select OF_GPIO |
Jiaxun Yang | 6ceb3c6 | 2021-07-21 11:01:31 +0800 | [diff] [blame] | 274 | help |
| 275 | This support pinctrl and gpio driver for IMG Pistachio SoC. |
Andrew Bresticker | cefc03e | 2015-05-06 12:59:03 -0700 | [diff] [blame] | 276 | |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 277 | config PINCTRL_ST |
| 278 | bool |
| 279 | depends on OF |
| 280 | select PINMUX |
| 281 | select PINCONF |
Linus Walleij | 130cbe3 | 2014-04-08 14:45:47 +0200 | [diff] [blame] | 282 | select GPIOLIB_IRQCHIP |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 283 | |
Amelie Delaunay | 1490d9f | 2019-05-09 10:58:51 +0200 | [diff] [blame] | 284 | config PINCTRL_STMFX |
| 285 | tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" |
Amelie Delaunay | 9af2de7 | 2019-05-10 15:39:18 +0200 | [diff] [blame] | 286 | depends on I2C |
Amelie Delaunay | ec2e0f4 | 2019-05-24 09:32:05 +0200 | [diff] [blame] | 287 | depends on OF_GPIO |
Amelie Delaunay | 1490d9f | 2019-05-09 10:58:51 +0200 | [diff] [blame] | 288 | select GENERIC_PINCONF |
| 289 | select GPIOLIB_IRQCHIP |
| 290 | select MFD_STMFX |
| 291 | help |
| 292 | Driver for STMicroelectronics Multi-Function eXpander (STMFX) |
| 293 | GPIO expander. |
| 294 | This provides a GPIO interface supporting inputs and outputs, |
| 295 | and configuring push-pull, open-drain, and can also be used as |
| 296 | interrupt-controller. |
| 297 | |
Laxman Dewangan | 2df723d4 | 2016-05-13 10:49:15 +0530 | [diff] [blame] | 298 | config PINCTRL_MAX77620 |
| 299 | tristate "MAX77620/MAX20024 Pincontrol support" |
Arnd Bergmann | 24d6a91 | 2016-10-28 10:19:05 +0200 | [diff] [blame] | 300 | depends on MFD_MAX77620 && OF |
Arnd Bergmann | 79f28b9 | 2016-06-13 17:18:35 +0200 | [diff] [blame] | 301 | select PINMUX |
Laxman Dewangan | 2df723d4 | 2016-05-13 10:49:15 +0530 | [diff] [blame] | 302 | select GENERIC_PINCONF |
| 303 | help |
| 304 | Say Yes here to enable Pin control support for Maxim PMIC MAX77620. |
| 305 | This PMIC has 8 GPIO pins that work as GPIO as well as special |
| 306 | function in alternate mode. This driver also configure push-pull, |
| 307 | open drain, FPS slots etc. |
| 308 | |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 309 | config PINCTRL_PALMAS |
Paul Gortmaker | 767b8ce | 2016-06-13 17:10:21 -0400 | [diff] [blame] | 310 | tristate "Pinctrl driver for the PALMAS Series MFD devices" |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 311 | depends on OF && MFD_PALMAS |
Axel Lin | 63ca8db | 2013-08-22 14:30:08 +0800 | [diff] [blame] | 312 | select PINMUX |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 313 | select GENERIC_PINCONF |
| 314 | help |
| 315 | Palmas device supports the configuration of pins for different |
| 316 | functionality. This driver supports the pinmux, push-pull and |
| 317 | open drain configuration for the Palmas series devices like |
| 318 | TPS65913, TPS80036 etc. |
| 319 | |
Joshua Henderson | 2ba384e | 2016-02-01 15:48:30 -0700 | [diff] [blame] | 320 | config PINCTRL_PIC32 |
| 321 | bool "Microchip PIC32 pin controller driver" |
| 322 | depends on OF |
| 323 | depends on MACH_PIC32 |
| 324 | select PINMUX |
| 325 | select GENERIC_PINCONF |
| 326 | select GPIOLIB_IRQCHIP |
| 327 | select OF_GPIO |
| 328 | help |
| 329 | This is the pin controller and gpio driver for Microchip PIC32 |
| 330 | microcontrollers. This option is selected automatically when specific |
| 331 | machine and arch are selected to build. |
| 332 | |
| 333 | config PINCTRL_PIC32MZDA |
| 334 | def_bool y if PIC32MZDA |
| 335 | select PINCTRL_PIC32 |
| 336 | |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 337 | config PINCTRL_ZYNQ |
| 338 | bool "Pinctrl driver for Xilinx Zynq" |
| 339 | depends on ARCH_ZYNQ |
| 340 | select PINMUX |
| 341 | select GENERIC_PINCONF |
| 342 | help |
Masahiro Yamada | 485dba2 | 2015-11-30 16:57:35 +0900 | [diff] [blame] | 343 | This selects the pinctrl driver for Xilinx Zynq. |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 344 | |
Sai Krishna Potthuri | 8b242ca | 2021-04-22 14:00:02 +0530 | [diff] [blame] | 345 | config PINCTRL_ZYNQMP |
| 346 | tristate "Pinctrl driver for Xilinx ZynqMP" |
| 347 | depends on ZYNQMP_FIRMWARE |
| 348 | select PINMUX |
| 349 | select GENERIC_PINCONF |
| 350 | default ZYNQMP_FIRMWARE |
| 351 | help |
| 352 | This selects the pinctrl driver for Xilinx ZynqMP platform. |
| 353 | This driver will query the pin information from the firmware |
| 354 | and allow configuring the pins. |
| 355 | Configuration can include the mux function to select on those |
| 356 | pin(s)/group(s), and various pin configuration parameters |
| 357 | such as pull-up, slew rate, etc. |
Sai Krishna Potthuri | fa99e70 | 2021-06-21 16:30:14 +0530 | [diff] [blame] | 358 | This driver can also be built as a module. If so, the module |
| 359 | will be called pinctrl-zynqmp. |
Sai Krishna Potthuri | 8b242ca | 2021-04-22 14:00:02 +0530 | [diff] [blame] | 360 | |
Paul Cercueil | b5c23aa | 2017-05-12 18:52:56 +0200 | [diff] [blame] | 361 | config PINCTRL_INGENIC |
| 362 | bool "Pinctrl driver for the Ingenic JZ47xx SoCs" |
Paul Cercueil | 635c20a | 2018-08-21 18:42:35 +0200 | [diff] [blame] | 363 | default MACH_INGENIC |
Linus Walleij | c504985 | 2017-05-29 13:40:45 +0200 | [diff] [blame] | 364 | depends on OF |
Paul Cercueil | 635c20a | 2018-08-21 18:42:35 +0200 | [diff] [blame] | 365 | depends on MIPS || COMPILE_TEST |
Paul Cercueil | b5c23aa | 2017-05-12 18:52:56 +0200 | [diff] [blame] | 366 | select GENERIC_PINCONF |
| 367 | select GENERIC_PINCTRL_GROUPS |
| 368 | select GENERIC_PINMUX_FUNCTIONS |
Paul Cercueil | e72394e | 2018-08-21 18:42:32 +0200 | [diff] [blame] | 369 | select GPIOLIB |
| 370 | select GPIOLIB_IRQCHIP |
Paul Cercueil | b5c23aa | 2017-05-12 18:52:56 +0200 | [diff] [blame] | 371 | select REGMAP_MMIO |
| 372 | |
Joseph Chen | ea47999 | 2017-08-21 03:28:40 +0200 | [diff] [blame] | 373 | config PINCTRL_RK805 |
| 374 | tristate "Pinctrl and GPIO driver for RK805 PMIC" |
| 375 | depends on MFD_RK808 |
| 376 | select GPIOLIB |
| 377 | select PINMUX |
| 378 | select GENERIC_PINCONF |
| 379 | help |
| 380 | This selects the pinctrl driver for RK805. |
| 381 | |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 382 | config PINCTRL_OCELOT |
Alexandre Belloni | da801ab | 2018-12-20 15:44:31 +0100 | [diff] [blame] | 383 | bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs" |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 384 | depends on OF |
Linus Walleij | 2dab3dd | 2018-12-22 11:15:04 +0100 | [diff] [blame] | 385 | depends on HAS_IOMEM |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 386 | select GPIOLIB |
Quentin Schulz | be36abb | 2018-07-25 14:26:21 +0200 | [diff] [blame] | 387 | select GPIOLIB_IRQCHIP |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 388 | select GENERIC_PINCONF |
| 389 | select GENERIC_PINCTRL_GROUPS |
| 390 | select GENERIC_PINMUX_FUNCTIONS |
Alexandre Belloni | da801ab | 2018-12-20 15:44:31 +0100 | [diff] [blame] | 391 | select OF_GPIO |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 392 | select REGMAP_MMIO |
| 393 | |
Lars Povlsen | 7e5ea97 | 2020-11-13 15:51:50 +0100 | [diff] [blame] | 394 | config PINCTRL_MICROCHIP_SGPIO |
| 395 | bool "Pinctrl driver for Microsemi/Microchip Serial GPIO" |
Lars Povlsen | 552a9cc | 2020-11-25 13:20:14 +0100 | [diff] [blame] | 396 | depends on OF |
Lars Povlsen | 7e5ea97 | 2020-11-13 15:51:50 +0100 | [diff] [blame] | 397 | depends on HAS_IOMEM |
| 398 | select GPIOLIB |
Lars Povlsen | be2dc85 | 2020-12-09 15:27:51 +0100 | [diff] [blame] | 399 | select GPIOLIB_IRQCHIP |
Lars Povlsen | 7e5ea97 | 2020-11-13 15:51:50 +0100 | [diff] [blame] | 400 | select GENERIC_PINCONF |
| 401 | select GENERIC_PINCTRL_GROUPS |
| 402 | select GENERIC_PINMUX_FUNCTIONS |
Lars Povlsen | 552a9cc | 2020-11-25 13:20:14 +0100 | [diff] [blame] | 403 | select OF_GPIO |
Lars Povlsen | 7e5ea97 | 2020-11-13 15:51:50 +0100 | [diff] [blame] | 404 | help |
| 405 | Support for the serial GPIO interface used on Microsemi and |
| 406 | Microchip SoC's. By using a serial interface, the SIO |
| 407 | controller significantly extends the number of available |
| 408 | GPIOs with a minimum number of additional pins on the |
| 409 | device. The primary purpose of the SIO controller is to |
| 410 | connect control signals from SFP modules and to act as an |
| 411 | LED controller. |
| 412 | |
Damien Le Moal | d4c34d0 | 2021-01-12 09:58:40 +0900 | [diff] [blame] | 413 | config PINCTRL_K210 |
| 414 | bool "Pinctrl driver for the Canaan Kendryte K210 SoC" |
| 415 | depends on RISCV && SOC_CANAAN && OF |
| 416 | select GENERIC_PINMUX_FUNCTIONS |
| 417 | select GENERIC_PINCONF |
| 418 | select GPIOLIB |
| 419 | select OF_GPIO |
| 420 | select REGMAP_MMIO |
| 421 | default SOC_CANAAN |
| 422 | help |
| 423 | Add support for the Canaan Kendryte K210 RISC-V SOC Field |
| 424 | Programmable IO Array (FPIOA) controller. |
| 425 | |
Lakshmi Sowjanya D | ffd4e73 | 2021-08-06 19:55:27 +0530 | [diff] [blame] | 426 | config PINCTRL_KEEMBAY |
| 427 | tristate "Pinctrl driver for Intel Keem Bay SoC" |
| 428 | depends on ARCH_KEEMBAY || (ARM64 && COMPILE_TEST) |
| 429 | depends on HAS_IOMEM |
| 430 | select PINMUX |
| 431 | select PINCONF |
| 432 | select GENERIC_PINCONF |
| 433 | select GENERIC_PINCTRL_GROUPS |
| 434 | select GENERIC_PINMUX_FUNCTIONS |
| 435 | select GPIOLIB |
| 436 | select GPIOLIB_IRQCHIP |
| 437 | select GPIO_GENERIC |
| 438 | help |
| 439 | This selects pin control driver for the Intel Keembay SoC. |
| 440 | It provides pin config functions such as pullup, pulldown, |
| 441 | interrupt, drive strength, sec lock, schmitt trigger, slew |
| 442 | rate control and direction control. This module will be |
| 443 | called as pinctrl-keembay. |
| 444 | |
Manivannan Sadhasivam | 2242ddf | 2018-04-04 22:52:52 +0530 | [diff] [blame] | 445 | source "drivers/pinctrl/actions/Kconfig" |
Andrew Jeffery | 4d3d0e42 | 2016-08-30 17:24:24 +0930 | [diff] [blame] | 446 | source "drivers/pinctrl/aspeed/Kconfig" |
Ray Jui | b17f2f9 | 2015-03-04 16:35:49 -0800 | [diff] [blame] | 447 | source "drivers/pinctrl/bcm/Kconfig" |
Antoine Tenart | 3de68d3 | 2014-05-19 19:36:29 +0200 | [diff] [blame] | 448 | source "drivers/pinctrl/berlin/Kconfig" |
Linus Walleij | edad3b2 | 2014-09-03 13:37:38 +0200 | [diff] [blame] | 449 | source "drivers/pinctrl/freescale/Kconfig" |
Mika Westerberg | 5fae8b8 | 2014-10-24 15:16:52 +0300 | [diff] [blame] | 450 | source "drivers/pinctrl/intel/Kconfig" |
Thomas Petazzoni | 06763c7 | 2012-10-24 23:38:58 +0200 | [diff] [blame] | 451 | source "drivers/pinctrl/mvebu/Kconfig" |
Linus Walleij | 3a19805 | 2014-07-11 14:57:06 +0200 | [diff] [blame] | 452 | source "drivers/pinctrl/nomadik/Kconfig" |
Tomer Maimon | 3b588e4 | 2018-08-08 12:25:26 +0300 | [diff] [blame] | 453 | source "drivers/pinctrl/nuvoton/Kconfig" |
Robert Jarzmik | 4b15ec9 | 2015-11-21 19:04:53 +0100 | [diff] [blame] | 454 | source "drivers/pinctrl/pxa/Kconfig" |
Linus Walleij | 69b78b8 | 2014-07-09 13:55:12 +0200 | [diff] [blame] | 455 | source "drivers/pinctrl/qcom/Kconfig" |
Sergio Paracuellos | 518b466 | 2020-12-08 08:55:23 +0100 | [diff] [blame] | 456 | source "drivers/pinctrl/ralink/Kconfig" |
Geert Uytterhoeven | 077365a | 2020-09-09 15:15:33 +0200 | [diff] [blame] | 457 | source "drivers/pinctrl/renesas/Kconfig" |
Sachin Kamat | ebe629a | 2014-07-10 17:33:27 +0530 | [diff] [blame] | 458 | source "drivers/pinctrl/samsung/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 459 | source "drivers/pinctrl/spear/Kconfig" |
Baolin Wang | 41d32cf | 2017-08-17 14:50:38 +0800 | [diff] [blame] | 460 | source "drivers/pinctrl/sprd/Kconfig" |
Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 461 | source "drivers/pinctrl/stm32/Kconfig" |
Maxime Ripard | 5f91077 | 2014-04-18 18:53:02 +0200 | [diff] [blame] | 462 | source "drivers/pinctrl/sunxi/Kconfig" |
Masahiro Yamada | 25cbac7 | 2016-01-24 00:30:08 +0900 | [diff] [blame] | 463 | source "drivers/pinctrl/tegra/Kconfig" |
Nishanth Menon | 003910e | 2017-01-05 10:54:14 -0800 | [diff] [blame] | 464 | source "drivers/pinctrl/ti/Kconfig" |
Masahiro Yamada | 6e90889 | 2015-07-14 11:40:01 +0900 | [diff] [blame] | 465 | source "drivers/pinctrl/uniphier/Kconfig" |
Tony Prisk | 170c615 | 2013-02-20 09:32:19 +1300 | [diff] [blame] | 466 | source "drivers/pinctrl/vt8500/Kconfig" |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 467 | source "drivers/pinctrl/mediatek/Kconfig" |
Jerome Brunet | 277d14e | 2017-10-12 14:40:25 +0200 | [diff] [blame] | 468 | source "drivers/pinctrl/meson/Kconfig" |
Richard Fitzgerald | 218d72a | 2018-05-21 11:00:01 +0100 | [diff] [blame] | 469 | source "drivers/pinctrl/cirrus/Kconfig" |
Nobuhiro Iwamatsu | a68a784 | 2020-09-10 05:43:30 +0900 | [diff] [blame] | 470 | source "drivers/pinctrl/visconti/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 471 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 472 | config PINCTRL_XWAY |
| 473 | bool |
| 474 | depends on SOC_TYPE_XWAY |
| 475 | depends on PINCTRL_LANTIQ |
| 476 | |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 477 | config PINCTRL_TB10X |
| 478 | bool |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 479 | depends on OF && ARC_PLAT_TB10X |
| 480 | select GPIOLIB |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 481 | |
Rahul Tanwar | 1948d5c | 2019-11-15 17:25:07 +0800 | [diff] [blame] | 482 | config PINCTRL_EQUILIBRIUM |
| 483 | tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC" |
Paul Cercueil | 9e65527 | 2019-12-10 17:44:46 +0100 | [diff] [blame] | 484 | depends on OF && HAS_IOMEM |
Geert Uytterhoeven | 80691a8 | 2020-05-07 13:36:25 +0200 | [diff] [blame] | 485 | depends on X86 || COMPILE_TEST |
Rahul Tanwar | 1948d5c | 2019-11-15 17:25:07 +0800 | [diff] [blame] | 486 | select PINMUX |
| 487 | select PINCONF |
| 488 | select GPIOLIB |
| 489 | select GPIO_GENERIC |
| 490 | select GPIOLIB_IRQCHIP |
| 491 | select GENERIC_PINCONF |
| 492 | select GENERIC_PINCTRL_GROUPS |
| 493 | select GENERIC_PINMUX_FUNCTIONS |
| 494 | |
| 495 | help |
| 496 | Equilibrium pinctrl driver is a pinctrl & GPIO driver for Intel Lightning |
| 497 | Mountain network processor SoC that supports both the linux GPIO and pin |
| 498 | control frameworks. It provides interfaces to setup pinmux, assign desired |
| 499 | pin functions, configure GPIO attributes for LGM SoC pins. Pinmux and |
| 500 | pinconf settings are retrieved from device tree. |
| 501 | |
Phil Reid | d219b92 | 2017-10-06 13:08:05 +0800 | [diff] [blame] | 502 | endif |