Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 1 | # |
| 2 | # PINCTRL infrastructure and drivers |
| 3 | # |
| 4 | |
Phil Reid | d219b92 | 2017-10-06 13:08:05 +0800 | [diff] [blame] | 5 | menuconfig PINCTRL |
| 6 | bool "Pin controllers" |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 7 | |
Phil Reid | d219b92 | 2017-10-06 13:08:05 +0800 | [diff] [blame] | 8 | if PINCTRL |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 9 | |
Linus Walleij | c033a71 | 2016-12-30 15:04:43 +0100 | [diff] [blame] | 10 | config GENERIC_PINCTRL_GROUPS |
Tony Lindgren | c7059c5 | 2016-12-27 09:20:00 -0800 | [diff] [blame] | 11 | bool |
| 12 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 13 | config PINMUX |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 14 | bool "Support pin multiplexing controllers" if COMPILE_TEST |
Linus Walleij | ae6b4d8 | 2011-10-19 18:14:33 +0200 | [diff] [blame] | 15 | |
Tony Lindgren | a76edc8 | 2016-12-27 09:20:01 -0800 | [diff] [blame] | 16 | config GENERIC_PINMUX_FUNCTIONS |
| 17 | bool |
| 18 | select PINMUX |
| 19 | |
Linus Walleij | ae6b4d8 | 2011-10-19 18:14:33 +0200 | [diff] [blame] | 20 | config PINCONF |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 21 | bool "Support pin configuration controllers" if COMPILE_TEST |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 22 | |
Linus Walleij | 394349f | 2011-11-24 18:27:15 +0100 | [diff] [blame] | 23 | config GENERIC_PINCONF |
| 24 | bool |
| 25 | select PINCONF |
| 26 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 27 | config DEBUG_PINCTRL |
| 28 | bool "Debug PINCTRL calls" |
| 29 | depends on DEBUG_KERNEL |
| 30 | help |
| 31 | Say Y here to add some extra checks and diagnostics to PINCTRL calls. |
| 32 | |
Jesper Nilsson | 00df058 | 2017-04-03 14:47:04 +0200 | [diff] [blame] | 33 | config PINCTRL_ARTPEC6 |
| 34 | bool "Axis ARTPEC-6 pin controller driver" |
| 35 | depends on MACH_ARTPEC6 |
| 36 | select PINMUX |
| 37 | select GENERIC_PINCONF |
| 38 | help |
| 39 | This is the driver for the Axis ARTPEC-6 pin controller. This driver |
| 40 | supports pin function multiplexing as well as pin bias and drive |
| 41 | strength configuration. Device tree integration instructions can be |
| 42 | found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt |
| 43 | |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 44 | config PINCTRL_AS3722 |
Paul Gortmaker | 9385f35 | 2016-06-13 17:10:22 -0400 | [diff] [blame] | 45 | tristate "Pinctrl and GPIO driver for ams AS3722 PMIC" |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 46 | depends on MFD_AS3722 && GPIOLIB |
| 47 | select PINMUX |
| 48 | select GENERIC_PINCONF |
| 49 | help |
| 50 | AS3722 device supports the configuration of GPIO pins for different |
| 51 | functionality. This driver supports the pinmux, push-pull and |
| 52 | open drain configuration for the GPIO pins of AS3722 devices. It also |
| 53 | supports the GPIO functionality through gpiolib. |
| 54 | |
Quentin Schulz | 449317a8 | 2017-12-05 15:46:40 +0100 | [diff] [blame] | 55 | config PINCTRL_AXP209 |
| 56 | tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support" |
| 57 | depends on MFD_AXP20X |
Quentin Schulz | 971f1b3 | 2017-12-14 10:43:35 +0100 | [diff] [blame] | 58 | depends on OF |
| 59 | select PINMUX |
| 60 | select GENERIC_PINCONF |
| 61 | select GPIOLIB |
Quentin Schulz | 449317a8 | 2017-12-05 15:46:40 +0100 | [diff] [blame] | 62 | help |
| 63 | AXP PMICs provides multiple GPIOs that can be muxed for different |
| 64 | functions. This driver bundles a pinctrl driver to select the function |
| 65 | muxing and a GPIO driver to handle the GPIO when the GPIO function is |
| 66 | selected. |
| 67 | Say yes to enable pinctrl and GPIO support for the AXP209 PMIC |
| 68 | |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 69 | config PINCTRL_AT91 |
| 70 | bool "AT91 pinctrl driver" |
| 71 | depends on OF |
| 72 | depends on ARCH_AT91 |
| 73 | select PINMUX |
| 74 | select PINCONF |
Alexander Stein | 80cc373 | 2014-04-15 22:09:41 +0200 | [diff] [blame] | 75 | select GPIOLIB |
| 76 | select OF_GPIO |
| 77 | select GPIOLIB_IRQCHIP |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 78 | help |
| 79 | Say Y here to enable the at91 pinctrl driver |
| 80 | |
Ludovic Desroches | 7761808 | 2015-09-16 17:36:57 +0200 | [diff] [blame] | 81 | config PINCTRL_AT91PIO4 |
| 82 | bool "AT91 PIO4 pinctrl driver" |
| 83 | depends on OF |
| 84 | depends on ARCH_AT91 |
| 85 | select PINMUX |
| 86 | select GENERIC_PINCONF |
| 87 | select GPIOLIB |
| 88 | select GPIOLIB_IRQCHIP |
| 89 | select OF_GPIO |
| 90 | help |
| 91 | Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4 |
| 92 | controller available on sama5d2 SoC. |
| 93 | |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 94 | config PINCTRL_AMD |
Jean Delvare | 337ea0f | 2016-02-11 12:06:37 +0100 | [diff] [blame] | 95 | tristate "AMD GPIO pin control" |
Linus Walleij | fd35b20 | 2017-11-13 11:04:27 +0100 | [diff] [blame] | 96 | depends on HAS_IOMEM |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 97 | select GPIOLIB |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 98 | select GPIOLIB_IRQCHIP |
Petr Mladek | 83b31c2 | 2017-09-26 15:51:28 +0200 | [diff] [blame] | 99 | select PINMUX |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 100 | select PINCONF |
| 101 | select GENERIC_PINCONF |
| 102 | help |
| 103 | driver for memory mapped GPIO functionality on AMD platforms |
| 104 | (x86 or arm).Most pins are usually muxed to some other |
| 105 | functionality by firmware,so only a small amount is available |
| 106 | for gpio use. |
| 107 | |
| 108 | Requires ACPI/FDT device enumeration code to set up a platform |
| 109 | device. |
| 110 | |
David Lechner | 1ff91f0 | 2016-11-28 10:40:25 -0600 | [diff] [blame] | 111 | config PINCTRL_DA850_PUPD |
| 112 | tristate "TI DA850/OMAP-L138/AM18XX pullup/pulldown groups" |
| 113 | depends on OF && (ARCH_DAVINCI_DA850 || COMPILE_TEST) |
| 114 | select PINCONF |
| 115 | select GENERIC_PINCONF |
| 116 | help |
| 117 | Driver for TI DA850/OMAP-L138/AM18XX pinconf. Used to control |
| 118 | pullup/pulldown pin groups. |
| 119 | |
Baruch Siach | 38b0e50 | 2015-05-05 13:55:10 +0300 | [diff] [blame] | 120 | config PINCTRL_DIGICOLOR |
| 121 | bool |
| 122 | depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST) |
| 123 | select PINMUX |
| 124 | select GENERIC_PINCONF |
| 125 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 126 | config PINCTRL_LANTIQ |
| 127 | bool |
| 128 | depends on LANTIQ |
| 129 | select PINMUX |
| 130 | select PINCONF |
| 131 | |
Joachim Eastwood | 2f77ac9 | 2015-04-28 00:14:08 +0200 | [diff] [blame] | 132 | config PINCTRL_LPC18XX |
| 133 | bool "NXP LPC18XX/43XX SCU pinctrl driver" |
| 134 | depends on OF && (ARCH_LPC18XX || COMPILE_TEST) |
| 135 | default ARCH_LPC18XX |
| 136 | select PINMUX |
| 137 | select GENERIC_PINCONF |
| 138 | help |
| 139 | Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU). |
| 140 | |
John Crispin | e316cb2 | 2012-05-20 00:33:56 +0200 | [diff] [blame] | 141 | config PINCTRL_FALCON |
| 142 | bool |
| 143 | depends on SOC_FALCON |
| 144 | depends on PINCTRL_LANTIQ |
| 145 | |
Linus Walleij | 06351d1 | 2017-08-05 23:04:08 +0200 | [diff] [blame] | 146 | config PINCTRL_GEMINI |
| 147 | bool |
| 148 | depends on ARCH_GEMINI |
| 149 | default ARCH_GEMINI |
| 150 | select PINMUX |
Linus Walleij | 1c5b7f3 | 2017-10-28 15:37:18 +0200 | [diff] [blame] | 151 | select GENERIC_PINCONF |
Linus Walleij | 06351d1 | 2017-08-05 23:04:08 +0200 | [diff] [blame] | 152 | select MFD_SYSCON |
| 153 | |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 154 | config PINCTRL_MCP23S08 |
| 155 | tristate "Microchip MCP23xxx I/O expander" |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 156 | depends on SPI_MASTER || I2C |
Arnd Bergmann | adeac77 | 2017-05-30 11:11:28 +0200 | [diff] [blame] | 157 | depends on I2C || I2C=n |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 158 | select GPIOLIB |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 159 | select GPIOLIB_IRQCHIP |
| 160 | select REGMAP_I2C if I2C |
| 161 | select REGMAP_SPI if SPI_MASTER |
Sebastian Reichel | 82039d2 | 2017-05-15 11:24:26 +0200 | [diff] [blame] | 162 | select GENERIC_PINCONF |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 163 | help |
Jan Kundrát | 6ff4556 | 2018-02-15 15:56:03 +0100 | [diff] [blame] | 164 | SPI/I2C driver for Microchip MCP23S08 / MCP23S17 / MCP23S18 / |
| 165 | MCP23008 / MCP23017 / MCP23018 I/O expanders. |
| 166 | This provides a GPIO interface supporting inputs and outputs and a |
| 167 | corresponding interrupt-controller. |
Sebastian Reichel | 64ac43e | 2017-05-15 11:24:25 +0200 | [diff] [blame] | 168 | |
Neil Armstrong | 611dac1 | 2016-05-11 09:34:21 +0200 | [diff] [blame] | 169 | config PINCTRL_OXNAS |
| 170 | bool |
| 171 | depends on OF |
| 172 | select PINMUX |
| 173 | select PINCONF |
| 174 | select GENERIC_PINCONF |
| 175 | select GPIOLIB |
| 176 | select OF_GPIO |
| 177 | select GPIOLIB_IRQCHIP |
| 178 | select MFD_SYSCON |
| 179 | |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 180 | config PINCTRL_ROCKCHIP |
| 181 | bool |
| 182 | select PINMUX |
| 183 | select GENERIC_PINCONF |
| 184 | select GENERIC_IRQ_CHIP |
Heiko Stübner | 751a99a | 2014-05-05 13:58:20 +0200 | [diff] [blame] | 185 | select MFD_SYSCON |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 186 | |
Jacopo Mondi | 5a49b644 | 2017-06-22 16:54:29 +0200 | [diff] [blame] | 187 | config PINCTRL_RZA1 |
| 188 | bool "Renesas RZ/A1 gpio and pinctrl driver" |
| 189 | depends on OF |
| 190 | depends on ARCH_R7S72100 || COMPILE_TEST |
| 191 | select GPIOLIB |
| 192 | select GENERIC_PINCTRL_GROUPS |
| 193 | select GENERIC_PINMUX_FUNCTIONS |
| 194 | select GENERIC_PINCONF |
| 195 | help |
| 196 | This selects pinctrl driver for Renesas RZ/A1 platforms. |
| 197 | |
Chris Brandt | b59d0e7 | 2018-11-15 11:15:27 -0500 | [diff] [blame] | 198 | config PINCTRL_RZA2 |
| 199 | bool "Renesas RZ/A2 gpio and pinctrl driver" |
| 200 | depends on OF |
| 201 | depends on ARCH_R7S9210 || COMPILE_TEST |
| 202 | select GPIOLIB |
| 203 | select GENERIC_PINCTRL_GROUPS |
| 204 | select GENERIC_PINMUX_FUNCTIONS |
| 205 | select GENERIC_PINCONF |
| 206 | help |
| 207 | This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms. |
| 208 | |
Phil Edworthy | 4e53b50 | 2018-09-26 10:10:52 +0100 | [diff] [blame] | 209 | config PINCTRL_RZN1 |
| 210 | bool "Renesas RZ/N1 pinctrl driver" |
| 211 | depends on OF |
| 212 | depends on ARCH_RZN1 || COMPILE_TEST |
| 213 | select GENERIC_PINCTRL_GROUPS |
| 214 | select GENERIC_PINMUX_FUNCTIONS |
| 215 | select GENERIC_PINCONF |
| 216 | help |
| 217 | This selects pinctrl driver for Renesas RZ/N1 devices. |
| 218 | |
Tony Lindgren | 8b8b091 | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 219 | config PINCTRL_SINGLE |
| 220 | tristate "One-register-per-pin type device tree based pinctrl driver" |
| 221 | depends on OF |
Linus Walleij | fd35b20 | 2017-11-13 11:04:27 +0100 | [diff] [blame] | 222 | depends on HAS_IOMEM |
Tony Lindgren | caeb774 | 2016-12-27 09:20:02 -0800 | [diff] [blame] | 223 | select GENERIC_PINCTRL_GROUPS |
Tony Lindgren | 571aec4 | 2016-12-27 09:20:03 -0800 | [diff] [blame] | 224 | select GENERIC_PINMUX_FUNCTIONS |
Haojian Zhuang | 9dddb4d | 2013-02-17 19:42:55 +0800 | [diff] [blame] | 225 | select GENERIC_PINCONF |
Tony Lindgren | 8b8b091 | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 226 | help |
| 227 | This selects the device tree based generic pinctrl driver. |
| 228 | |
Linus Walleij | 3bece55 | 2011-12-18 23:44:26 +0100 | [diff] [blame] | 229 | config PINCTRL_SIRF |
Barry Song | a17272a | 2015-01-11 21:56:41 +0800 | [diff] [blame] | 230 | bool "CSR SiRFprimaII pin controller driver" |
Barry Song | d3e26f2 | 2012-09-27 17:56:30 +0800 | [diff] [blame] | 231 | depends on ARCH_SIRF |
Rongjun Ying | 393daa8 | 2011-10-09 03:11:13 -0700 | [diff] [blame] | 232 | select PINMUX |
Wei Chen | f936779 | 2015-05-18 07:28:32 +0000 | [diff] [blame] | 233 | select PINCONF |
| 234 | select GENERIC_PINCONF |
Linus Walleij | 7420d2d | 2014-04-15 14:43:47 +0800 | [diff] [blame] | 235 | select GPIOLIB_IRQCHIP |
Rongjun Ying | 393daa8 | 2011-10-09 03:11:13 -0700 | [diff] [blame] | 236 | |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 237 | config PINCTRL_SX150X |
| 238 | bool "Semtech SX150x I2C GPIO expander pinctrl driver" |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 239 | depends on I2C=y |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 240 | select PINMUX |
| 241 | select PINCONF |
| 242 | select GENERIC_PINCONF |
Linus Walleij | e2a021d | 2017-10-11 12:04:35 +0200 | [diff] [blame] | 243 | select GPIOLIB |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 244 | select GPIOLIB_IRQCHIP |
Andrey Smirnov | 0db0f26 | 2016-11-07 08:53:16 -0800 | [diff] [blame] | 245 | select REGMAP |
Neil Armstrong | 9e80f90 | 2016-10-21 11:09:58 +0200 | [diff] [blame] | 246 | help |
| 247 | Say yes here to provide support for Semtech SX150x-series I2C |
| 248 | GPIO expanders as pinctrl module. |
| 249 | Compatible models include: |
| 250 | - 8 bits: sx1508q, sx1502q |
| 251 | - 16 bits: sx1509q, sx1506q |
| 252 | |
Andrew Bresticker | cefc03e | 2015-05-06 12:59:03 -0700 | [diff] [blame] | 253 | config PINCTRL_PISTACHIO |
| 254 | def_bool y if MACH_PISTACHIO |
| 255 | depends on GPIOLIB |
| 256 | select PINMUX |
| 257 | select GENERIC_PINCONF |
| 258 | select GPIOLIB_IRQCHIP |
| 259 | select OF_GPIO |
| 260 | |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 261 | config PINCTRL_ST |
| 262 | bool |
| 263 | depends on OF |
| 264 | select PINMUX |
| 265 | select PINCONF |
Linus Walleij | 130cbe3 | 2014-04-08 14:45:47 +0200 | [diff] [blame] | 266 | select GPIOLIB_IRQCHIP |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 267 | |
Amelie Delaunay | 1490d9f | 2019-05-09 10:58:51 +0200 | [diff] [blame^] | 268 | config PINCTRL_STMFX |
| 269 | tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" |
| 270 | select GENERIC_PINCONF |
| 271 | select GPIOLIB_IRQCHIP |
| 272 | select MFD_STMFX |
| 273 | help |
| 274 | Driver for STMicroelectronics Multi-Function eXpander (STMFX) |
| 275 | GPIO expander. |
| 276 | This provides a GPIO interface supporting inputs and outputs, |
| 277 | and configuring push-pull, open-drain, and can also be used as |
| 278 | interrupt-controller. |
| 279 | |
Linus Walleij | 3bece55 | 2011-12-18 23:44:26 +0100 | [diff] [blame] | 280 | config PINCTRL_U300 |
| 281 | bool "U300 pin controller driver" |
Linus Walleij | 98da352 | 2011-05-02 20:54:38 +0200 | [diff] [blame] | 282 | depends on ARCH_U300 |
| 283 | select PINMUX |
Linus Walleij | dc0b1aa | 2011-11-16 21:58:10 +0100 | [diff] [blame] | 284 | select GENERIC_PINCONF |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 285 | |
Linus Walleij | ca402d3 | 2011-11-16 09:22:59 +0100 | [diff] [blame] | 286 | config PINCTRL_COH901 |
| 287 | bool "ST-Ericsson U300 COH 901 335/571 GPIO" |
Linus Walleij | 3c94d1b | 2012-06-18 20:07:50 +0200 | [diff] [blame] | 288 | depends on GPIOLIB && ARCH_U300 && PINCTRL_U300 |
Linus Walleij | 523dcce | 2014-03-25 13:37:17 +0100 | [diff] [blame] | 289 | select GPIOLIB_IRQCHIP |
Linus Walleij | ca402d3 | 2011-11-16 09:22:59 +0100 | [diff] [blame] | 290 | help |
| 291 | Say yes here to support GPIO interface on ST-Ericsson U300. |
| 292 | The names of the two IP block variants supported are |
| 293 | COH 901 335 and COH 901 571/3. They contain 3, 5 or 7 |
| 294 | ports of 8 GPIO pins each. |
| 295 | |
Laxman Dewangan | 2df723d4 | 2016-05-13 10:49:15 +0530 | [diff] [blame] | 296 | config PINCTRL_MAX77620 |
| 297 | tristate "MAX77620/MAX20024 Pincontrol support" |
Arnd Bergmann | 24d6a91 | 2016-10-28 10:19:05 +0200 | [diff] [blame] | 298 | depends on MFD_MAX77620 && OF |
Arnd Bergmann | 79f28b9 | 2016-06-13 17:18:35 +0200 | [diff] [blame] | 299 | select PINMUX |
Laxman Dewangan | 2df723d4 | 2016-05-13 10:49:15 +0530 | [diff] [blame] | 300 | select GENERIC_PINCONF |
| 301 | help |
| 302 | Say Yes here to enable Pin control support for Maxim PMIC MAX77620. |
| 303 | This PMIC has 8 GPIO pins that work as GPIO as well as special |
| 304 | function in alternate mode. This driver also configure push-pull, |
| 305 | open drain, FPS slots etc. |
| 306 | |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 307 | config PINCTRL_PALMAS |
Paul Gortmaker | 767b8ce | 2016-06-13 17:10:21 -0400 | [diff] [blame] | 308 | tristate "Pinctrl driver for the PALMAS Series MFD devices" |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 309 | depends on OF && MFD_PALMAS |
Axel Lin | 63ca8db | 2013-08-22 14:30:08 +0800 | [diff] [blame] | 310 | select PINMUX |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 311 | select GENERIC_PINCONF |
| 312 | help |
| 313 | Palmas device supports the configuration of pins for different |
| 314 | functionality. This driver supports the pinmux, push-pull and |
| 315 | open drain configuration for the Palmas series devices like |
| 316 | TPS65913, TPS80036 etc. |
| 317 | |
Joshua Henderson | 2ba384e | 2016-02-01 15:48:30 -0700 | [diff] [blame] | 318 | config PINCTRL_PIC32 |
| 319 | bool "Microchip PIC32 pin controller driver" |
| 320 | depends on OF |
| 321 | depends on MACH_PIC32 |
| 322 | select PINMUX |
| 323 | select GENERIC_PINCONF |
| 324 | select GPIOLIB_IRQCHIP |
| 325 | select OF_GPIO |
| 326 | help |
| 327 | This is the pin controller and gpio driver for Microchip PIC32 |
| 328 | microcontrollers. This option is selected automatically when specific |
| 329 | machine and arch are selected to build. |
| 330 | |
| 331 | config PINCTRL_PIC32MZDA |
| 332 | def_bool y if PIC32MZDA |
| 333 | select PINCTRL_PIC32 |
| 334 | |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 335 | config PINCTRL_ZYNQ |
| 336 | bool "Pinctrl driver for Xilinx Zynq" |
| 337 | depends on ARCH_ZYNQ |
| 338 | select PINMUX |
| 339 | select GENERIC_PINCONF |
| 340 | help |
Masahiro Yamada | 485dba2 | 2015-11-30 16:57:35 +0900 | [diff] [blame] | 341 | This selects the pinctrl driver for Xilinx Zynq. |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 342 | |
Paul Cercueil | b5c23aa | 2017-05-12 18:52:56 +0200 | [diff] [blame] | 343 | config PINCTRL_INGENIC |
| 344 | bool "Pinctrl driver for the Ingenic JZ47xx SoCs" |
Paul Cercueil | 635c20a | 2018-08-21 18:42:35 +0200 | [diff] [blame] | 345 | default MACH_INGENIC |
Linus Walleij | c504985 | 2017-05-29 13:40:45 +0200 | [diff] [blame] | 346 | depends on OF |
Paul Cercueil | 635c20a | 2018-08-21 18:42:35 +0200 | [diff] [blame] | 347 | depends on MIPS || COMPILE_TEST |
Paul Cercueil | b5c23aa | 2017-05-12 18:52:56 +0200 | [diff] [blame] | 348 | select GENERIC_PINCONF |
| 349 | select GENERIC_PINCTRL_GROUPS |
| 350 | select GENERIC_PINMUX_FUNCTIONS |
Paul Cercueil | e72394e | 2018-08-21 18:42:32 +0200 | [diff] [blame] | 351 | select GPIOLIB |
| 352 | select GPIOLIB_IRQCHIP |
Paul Cercueil | b5c23aa | 2017-05-12 18:52:56 +0200 | [diff] [blame] | 353 | select REGMAP_MMIO |
| 354 | |
Joseph Chen | ea47999 | 2017-08-21 03:28:40 +0200 | [diff] [blame] | 355 | config PINCTRL_RK805 |
| 356 | tristate "Pinctrl and GPIO driver for RK805 PMIC" |
| 357 | depends on MFD_RK808 |
| 358 | select GPIOLIB |
| 359 | select PINMUX |
| 360 | select GENERIC_PINCONF |
| 361 | help |
| 362 | This selects the pinctrl driver for RK805. |
| 363 | |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 364 | config PINCTRL_OCELOT |
Alexandre Belloni | da801ab | 2018-12-20 15:44:31 +0100 | [diff] [blame] | 365 | bool "Pinctrl driver for the Microsemi Ocelot and Jaguar2 SoCs" |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 366 | depends on OF |
Linus Walleij | 2dab3dd | 2018-12-22 11:15:04 +0100 | [diff] [blame] | 367 | depends on HAS_IOMEM |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 368 | select GPIOLIB |
Quentin Schulz | be36abb | 2018-07-25 14:26:21 +0200 | [diff] [blame] | 369 | select GPIOLIB_IRQCHIP |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 370 | select GENERIC_PINCONF |
| 371 | select GENERIC_PINCTRL_GROUPS |
| 372 | select GENERIC_PINMUX_FUNCTIONS |
Alexandre Belloni | da801ab | 2018-12-20 15:44:31 +0100 | [diff] [blame] | 373 | select OF_GPIO |
Alexandre Belloni | ce8dc09 | 2018-01-06 01:09:26 +0100 | [diff] [blame] | 374 | select REGMAP_MMIO |
| 375 | |
Manivannan Sadhasivam | 2242ddf | 2018-04-04 22:52:52 +0530 | [diff] [blame] | 376 | source "drivers/pinctrl/actions/Kconfig" |
Andrew Jeffery | 4d3d0e42 | 2016-08-30 17:24:24 +0930 | [diff] [blame] | 377 | source "drivers/pinctrl/aspeed/Kconfig" |
Ray Jui | b17f2f9 | 2015-03-04 16:35:49 -0800 | [diff] [blame] | 378 | source "drivers/pinctrl/bcm/Kconfig" |
Antoine Tenart | 3de68d3 | 2014-05-19 19:36:29 +0200 | [diff] [blame] | 379 | source "drivers/pinctrl/berlin/Kconfig" |
Linus Walleij | edad3b2 | 2014-09-03 13:37:38 +0200 | [diff] [blame] | 380 | source "drivers/pinctrl/freescale/Kconfig" |
Mika Westerberg | 5fae8b8 | 2014-10-24 15:16:52 +0300 | [diff] [blame] | 381 | source "drivers/pinctrl/intel/Kconfig" |
Thomas Petazzoni | 06763c7 | 2012-10-24 23:38:58 +0200 | [diff] [blame] | 382 | source "drivers/pinctrl/mvebu/Kconfig" |
Linus Walleij | 3a19805 | 2014-07-11 14:57:06 +0200 | [diff] [blame] | 383 | source "drivers/pinctrl/nomadik/Kconfig" |
Tomer Maimon | 3b588e4 | 2018-08-08 12:25:26 +0300 | [diff] [blame] | 384 | source "drivers/pinctrl/nuvoton/Kconfig" |
Robert Jarzmik | 4b15ec9 | 2015-11-21 19:04:53 +0100 | [diff] [blame] | 385 | source "drivers/pinctrl/pxa/Kconfig" |
Linus Walleij | 69b78b8 | 2014-07-09 13:55:12 +0200 | [diff] [blame] | 386 | source "drivers/pinctrl/qcom/Kconfig" |
Sachin Kamat | ebe629a | 2014-07-10 17:33:27 +0530 | [diff] [blame] | 387 | source "drivers/pinctrl/samsung/Kconfig" |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 388 | source "drivers/pinctrl/sh-pfc/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 389 | source "drivers/pinctrl/spear/Kconfig" |
Baolin Wang | 41d32cf | 2017-08-17 14:50:38 +0800 | [diff] [blame] | 390 | source "drivers/pinctrl/sprd/Kconfig" |
Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 391 | source "drivers/pinctrl/stm32/Kconfig" |
Maxime Ripard | 5f91077 | 2014-04-18 18:53:02 +0200 | [diff] [blame] | 392 | source "drivers/pinctrl/sunxi/Kconfig" |
Masahiro Yamada | 25cbac7 | 2016-01-24 00:30:08 +0900 | [diff] [blame] | 393 | source "drivers/pinctrl/tegra/Kconfig" |
Nishanth Menon | 003910e | 2017-01-05 10:54:14 -0800 | [diff] [blame] | 394 | source "drivers/pinctrl/ti/Kconfig" |
Masahiro Yamada | 6e90889 | 2015-07-14 11:40:01 +0900 | [diff] [blame] | 395 | source "drivers/pinctrl/uniphier/Kconfig" |
Tony Prisk | 170c615 | 2013-02-20 09:32:19 +1300 | [diff] [blame] | 396 | source "drivers/pinctrl/vt8500/Kconfig" |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 397 | source "drivers/pinctrl/mediatek/Kconfig" |
Shawn Guo | cbff0c4 | 2017-04-24 21:01:13 +0800 | [diff] [blame] | 398 | source "drivers/pinctrl/zte/Kconfig" |
Jerome Brunet | 277d14e | 2017-10-12 14:40:25 +0200 | [diff] [blame] | 399 | source "drivers/pinctrl/meson/Kconfig" |
Richard Fitzgerald | 218d72a | 2018-05-21 11:00:01 +0100 | [diff] [blame] | 400 | source "drivers/pinctrl/cirrus/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 401 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 402 | config PINCTRL_XWAY |
| 403 | bool |
| 404 | depends on SOC_TYPE_XWAY |
| 405 | depends on PINCTRL_LANTIQ |
| 406 | |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 407 | config PINCTRL_TB10X |
| 408 | bool |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 409 | depends on OF && ARC_PLAT_TB10X |
| 410 | select GPIOLIB |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 411 | |
Phil Reid | d219b92 | 2017-10-06 13:08:05 +0800 | [diff] [blame] | 412 | endif |