Kconfig (05909cd9a0c8811731b38697af13075e8954314f) Kconfig (36fb7218e87833b17e3042e77f3b102c75129e8f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# GPIO infrastructure and drivers
4#
5
6config ARCH_HAVE_CUSTOM_GPIO_H
7 bool
8 help

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

61config GPIO_SYSFS
62 bool "/sys/class/gpio/... (sysfs interface)"
63 depends on SYSFS
64 help
65 Say Y here to add the legacy sysfs interface for GPIOs.
66
67 This ABI is deprecated. If you want to use GPIO from userspace,
68 use the character device /dev/gpiochipN with the appropriate
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# GPIO infrastructure and drivers
4#
5
6config ARCH_HAVE_CUSTOM_GPIO_H
7 bool
8 help

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

61config GPIO_SYSFS
62 bool "/sys/class/gpio/... (sysfs interface)"
63 depends on SYSFS
64 help
65 Say Y here to add the legacy sysfs interface for GPIOs.
66
67 This ABI is deprecated. If you want to use GPIO from userspace,
68 use the character device /dev/gpiochipN with the appropriate
69 ioctl() operations instead. The character device is always
70 available.
69 ioctl() operations instead.
71
70
71config GPIO_CDEV
72 bool
73 prompt "Character device (/dev/gpiochipN) support" if EXPERT
74 default y
75 help
76 Say Y here to add the character device /dev/gpiochipN interface
77 for GPIOs. The character device allows userspace to control GPIOs
78 using ioctl() operations.
79
80 Only say N if you are sure that the GPIO character device is not
81 required.
82
83 If unsure, say Y.
84
85config GPIO_CDEV_V1
86 bool "Support GPIO ABI Version 1"
87 default y
88 depends on GPIO_CDEV
89 help
90 Say Y here to support version 1 of the GPIO CDEV ABI.
91
92 This ABI version is deprecated.
93 Please use the latest ABI for new developments.
94
95 If unsure, say Y.
96
72config GPIO_GENERIC
73 depends on HAS_IOMEM # Only for IOMEM drivers
74 tristate
75
76config GPIO_REGMAP
77 depends on REGMAP
78 tristate
79

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

197 default y if ARCH_DAVINCI
198 depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)
199 help
200 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
201
202config GPIO_DWAPB
203 tristate "Synopsys DesignWare APB GPIO driver"
204 select GPIO_GENERIC
97config GPIO_GENERIC
98 depends on HAS_IOMEM # Only for IOMEM drivers
99 tristate
100
101config GPIO_REGMAP
102 depends on REGMAP
103 tristate
104

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

222 default y if ARCH_DAVINCI
223 depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)
224 help
225 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
226
227config GPIO_DWAPB
228 tristate "Synopsys DesignWare APB GPIO driver"
229 select GPIO_GENERIC
205 select GENERIC_IRQ_CHIP
230 select GPIOLIB_IRQCHIP
206 help
207 Say Y or M here to build support for the Synopsys DesignWare APB
208 GPIO block.
209
210config GPIO_EIC_SPRD
211 tristate "Spreadtrum EIC support"
212 depends on ARCH_SPRD || COMPILE_TEST
213 depends on OF_GPIO

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

225 def_bool y
226 depends on ARCH_EP93XX
227 select GPIO_GENERIC
228 select GPIOLIB_IRQCHIP
229
230config GPIO_EXAR
231 tristate "Support for GPIO pins on XR17V352/354/358"
232 depends on SERIAL_8250_EXAR
231 help
232 Say Y or M here to build support for the Synopsys DesignWare APB
233 GPIO block.
234
235config GPIO_EIC_SPRD
236 tristate "Spreadtrum EIC support"
237 depends on ARCH_SPRD || COMPILE_TEST
238 depends on OF_GPIO

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

250 def_bool y
251 depends on ARCH_EP93XX
252 select GPIO_GENERIC
253 select GPIOLIB_IRQCHIP
254
255config GPIO_EXAR
256 tristate "Support for GPIO pins on XR17V352/354/358"
257 depends on SERIAL_8250_EXAR
258 select REGMAP_MMIO
233 help
234 Selecting this option will enable handling of GPIO pins present
235 on Exar XR17V352/354/358 chips.
236
237config GPIO_GE_FPGA
238 bool "GE FPGA based GPIO"
239 depends on GE_FPGA
240 select GPIO_GENERIC

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

392config GPIO_MVEBU
393 def_bool y
394 depends on PLAT_ORION || ARCH_MVEBU
395 depends on OF_GPIO
396 select GENERIC_IRQ_CHIP
397 select REGMAP_MMIO
398
399config GPIO_MXC
259 help
260 Selecting this option will enable handling of GPIO pins present
261 on Exar XR17V352/354/358 chips.
262
263config GPIO_GE_FPGA
264 bool "GE FPGA based GPIO"
265 depends on GE_FPGA
266 select GPIO_GENERIC

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

418config GPIO_MVEBU
419 def_bool y
420 depends on PLAT_ORION || ARCH_MVEBU
421 depends on OF_GPIO
422 select GENERIC_IRQ_CHIP
423 select REGMAP_MMIO
424
425config GPIO_MXC
400 def_bool y
426 tristate "i.MX GPIO support"
401 depends on ARCH_MXC || COMPILE_TEST
402 select GPIO_GENERIC
403 select GENERIC_IRQ_CHIP
404
405config GPIO_MXS
406 def_bool y
407 depends on ARCH_MXS || COMPILE_TEST
408 select GPIO_GENERIC

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

1218 bool "RICOH RC5T583 GPIO"
1219 depends on MFD_RC5T583
1220 help
1221 Select this option to enable GPIO driver for the Ricoh RC5T583
1222 chip family.
1223 This driver provides the support for driving/reading the gpio pins
1224 of RC5T583 device through standard gpio library.
1225
427 depends on ARCH_MXC || COMPILE_TEST
428 select GPIO_GENERIC
429 select GENERIC_IRQ_CHIP
430
431config GPIO_MXS
432 def_bool y
433 depends on ARCH_MXS || COMPILE_TEST
434 select GPIO_GENERIC

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

1244 bool "RICOH RC5T583 GPIO"
1245 depends on MFD_RC5T583
1246 help
1247 Select this option to enable GPIO driver for the Ricoh RC5T583
1248 chip family.
1249 This driver provides the support for driving/reading the gpio pins
1250 of RC5T583 device through standard gpio library.
1251
1252config GPIO_SL28CPLD
1253 tristate "Kontron sl28cpld GPIO support"
1254 depends on MFD_SL28CPLD || COMPILE_TEST
1255 select GPIO_REGMAP
1256 select GPIOLIB_IRQCHIP
1257 select REGMAP_IRQ
1258 help
1259 This enables support for the GPIOs found on the Kontron sl28 CPLD.
1260
1261 This driver can also be built as a module. If so, the module will be
1262 called gpio-sl28cpld.
1263
1226config GPIO_STMPE
1227 bool "STMPE GPIOs"
1228 depends on MFD_STMPE
1229 depends on OF_GPIO
1230 select GPIOLIB_IRQCHIP
1231 help
1232 This enables support for the GPIOs found on the STMPE I/O
1233 Expanders.

--- 346 unchanged lines hidden ---
1264config GPIO_STMPE
1265 bool "STMPE GPIOs"
1266 depends on MFD_STMPE
1267 depends on OF_GPIO
1268 select GPIOLIB_IRQCHIP
1269 help
1270 This enables support for the GPIOs found on the STMPE I/O
1271 Expanders.

--- 346 unchanged lines hidden ---