Kconfig (94d20f7d674d589e94aea77e2cbe37fc58541d04) | Kconfig (a99cc66807d6c854a7f65f962766c530c91be149) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2# 3# GPIO infrastructure and drivers 4# 5 6menuconfig GPIOLIB 7 bool "GPIO Support" 8 help --- 25 unchanged lines hidden (view full) --- 34config GPIO_ACPI 35 def_bool y 36 depends on ACPI 37 38config GPIOLIB_IRQCHIP 39 select IRQ_DOMAIN 40 bool 41 | 1# SPDX-License-Identifier: GPL-2.0-only 2# 3# GPIO infrastructure and drivers 4# 5 6menuconfig GPIOLIB 7 bool "GPIO Support" 8 help --- 25 unchanged lines hidden (view full) --- 34config GPIO_ACPI 35 def_bool y 36 depends on ACPI 37 38config GPIOLIB_IRQCHIP 39 select IRQ_DOMAIN 40 bool 41 |
42config OF_GPIO_MM_GPIOCHIP 43 bool 44 help 45 This adds support for the legacy 'struct of_mm_gpio_chip' interface 46 from PowerPC. Existing drivers using this interface need to select 47 this symbol, but new drivers should use the generic gpio-regmap 48 infrastructure instead. 49 |
|
42config DEBUG_GPIO 43 bool "Debug GPIO calls" 44 depends on DEBUG_KERNEL 45 help 46 Say Y here to add some extra checks and diagnostics to GPIO calls. 47 These checks help ensure that GPIOs have been properly initialized 48 before they are used, and that sleeping calls are not made from 49 non-sleeping contexts. They can make bitbanged serial protocols --- 76 unchanged lines hidden (view full) --- 126 6 bits: 74365 (Input), 74174 (Output) 127 8 bits: 74244 (Input), 74273 (Output) 128 16 bits: 741624 (Input), 7416374 (Output) 129 130config GPIO_ALTERA 131 tristate "Altera GPIO" 132 depends on OF_GPIO 133 select GPIOLIB_IRQCHIP | 50config DEBUG_GPIO 51 bool "Debug GPIO calls" 52 depends on DEBUG_KERNEL 53 help 54 Say Y here to add some extra checks and diagnostics to GPIO calls. 55 These checks help ensure that GPIOs have been properly initialized 56 before they are used, and that sleeping calls are not made from 57 non-sleeping contexts. They can make bitbanged serial protocols --- 76 unchanged lines hidden (view full) --- 134 6 bits: 74365 (Input), 74174 (Output) 135 8 bits: 74244 (Input), 74273 (Output) 136 16 bits: 741624 (Input), 7416374 (Output) 137 138config GPIO_ALTERA 139 tristate "Altera GPIO" 140 depends on OF_GPIO 141 select GPIOLIB_IRQCHIP |
142 select OF_GPIO_MM_GPIOCHIP |
|
134 help 135 Say Y or M here to build support for the Altera PIO device. 136 137 If driver is built as a module it will be called gpio-altera. 138 139config GPIO_AMDPT 140 tristate "AMD Promontory GPIO support" 141 depends on ACPI --- 256 unchanged lines hidden (view full) --- 398 depends on MCB 399 select GPIO_GENERIC 400 help 401 Say yes here to support the MEN 16Z127 GPIO Controller. 402 403config GPIO_MM_LANTIQ 404 bool "Lantiq Memory mapped GPIOs" 405 depends on LANTIQ && SOC_XWAY | 143 help 144 Say Y or M here to build support for the Altera PIO device. 145 146 If driver is built as a module it will be called gpio-altera. 147 148config GPIO_AMDPT 149 tristate "AMD Promontory GPIO support" 150 depends on ACPI --- 256 unchanged lines hidden (view full) --- 407 depends on MCB 408 select GPIO_GENERIC 409 help 410 Say yes here to support the MEN 16Z127 GPIO Controller. 411 412config GPIO_MM_LANTIQ 413 bool "Lantiq Memory mapped GPIOs" 414 depends on LANTIQ && SOC_XWAY |
415 select OF_GPIO_MM_GPIOCHIP |
|
406 help 407 This enables support for memory mapped GPIOs on the External Bus Unit 408 (EBU) found on Lantiq SoCs. The GPIOs are output only as they are 409 created by attaching a 16-bit latch to the bus. 410 411config GPIO_MPC5200 412 def_bool y 413 depends on PPC_MPC52xx | 416 help 417 This enables support for memory mapped GPIOs on the External Bus Unit 418 (EBU) found on Lantiq SoCs. The GPIOs are output only as they are 419 created by attaching a 16-bit latch to the bus. 420 421config GPIO_MPC5200 422 def_bool y 423 depends on PPC_MPC52xx |
424 select OF_GPIO_MM_GPIOCHIP |
|
414 415config GPIO_MPC8XXX 416 bool "MPC512x/MPC8xxx/QorIQ GPIO support" 417 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \ 418 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \ 419 COMPILE_TEST 420 select GPIO_GENERIC 421 select IRQ_DOMAIN --- 1284 unchanged lines hidden --- | 425 426config GPIO_MPC8XXX 427 bool "MPC512x/MPC8xxx/QorIQ GPIO support" 428 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \ 429 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \ 430 COMPILE_TEST 431 select GPIO_GENERIC 432 select IRQ_DOMAIN --- 1284 unchanged lines hidden --- |