Kconfig (e4ed2b5370a2df2b1feeb970904d2f7761c241c9) Kconfig (277d14eb815fdfb95a72ea126bc09f75a2bd58fd)
1#
2# PINCTRL infrastructure and drivers
3#
4
1#
2# PINCTRL infrastructure and drivers
3#
4
5config PINCTRL
6 bool
5menuconfig PINCTRL
6 bool "Pin controllers"
7
7
8menu "Pin controllers"
9 depends on PINCTRL
8if PINCTRL
10
11config GENERIC_PINCTRL_GROUPS
12 bool
13
14config PINMUX
15 bool "Support pin multiplexing controllers" if COMPILE_TEST
16
17config GENERIC_PINMUX_FUNCTIONS

--- 75 unchanged lines hidden (view full) ---

93 select GPIOLIB_IRQCHIP
94 select OF_GPIO
95 help
96 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
97 controller available on sama5d2 SoC.
98
99config PINCTRL_AMD
100 tristate "AMD GPIO pin control"
9
10config GENERIC_PINCTRL_GROUPS
11 bool
12
13config PINMUX
14 bool "Support pin multiplexing controllers" if COMPILE_TEST
15
16config GENERIC_PINMUX_FUNCTIONS

--- 75 unchanged lines hidden (view full) ---

92 select GPIOLIB_IRQCHIP
93 select OF_GPIO
94 help
95 Say Y here to enable the at91 pinctrl/gpio driver for Atmel PIO4
96 controller available on sama5d2 SoC.
97
98config PINCTRL_AMD
99 tristate "AMD GPIO pin control"
101 depends on GPIOLIB
100 select GPIOLIB
102 select GPIOLIB_IRQCHIP
101 select GPIOLIB_IRQCHIP
103 select PINMUX
104 select PINCONF
105 select GENERIC_PINCONF
106 help
107 driver for memory mapped GPIO functionality on AMD platforms
108 (x86 or arm).Most pins are usually muxed to some other
109 functionality by firmware,so only a small amount is available
110 for gpio use.
111

--- 41 unchanged lines hidden (view full) ---

153 default ARCH_GEMINI
154 select PINMUX
155 select MFD_SYSCON
156
157config PINCTRL_MCP23S08
158 tristate "Microchip MCP23xxx I/O expander"
159 depends on SPI_MASTER || I2C
160 depends on I2C || I2C=n
102 select PINCONF
103 select GENERIC_PINCONF
104 help
105 driver for memory mapped GPIO functionality on AMD platforms
106 (x86 or arm).Most pins are usually muxed to some other
107 functionality by firmware,so only a small amount is available
108 for gpio use.
109

--- 41 unchanged lines hidden (view full) ---

151 default ARCH_GEMINI
152 select PINMUX
153 select MFD_SYSCON
154
155config PINCTRL_MCP23S08
156 tristate "Microchip MCP23xxx I/O expander"
157 depends on SPI_MASTER || I2C
158 depends on I2C || I2C=n
159 select GPIOLIB
161 select GPIOLIB_IRQCHIP
162 select REGMAP_I2C if I2C
163 select REGMAP_SPI if SPI_MASTER
164 select GENERIC_PINCONF
165 help
166 SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
167 I/O expanders.
168 This provides a GPIO interface supporting inputs and outputs.
169 The I2C versions of the chips can be used as interrupt-controller.
170
160 select GPIOLIB_IRQCHIP
161 select REGMAP_I2C if I2C
162 select REGMAP_SPI if SPI_MASTER
163 select GENERIC_PINCONF
164 help
165 SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
166 I/O expanders.
167 This provides a GPIO interface supporting inputs and outputs.
168 The I2C versions of the chips can be used as interrupt-controller.
169
171config PINCTRL_MESON
172 bool
173 depends on OF
174 select PINMUX
175 select PINCONF
176 select GENERIC_PINCONF
177 select GPIOLIB
178 select OF_GPIO
179 select REGMAP_MMIO
180
181config PINCTRL_OXNAS
182 bool
183 depends on OF
184 select PINMUX
185 select PINCONF
186 select GENERIC_PINCONF
187 select GPIOLIB
188 select OF_GPIO

--- 32 unchanged lines hidden (view full) ---

221 depends on ARCH_SIRF
222 select PINMUX
223 select PINCONF
224 select GENERIC_PINCONF
225 select GPIOLIB_IRQCHIP
226
227config PINCTRL_SX150X
228 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
170config PINCTRL_OXNAS
171 bool
172 depends on OF
173 select PINMUX
174 select PINCONF
175 select GENERIC_PINCONF
176 select GPIOLIB
177 select OF_GPIO

--- 32 unchanged lines hidden (view full) ---

210 depends on ARCH_SIRF
211 select PINMUX
212 select PINCONF
213 select GENERIC_PINCONF
214 select GPIOLIB_IRQCHIP
215
216config PINCTRL_SX150X
217 bool "Semtech SX150x I2C GPIO expander pinctrl driver"
229 depends on GPIOLIB && I2C=y
218 depends on I2C=y
230 select PINMUX
231 select PINCONF
232 select GENERIC_PINCONF
219 select PINMUX
220 select PINCONF
221 select GENERIC_PINCONF
222 select GPIOLIB
233 select GPIOLIB_IRQCHIP
234 select REGMAP
235 help
236 Say yes here to provide support for Semtech SX150x-series I2C
237 GPIO expanders as pinctrl module.
238 Compatible models include:
239 - 8 bits: sx1508q, sx1502q
240 - 16 bits: sx1509q, sx1506q

--- 123 unchanged lines hidden (view full) ---

364source "drivers/pinctrl/stm32/Kconfig"
365source "drivers/pinctrl/sunxi/Kconfig"
366source "drivers/pinctrl/tegra/Kconfig"
367source "drivers/pinctrl/ti/Kconfig"
368source "drivers/pinctrl/uniphier/Kconfig"
369source "drivers/pinctrl/vt8500/Kconfig"
370source "drivers/pinctrl/mediatek/Kconfig"
371source "drivers/pinctrl/zte/Kconfig"
223 select GPIOLIB_IRQCHIP
224 select REGMAP
225 help
226 Say yes here to provide support for Semtech SX150x-series I2C
227 GPIO expanders as pinctrl module.
228 Compatible models include:
229 - 8 bits: sx1508q, sx1502q
230 - 16 bits: sx1509q, sx1506q

--- 123 unchanged lines hidden (view full) ---

354source "drivers/pinctrl/stm32/Kconfig"
355source "drivers/pinctrl/sunxi/Kconfig"
356source "drivers/pinctrl/tegra/Kconfig"
357source "drivers/pinctrl/ti/Kconfig"
358source "drivers/pinctrl/uniphier/Kconfig"
359source "drivers/pinctrl/vt8500/Kconfig"
360source "drivers/pinctrl/mediatek/Kconfig"
361source "drivers/pinctrl/zte/Kconfig"
362source "drivers/pinctrl/meson/Kconfig"
372
373config PINCTRL_XWAY
374 bool
375 depends on SOC_TYPE_XWAY
376 depends on PINCTRL_LANTIQ
377
378config PINCTRL_TB10X
379 bool
380 depends on OF && ARC_PLAT_TB10X
381 select GPIOLIB
382
363
364config PINCTRL_XWAY
365 bool
366 depends on SOC_TYPE_XWAY
367 depends on PINCTRL_LANTIQ
368
369config PINCTRL_TB10X
370 bool
371 depends on OF && ARC_PLAT_TB10X
372 select GPIOLIB
373
383endmenu
374endif