Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 1 | # |
| 2 | # PINCTRL infrastructure and drivers |
| 3 | # |
| 4 | |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 5 | config PINCTRL |
| 6 | bool |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 7 | |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 8 | menu "Pin controllers" |
| 9 | depends on PINCTRL |
| 10 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 11 | config PINMUX |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 12 | bool "Support pin multiplexing controllers" if COMPILE_TEST |
Linus Walleij | ae6b4d8 | 2011-10-19 18:14:33 +0200 | [diff] [blame] | 13 | |
| 14 | config PINCONF |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 15 | bool "Support pin configuration controllers" if COMPILE_TEST |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 16 | |
Linus Walleij | 394349f | 2011-11-24 18:27:15 +0100 | [diff] [blame] | 17 | config GENERIC_PINCONF |
| 18 | bool |
| 19 | select PINCONF |
| 20 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 21 | config DEBUG_PINCTRL |
| 22 | bool "Debug PINCTRL calls" |
| 23 | depends on DEBUG_KERNEL |
| 24 | help |
| 25 | Say Y here to add some extra checks and diagnostics to PINCTRL calls. |
| 26 | |
Sonic Zhang | e9a03ad | 2013-09-03 16:28:59 +0800 | [diff] [blame] | 27 | config PINCTRL_ADI2 |
| 28 | bool "ADI pin controller driver" |
Sonic Zhang | 9d7278d | 2013-09-23 11:57:00 +0800 | [diff] [blame] | 29 | depends on BLACKFIN |
Sonic Zhang | e9a03ad | 2013-09-03 16:28:59 +0800 | [diff] [blame] | 30 | select PINMUX |
| 31 | select IRQ_DOMAIN |
| 32 | help |
| 33 | This is the pin controller and gpio driver for ADI BF54x, BF60x and |
| 34 | future processors. This option is selected automatically when specific |
| 35 | machine and arch are selected to build. |
| 36 | |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 37 | config PINCTRL_AS3722 |
Paul Gortmaker | 9385f35 | 2016-06-13 17:10:22 -0400 | [diff] [blame] | 38 | tristate "Pinctrl and GPIO driver for ams AS3722 PMIC" |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 39 | depends on MFD_AS3722 && GPIOLIB |
| 40 | select PINMUX |
| 41 | select GENERIC_PINCONF |
| 42 | help |
| 43 | AS3722 device supports the configuration of GPIO pins for different |
| 44 | functionality. This driver supports the pinmux, push-pull and |
| 45 | open drain configuration for the GPIO pins of AS3722 devices. It also |
| 46 | supports the GPIO functionality through gpiolib. |
| 47 | |
Sonic Zhang | e9a03ad | 2013-09-03 16:28:59 +0800 | [diff] [blame] | 48 | config PINCTRL_BF54x |
| 49 | def_bool y if BF54x |
| 50 | select PINCTRL_ADI2 |
| 51 | |
| 52 | config PINCTRL_BF60x |
| 53 | def_bool y if BF60x |
| 54 | select PINCTRL_ADI2 |
| 55 | |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 56 | config PINCTRL_AT91 |
| 57 | bool "AT91 pinctrl driver" |
| 58 | depends on OF |
| 59 | depends on ARCH_AT91 |
| 60 | select PINMUX |
| 61 | select PINCONF |
Alexander Stein | 80cc373 | 2014-04-15 22:09:41 +0200 | [diff] [blame] | 62 | select GPIOLIB |
| 63 | select OF_GPIO |
| 64 | select GPIOLIB_IRQCHIP |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 65 | help |
| 66 | Say Y here to enable the at91 pinctrl driver |
| 67 | |
Ludovic Desroches | 7761808 | 2015-09-16 17:36:57 +0200 | [diff] [blame] | 68 | config PINCTRL_AT91PIO4 |
| 69 | bool "AT91 PIO4 pinctrl driver" |
| 70 | depends on OF |
| 71 | depends on ARCH_AT91 |
| 72 | select PINMUX |
| 73 | select GENERIC_PINCONF |
| 74 | select GPIOLIB |
| 75 | select GPIOLIB_IRQCHIP |
| 76 | select OF_GPIO |
| 77 | help |
| 78 | Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4 |
| 79 | controller available on sama5d2 SoC. |
| 80 | |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 81 | config PINCTRL_AMD |
Jean Delvare | 337ea0f | 2016-02-11 12:06:37 +0100 | [diff] [blame] | 82 | tristate "AMD GPIO pin control" |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 83 | depends on GPIOLIB |
| 84 | select GPIOLIB_IRQCHIP |
| 85 | select PINCONF |
| 86 | select GENERIC_PINCONF |
| 87 | help |
| 88 | driver for memory mapped GPIO functionality on AMD platforms |
| 89 | (x86 or arm).Most pins are usually muxed to some other |
| 90 | functionality by firmware,so only a small amount is available |
| 91 | for gpio use. |
| 92 | |
| 93 | Requires ACPI/FDT device enumeration code to set up a platform |
| 94 | device. |
| 95 | |
Baruch Siach | 38b0e50 | 2015-05-05 13:55:10 +0300 | [diff] [blame] | 96 | config PINCTRL_DIGICOLOR |
| 97 | bool |
| 98 | depends on OF && (ARCH_DIGICOLOR || COMPILE_TEST) |
| 99 | select PINMUX |
| 100 | select GENERIC_PINCONF |
| 101 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 102 | config PINCTRL_LANTIQ |
| 103 | bool |
| 104 | depends on LANTIQ |
| 105 | select PINMUX |
| 106 | select PINCONF |
| 107 | |
Joachim Eastwood | 2f77ac9 | 2015-04-28 00:14:08 +0200 | [diff] [blame] | 108 | config PINCTRL_LPC18XX |
| 109 | bool "NXP LPC18XX/43XX SCU pinctrl driver" |
| 110 | depends on OF && (ARCH_LPC18XX || COMPILE_TEST) |
| 111 | default ARCH_LPC18XX |
| 112 | select PINMUX |
| 113 | select GENERIC_PINCONF |
| 114 | help |
| 115 | Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU). |
| 116 | |
John Crispin | e316cb2 | 2012-05-20 00:33:56 +0200 | [diff] [blame] | 117 | config PINCTRL_FALCON |
| 118 | bool |
| 119 | depends on SOC_FALCON |
| 120 | depends on PINCTRL_LANTIQ |
| 121 | |
Beniamino Galvani | 6ac7309 | 2015-01-17 19:15:14 +0100 | [diff] [blame] | 122 | config PINCTRL_MESON |
| 123 | bool |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 124 | depends on OF |
Beniamino Galvani | 6ac7309 | 2015-01-17 19:15:14 +0100 | [diff] [blame] | 125 | select PINMUX |
| 126 | select PINCONF |
| 127 | select GENERIC_PINCONF |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 128 | select GPIOLIB |
Beniamino Galvani | 6ac7309 | 2015-01-17 19:15:14 +0100 | [diff] [blame] | 129 | select OF_GPIO |
| 130 | select REGMAP_MMIO |
| 131 | |
Neil Armstrong | 611dac1 | 2016-05-11 09:34:21 +0200 | [diff] [blame] | 132 | config PINCTRL_OXNAS |
| 133 | bool |
| 134 | depends on OF |
| 135 | select PINMUX |
| 136 | select PINCONF |
| 137 | select GENERIC_PINCONF |
| 138 | select GPIOLIB |
| 139 | select OF_GPIO |
| 140 | select GPIOLIB_IRQCHIP |
| 141 | select MFD_SYSCON |
| 142 | |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 143 | config PINCTRL_ROCKCHIP |
| 144 | bool |
| 145 | select PINMUX |
| 146 | select GENERIC_PINCONF |
| 147 | select GENERIC_IRQ_CHIP |
Heiko Stübner | 751a99a | 2014-05-05 13:58:20 +0200 | [diff] [blame] | 148 | select MFD_SYSCON |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 149 | |
Tony Lindgren | 8b8b091 | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 150 | config PINCTRL_SINGLE |
| 151 | tristate "One-register-per-pin type device tree based pinctrl driver" |
| 152 | depends on OF |
| 153 | select PINMUX |
| 154 | select PINCONF |
Haojian Zhuang | 9dddb4d | 2013-02-17 19:42:55 +0800 | [diff] [blame] | 155 | select GENERIC_PINCONF |
Tony Lindgren | 8b8b091 | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 156 | help |
| 157 | This selects the device tree based generic pinctrl driver. |
| 158 | |
Linus Walleij | 3bece55 | 2011-12-18 23:44:26 +0100 | [diff] [blame] | 159 | config PINCTRL_SIRF |
Barry Song | a17272a | 2015-01-11 21:56:41 +0800 | [diff] [blame] | 160 | bool "CSR SiRFprimaII pin controller driver" |
Barry Song | d3e26f2 | 2012-09-27 17:56:30 +0800 | [diff] [blame] | 161 | depends on ARCH_SIRF |
Rongjun Ying | 393daa8 | 2011-10-09 03:11:13 -0700 | [diff] [blame] | 162 | select PINMUX |
Wei Chen | f936779 | 2015-05-18 07:28:32 +0000 | [diff] [blame] | 163 | select PINCONF |
| 164 | select GENERIC_PINCONF |
Linus Walleij | 7420d2d | 2014-04-15 14:43:47 +0800 | [diff] [blame] | 165 | select GPIOLIB_IRQCHIP |
Rongjun Ying | 393daa8 | 2011-10-09 03:11:13 -0700 | [diff] [blame] | 166 | |
Andrew Bresticker | cefc03e | 2015-05-06 12:59:03 -0700 | [diff] [blame] | 167 | config PINCTRL_PISTACHIO |
| 168 | def_bool y if MACH_PISTACHIO |
| 169 | depends on GPIOLIB |
| 170 | select PINMUX |
| 171 | select GENERIC_PINCONF |
| 172 | select GPIOLIB_IRQCHIP |
| 173 | select OF_GPIO |
| 174 | |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 175 | config PINCTRL_ST |
| 176 | bool |
| 177 | depends on OF |
| 178 | select PINMUX |
| 179 | select PINCONF |
Linus Walleij | 130cbe3 | 2014-04-08 14:45:47 +0200 | [diff] [blame] | 180 | select GPIOLIB_IRQCHIP |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 181 | |
James Hogan | d5025f9 | 2013-06-20 10:26:27 +0100 | [diff] [blame] | 182 | config PINCTRL_TZ1090 |
| 183 | bool "Toumaz Xenif TZ1090 pin control driver" |
| 184 | depends on SOC_TZ1090 |
| 185 | select PINMUX |
| 186 | select GENERIC_PINCONF |
| 187 | |
James Hogan | b58f027 | 2013-06-20 10:26:29 +0100 | [diff] [blame] | 188 | config PINCTRL_TZ1090_PDC |
| 189 | bool "Toumaz Xenif TZ1090 PDC pin control driver" |
| 190 | depends on SOC_TZ1090 |
| 191 | select PINMUX |
| 192 | select PINCONF |
| 193 | |
Linus Walleij | 3bece55 | 2011-12-18 23:44:26 +0100 | [diff] [blame] | 194 | config PINCTRL_U300 |
| 195 | bool "U300 pin controller driver" |
Linus Walleij | 98da352 | 2011-05-02 20:54:38 +0200 | [diff] [blame] | 196 | depends on ARCH_U300 |
| 197 | select PINMUX |
Linus Walleij | dc0b1aa | 2011-11-16 21:58:10 +0100 | [diff] [blame] | 198 | select GENERIC_PINCONF |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 199 | |
Linus Walleij | ca402d3 | 2011-11-16 09:22:59 +0100 | [diff] [blame] | 200 | config PINCTRL_COH901 |
| 201 | bool "ST-Ericsson U300 COH 901 335/571 GPIO" |
Linus Walleij | 3c94d1b | 2012-06-18 20:07:50 +0200 | [diff] [blame] | 202 | depends on GPIOLIB && ARCH_U300 && PINCTRL_U300 |
Linus Walleij | 523dcce | 2014-03-25 13:37:17 +0100 | [diff] [blame] | 203 | select GPIOLIB_IRQCHIP |
Linus Walleij | ca402d3 | 2011-11-16 09:22:59 +0100 | [diff] [blame] | 204 | help |
| 205 | Say yes here to support GPIO interface on ST-Ericsson U300. |
| 206 | The names of the two IP block variants supported are |
| 207 | COH 901 335 and COH 901 571/3. They contain 3, 5 or 7 |
| 208 | ports of 8 GPIO pins each. |
| 209 | |
Laxman Dewangan | 2df723d4 | 2016-05-13 10:49:15 +0530 | [diff] [blame] | 210 | config PINCTRL_MAX77620 |
| 211 | tristate "MAX77620/MAX20024 Pincontrol support" |
| 212 | depends on MFD_MAX77620 |
Arnd Bergmann | 79f28b9f | 2016-06-13 17:18:35 +0200 | [diff] [blame] | 213 | select PINMUX |
Laxman Dewangan | 2df723d4 | 2016-05-13 10:49:15 +0530 | [diff] [blame] | 214 | select GENERIC_PINCONF |
| 215 | help |
| 216 | Say Yes here to enable Pin control support for Maxim PMIC MAX77620. |
| 217 | This PMIC has 8 GPIO pins that work as GPIO as well as special |
| 218 | function in alternate mode. This driver also configure push-pull, |
| 219 | open drain, FPS slots etc. |
| 220 | |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 221 | config PINCTRL_PALMAS |
Paul Gortmaker | 767b8ce | 2016-06-13 17:10:21 -0400 | [diff] [blame] | 222 | tristate "Pinctrl driver for the PALMAS Series MFD devices" |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 223 | depends on OF && MFD_PALMAS |
Axel Lin | 63ca8db | 2013-08-22 14:30:08 +0800 | [diff] [blame] | 224 | select PINMUX |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 225 | select GENERIC_PINCONF |
| 226 | help |
| 227 | Palmas device supports the configuration of pins for different |
| 228 | functionality. This driver supports the pinmux, push-pull and |
| 229 | open drain configuration for the Palmas series devices like |
| 230 | TPS65913, TPS80036 etc. |
| 231 | |
Joshua Henderson | 2ba384e | 2016-02-01 15:48:30 -0700 | [diff] [blame] | 232 | config PINCTRL_PIC32 |
| 233 | bool "Microchip PIC32 pin controller driver" |
| 234 | depends on OF |
| 235 | depends on MACH_PIC32 |
| 236 | select PINMUX |
| 237 | select GENERIC_PINCONF |
| 238 | select GPIOLIB_IRQCHIP |
| 239 | select OF_GPIO |
| 240 | help |
| 241 | This is the pin controller and gpio driver for Microchip PIC32 |
| 242 | microcontrollers. This option is selected automatically when specific |
| 243 | machine and arch are selected to build. |
| 244 | |
| 245 | config PINCTRL_PIC32MZDA |
| 246 | def_bool y if PIC32MZDA |
| 247 | select PINCTRL_PIC32 |
| 248 | |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 249 | config PINCTRL_ZYNQ |
| 250 | bool "Pinctrl driver for Xilinx Zynq" |
| 251 | depends on ARCH_ZYNQ |
| 252 | select PINMUX |
| 253 | select GENERIC_PINCONF |
| 254 | help |
Masahiro Yamada | 485dba2 | 2015-11-30 16:57:35 +0900 | [diff] [blame] | 255 | This selects the pinctrl driver for Xilinx Zynq. |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 256 | |
Andrew Jeffery | 4d3d0e4 | 2016-08-30 17:24:24 +0930 | [diff] [blame] | 257 | source "drivers/pinctrl/aspeed/Kconfig" |
Ray Jui | b17f2f9 | 2015-03-04 16:35:49 -0800 | [diff] [blame] | 258 | source "drivers/pinctrl/bcm/Kconfig" |
Antoine Tenart | 3de68d3 | 2014-05-19 19:36:29 +0200 | [diff] [blame] | 259 | source "drivers/pinctrl/berlin/Kconfig" |
Linus Walleij | edad3b2 | 2014-09-03 13:37:38 +0200 | [diff] [blame] | 260 | source "drivers/pinctrl/freescale/Kconfig" |
Mika Westerberg | 5fae8b8 | 2014-10-24 15:16:52 +0300 | [diff] [blame] | 261 | source "drivers/pinctrl/intel/Kconfig" |
Thomas Petazzoni | 06763c7 | 2012-10-24 23:38:58 +0200 | [diff] [blame] | 262 | source "drivers/pinctrl/mvebu/Kconfig" |
Linus Walleij | 3a19805 | 2014-07-11 14:57:06 +0200 | [diff] [blame] | 263 | source "drivers/pinctrl/nomadik/Kconfig" |
Robert Jarzmik | 4b15ec9 | 2015-11-21 19:04:53 +0100 | [diff] [blame] | 264 | source "drivers/pinctrl/pxa/Kconfig" |
Linus Walleij | 69b78b8 | 2014-07-09 13:55:12 +0200 | [diff] [blame] | 265 | source "drivers/pinctrl/qcom/Kconfig" |
Sachin Kamat | ebe629a | 2014-07-10 17:33:27 +0530 | [diff] [blame] | 266 | source "drivers/pinctrl/samsung/Kconfig" |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 267 | source "drivers/pinctrl/sh-pfc/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 268 | source "drivers/pinctrl/spear/Kconfig" |
Maxime Coquelin | aceb16d | 2016-01-14 13:16:30 +0100 | [diff] [blame] | 269 | source "drivers/pinctrl/stm32/Kconfig" |
Maxime Ripard | 5f91077 | 2014-04-18 18:53:02 +0200 | [diff] [blame] | 270 | source "drivers/pinctrl/sunxi/Kconfig" |
Masahiro Yamada | 25cbac7 | 2016-01-24 00:30:08 +0900 | [diff] [blame] | 271 | source "drivers/pinctrl/tegra/Kconfig" |
Masahiro Yamada | 6e90889 | 2015-07-14 11:40:01 +0900 | [diff] [blame] | 272 | source "drivers/pinctrl/uniphier/Kconfig" |
Tony Prisk | 170c615 | 2013-02-20 09:32:19 +1300 | [diff] [blame] | 273 | source "drivers/pinctrl/vt8500/Kconfig" |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 274 | source "drivers/pinctrl/mediatek/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 275 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 276 | config PINCTRL_XWAY |
| 277 | bool |
| 278 | depends on SOC_TYPE_XWAY |
| 279 | depends on PINCTRL_LANTIQ |
| 280 | |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 281 | config PINCTRL_TB10X |
| 282 | bool |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 283 | depends on OF && ARC_PLAT_TB10X |
| 284 | select GPIOLIB |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 285 | |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 286 | endmenu |