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 | |
| 8 | if PINCTRL |
| 9 | |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 10 | menu "Pin controllers" |
| 11 | depends on PINCTRL |
| 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 | |
| 16 | config PINCONF |
Uwe Kleine-König | 244e95a | 2014-06-03 10:02:36 +0200 | [diff] [blame] | 17 | bool "Support pin configuration controllers" if COMPILE_TEST |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 18 | |
Linus Walleij | 394349f | 2011-11-24 18:27:15 +0100 | [diff] [blame] | 19 | config GENERIC_PINCONF |
| 20 | bool |
| 21 | select PINCONF |
| 22 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 23 | config DEBUG_PINCTRL |
| 24 | bool "Debug PINCTRL calls" |
| 25 | depends on DEBUG_KERNEL |
| 26 | help |
| 27 | Say Y here to add some extra checks and diagnostics to PINCTRL calls. |
| 28 | |
Sonic Zhang | e9a03ad | 2013-09-03 16:28:59 +0800 | [diff] [blame] | 29 | config PINCTRL_ADI2 |
| 30 | bool "ADI pin controller driver" |
Sonic Zhang | 9d7278d | 2013-09-23 11:57:00 +0800 | [diff] [blame] | 31 | depends on BLACKFIN |
Sonic Zhang | e9a03ad | 2013-09-03 16:28:59 +0800 | [diff] [blame] | 32 | select PINMUX |
| 33 | select IRQ_DOMAIN |
| 34 | help |
| 35 | This is the pin controller and gpio driver for ADI BF54x, BF60x and |
| 36 | future processors. This option is selected automatically when specific |
| 37 | machine and arch are selected to build. |
| 38 | |
Laxman Dewangan | c8ce878 | 2013-10-02 21:20:29 +0530 | [diff] [blame] | 39 | config PINCTRL_AS3722 |
| 40 | bool "Pinctrl and GPIO driver for ams AS3722 PMIC" |
| 41 | depends on MFD_AS3722 && GPIOLIB |
| 42 | select PINMUX |
| 43 | select GENERIC_PINCONF |
| 44 | help |
| 45 | AS3722 device supports the configuration of GPIO pins for different |
| 46 | functionality. This driver supports the pinmux, push-pull and |
| 47 | open drain configuration for the GPIO pins of AS3722 devices. It also |
| 48 | supports the GPIO functionality through gpiolib. |
| 49 | |
Sonic Zhang | e9a03ad | 2013-09-03 16:28:59 +0800 | [diff] [blame] | 50 | config PINCTRL_BF54x |
| 51 | def_bool y if BF54x |
| 52 | select PINCTRL_ADI2 |
| 53 | |
| 54 | config PINCTRL_BF60x |
| 55 | def_bool y if BF60x |
| 56 | select PINCTRL_ADI2 |
| 57 | |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 58 | config PINCTRL_AT91 |
| 59 | bool "AT91 pinctrl driver" |
| 60 | depends on OF |
| 61 | depends on ARCH_AT91 |
| 62 | select PINMUX |
| 63 | select PINCONF |
Alexander Stein | 80cc373 | 2014-04-15 22:09:41 +0200 | [diff] [blame] | 64 | select GPIOLIB |
| 65 | select OF_GPIO |
| 66 | select GPIOLIB_IRQCHIP |
Jean-Christophe PLAGNIOL-VILLARD | 6732ae5 | 2012-07-12 23:35:02 +0800 | [diff] [blame] | 67 | help |
| 68 | Say Y here to enable the at91 pinctrl driver |
| 69 | |
Ken Xue | dbad75d | 2015-03-10 15:02:19 +0800 | [diff] [blame] | 70 | config PINCTRL_AMD |
| 71 | bool "AMD GPIO pin control" |
| 72 | depends on GPIOLIB |
| 73 | select GPIOLIB_IRQCHIP |
| 74 | select PINCONF |
| 75 | select GENERIC_PINCONF |
| 76 | help |
| 77 | driver for memory mapped GPIO functionality on AMD platforms |
| 78 | (x86 or arm).Most pins are usually muxed to some other |
| 79 | functionality by firmware,so only a small amount is available |
| 80 | for gpio use. |
| 81 | |
| 82 | Requires ACPI/FDT device enumeration code to set up a platform |
| 83 | device. |
| 84 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 85 | config PINCTRL_LANTIQ |
| 86 | bool |
| 87 | depends on LANTIQ |
| 88 | select PINMUX |
| 89 | select PINCONF |
| 90 | |
Joachim Eastwood | 2f77ac9 | 2015-04-28 00:14:08 +0200 | [diff] [blame^] | 91 | config PINCTRL_LPC18XX |
| 92 | bool "NXP LPC18XX/43XX SCU pinctrl driver" |
| 93 | depends on OF && (ARCH_LPC18XX || COMPILE_TEST) |
| 94 | default ARCH_LPC18XX |
| 95 | select PINMUX |
| 96 | select GENERIC_PINCONF |
| 97 | help |
| 98 | Pinctrl driver for NXP LPC18xx/43xx System Control Unit (SCU). |
| 99 | |
John Crispin | e316cb2 | 2012-05-20 00:33:56 +0200 | [diff] [blame] | 100 | config PINCTRL_FALCON |
| 101 | bool |
| 102 | depends on SOC_FALCON |
| 103 | depends on PINCTRL_LANTIQ |
| 104 | |
Beniamino Galvani | 6ac7309 | 2015-01-17 19:15:14 +0100 | [diff] [blame] | 105 | config PINCTRL_MESON |
| 106 | bool |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 107 | depends on OF |
Beniamino Galvani | 6ac7309 | 2015-01-17 19:15:14 +0100 | [diff] [blame] | 108 | select PINMUX |
| 109 | select PINCONF |
| 110 | select GENERIC_PINCONF |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 111 | select GPIOLIB |
Beniamino Galvani | 6ac7309 | 2015-01-17 19:15:14 +0100 | [diff] [blame] | 112 | select OF_GPIO |
| 113 | select REGMAP_MMIO |
| 114 | |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 115 | config PINCTRL_ROCKCHIP |
| 116 | bool |
| 117 | select PINMUX |
| 118 | select GENERIC_PINCONF |
| 119 | select GENERIC_IRQ_CHIP |
Heiko Stübner | 751a99a | 2014-05-05 13:58:20 +0200 | [diff] [blame] | 120 | select MFD_SYSCON |
Heiko Stübner | d3e5116 | 2013-06-10 22:16:22 +0200 | [diff] [blame] | 121 | |
Tony Lindgren | 8b8b091 | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 122 | config PINCTRL_SINGLE |
| 123 | tristate "One-register-per-pin type device tree based pinctrl driver" |
| 124 | depends on OF |
| 125 | select PINMUX |
| 126 | select PINCONF |
Haojian Zhuang | 9dddb4d | 2013-02-17 19:42:55 +0800 | [diff] [blame] | 127 | select GENERIC_PINCONF |
Tony Lindgren | 8b8b091 | 2012-07-10 02:05:46 -0700 | [diff] [blame] | 128 | help |
| 129 | This selects the device tree based generic pinctrl driver. |
| 130 | |
Linus Walleij | 3bece55 | 2011-12-18 23:44:26 +0100 | [diff] [blame] | 131 | config PINCTRL_SIRF |
Barry Song | a17272a | 2015-01-11 21:56:41 +0800 | [diff] [blame] | 132 | bool "CSR SiRFprimaII pin controller driver" |
Barry Song | d3e26f2 | 2012-09-27 17:56:30 +0800 | [diff] [blame] | 133 | depends on ARCH_SIRF |
Rongjun Ying | 393daa8 | 2011-10-09 03:11:13 -0700 | [diff] [blame] | 134 | select PINMUX |
Linus Walleij | 7420d2d | 2014-04-15 14:43:47 +0800 | [diff] [blame] | 135 | select GPIOLIB_IRQCHIP |
Rongjun Ying | 393daa8 | 2011-10-09 03:11:13 -0700 | [diff] [blame] | 136 | |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 137 | config PINCTRL_ST |
| 138 | bool |
| 139 | depends on OF |
| 140 | select PINMUX |
| 141 | select PINCONF |
Linus Walleij | 130cbe3 | 2014-04-08 14:45:47 +0200 | [diff] [blame] | 142 | select GPIOLIB_IRQCHIP |
Srinivas KANDAGATLA | 701016c | 2013-06-20 15:05:38 +0100 | [diff] [blame] | 143 | |
Stephen Warren | 971dac7 | 2012-02-01 14:04:47 -0700 | [diff] [blame] | 144 | config PINCTRL_TEGRA |
| 145 | bool |
Axel Lin | 507ccdb | 2012-11-12 10:00:22 +0800 | [diff] [blame] | 146 | select PINMUX |
| 147 | select PINCONF |
Stephen Warren | 971dac7 | 2012-02-01 14:04:47 -0700 | [diff] [blame] | 148 | |
| 149 | config PINCTRL_TEGRA20 |
| 150 | bool |
Stephen Warren | 971dac7 | 2012-02-01 14:04:47 -0700 | [diff] [blame] | 151 | select PINCTRL_TEGRA |
| 152 | |
| 153 | config PINCTRL_TEGRA30 |
| 154 | bool |
Stephen Warren | 971dac7 | 2012-02-01 14:04:47 -0700 | [diff] [blame] | 155 | select PINCTRL_TEGRA |
| 156 | |
Pritesh Raithatha | b6ae7a2 | 2013-01-08 13:02:37 +0530 | [diff] [blame] | 157 | config PINCTRL_TEGRA114 |
| 158 | bool |
| 159 | select PINCTRL_TEGRA |
| 160 | |
Ashwini Ghuge | 1a16bee | 2013-12-10 12:40:56 +0530 | [diff] [blame] | 161 | config PINCTRL_TEGRA124 |
| 162 | bool |
| 163 | select PINCTRL_TEGRA |
| 164 | |
Stephen Warren | 9184f75 | 2015-02-24 14:00:51 -0700 | [diff] [blame] | 165 | config PINCTRL_TEGRA210 |
| 166 | bool |
| 167 | select PINCTRL_TEGRA |
| 168 | |
Thierry Reding | dc0a393 | 2014-06-19 13:37:08 +0200 | [diff] [blame] | 169 | config PINCTRL_TEGRA_XUSB |
| 170 | def_bool y if ARCH_TEGRA |
| 171 | select GENERIC_PHY |
| 172 | select PINCONF |
| 173 | select PINMUX |
| 174 | |
James Hogan | d5025f9 | 2013-06-20 10:26:27 +0100 | [diff] [blame] | 175 | config PINCTRL_TZ1090 |
| 176 | bool "Toumaz Xenif TZ1090 pin control driver" |
| 177 | depends on SOC_TZ1090 |
| 178 | select PINMUX |
| 179 | select GENERIC_PINCONF |
| 180 | |
James Hogan | b58f027 | 2013-06-20 10:26:29 +0100 | [diff] [blame] | 181 | config PINCTRL_TZ1090_PDC |
| 182 | bool "Toumaz Xenif TZ1090 PDC pin control driver" |
| 183 | depends on SOC_TZ1090 |
| 184 | select PINMUX |
| 185 | select PINCONF |
| 186 | |
Linus Walleij | 3bece55 | 2011-12-18 23:44:26 +0100 | [diff] [blame] | 187 | config PINCTRL_U300 |
| 188 | bool "U300 pin controller driver" |
Linus Walleij | 98da352 | 2011-05-02 20:54:38 +0200 | [diff] [blame] | 189 | depends on ARCH_U300 |
| 190 | select PINMUX |
Linus Walleij | dc0b1aa | 2011-11-16 21:58:10 +0100 | [diff] [blame] | 191 | select GENERIC_PINCONF |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 192 | |
Linus Walleij | ca402d3 | 2011-11-16 09:22:59 +0100 | [diff] [blame] | 193 | config PINCTRL_COH901 |
| 194 | bool "ST-Ericsson U300 COH 901 335/571 GPIO" |
Linus Walleij | 3c94d1b | 2012-06-18 20:07:50 +0200 | [diff] [blame] | 195 | depends on GPIOLIB && ARCH_U300 && PINCTRL_U300 |
Linus Walleij | 523dcce | 2014-03-25 13:37:17 +0100 | [diff] [blame] | 196 | select GPIOLIB_IRQCHIP |
Linus Walleij | ca402d3 | 2011-11-16 09:22:59 +0100 | [diff] [blame] | 197 | help |
| 198 | Say yes here to support GPIO interface on ST-Ericsson U300. |
| 199 | The names of the two IP block variants supported are |
| 200 | COH 901 335 and COH 901 571/3. They contain 3, 5 or 7 |
| 201 | ports of 8 GPIO pins each. |
| 202 | |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 203 | config PINCTRL_PALMAS |
Mark Brown | 736658c | 2013-08-19 16:07:26 +0100 | [diff] [blame] | 204 | bool "Pinctrl driver for the PALMAS Series MFD devices" |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 205 | depends on OF && MFD_PALMAS |
Axel Lin | 63ca8db | 2013-08-22 14:30:08 +0800 | [diff] [blame] | 206 | select PINMUX |
Laxman Dewangan | 0a8d3e2 | 2013-08-06 18:42:35 +0530 | [diff] [blame] | 207 | select GENERIC_PINCONF |
| 208 | help |
| 209 | Palmas device supports the configuration of pins for different |
| 210 | functionality. This driver supports the pinmux, push-pull and |
| 211 | open drain configuration for the Palmas series devices like |
| 212 | TPS65913, TPS80036 etc. |
| 213 | |
Soren Brinkmann | add958c | 2015-01-09 07:43:48 -0800 | [diff] [blame] | 214 | config PINCTRL_ZYNQ |
| 215 | bool "Pinctrl driver for Xilinx Zynq" |
| 216 | depends on ARCH_ZYNQ |
| 217 | select PINMUX |
| 218 | select GENERIC_PINCONF |
| 219 | help |
| 220 | This selectes the pinctrl driver for Xilinx Zynq. |
| 221 | |
Ray Jui | b17f2f9 | 2015-03-04 16:35:49 -0800 | [diff] [blame] | 222 | source "drivers/pinctrl/bcm/Kconfig" |
Antoine Tenart | 3de68d3 | 2014-05-19 19:36:29 +0200 | [diff] [blame] | 223 | source "drivers/pinctrl/berlin/Kconfig" |
Linus Walleij | edad3b2 | 2014-09-03 13:37:38 +0200 | [diff] [blame] | 224 | source "drivers/pinctrl/freescale/Kconfig" |
Mika Westerberg | 5fae8b8 | 2014-10-24 15:16:52 +0300 | [diff] [blame] | 225 | source "drivers/pinctrl/intel/Kconfig" |
Thomas Petazzoni | 06763c7 | 2012-10-24 23:38:58 +0200 | [diff] [blame] | 226 | source "drivers/pinctrl/mvebu/Kconfig" |
Linus Walleij | 3a19805 | 2014-07-11 14:57:06 +0200 | [diff] [blame] | 227 | source "drivers/pinctrl/nomadik/Kconfig" |
Linus Walleij | 69b78b8 | 2014-07-09 13:55:12 +0200 | [diff] [blame] | 228 | source "drivers/pinctrl/qcom/Kconfig" |
Sachin Kamat | ebe629a | 2014-07-10 17:33:27 +0530 | [diff] [blame] | 229 | source "drivers/pinctrl/samsung/Kconfig" |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 230 | source "drivers/pinctrl/sh-pfc/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 231 | source "drivers/pinctrl/spear/Kconfig" |
Maxime Ripard | 5f91077 | 2014-04-18 18:53:02 +0200 | [diff] [blame] | 232 | source "drivers/pinctrl/sunxi/Kconfig" |
Tony Prisk | 170c615 | 2013-02-20 09:32:19 +1300 | [diff] [blame] | 233 | source "drivers/pinctrl/vt8500/Kconfig" |
Hongzhou Yang | a6df410 | 2015-01-21 13:28:15 +0800 | [diff] [blame] | 234 | source "drivers/pinctrl/mediatek/Kconfig" |
Viresh Kumar | deda828 | 2012-03-28 22:27:07 +0530 | [diff] [blame] | 235 | |
John Crispin | 3f8c50c | 2012-08-28 12:44:59 +0200 | [diff] [blame] | 236 | config PINCTRL_XWAY |
| 237 | bool |
| 238 | depends on SOC_TYPE_XWAY |
| 239 | depends on PINCTRL_LANTIQ |
| 240 | |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 241 | config PINCTRL_TB10X |
| 242 | bool |
Linus Walleij | b99e6fb | 2015-04-15 10:00:35 +0200 | [diff] [blame] | 243 | depends on OF && ARC_PLAT_TB10X |
| 244 | select GPIOLIB |
Christian Ruppert | 5aad0db | 2013-10-15 15:39:38 +0200 | [diff] [blame] | 245 | |
Linus Walleij | 45f034e | 2011-11-05 21:28:46 +0100 | [diff] [blame] | 246 | endmenu |
Linus Walleij | 98da352 | 2011-05-02 20:54:38 +0200 | [diff] [blame] | 247 | |
Linus Walleij | 2744e8a | 2011-05-02 20:50:54 +0200 | [diff] [blame] | 248 | endif |