2019-11-01 13:45:29 +01:00
|
|
|
# GPIO configuration options
|
2015-10-06 00:25:30 +02:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-19 02:01:01 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-06 00:25:30 +02:00
|
|
|
|
2015-07-21 17:12:17 +02:00
|
|
|
menuconfig GPIO
|
2018-08-14 16:19:20 +02:00
|
|
|
bool "GPIO Drivers"
|
2020-04-03 21:18:22 +02:00
|
|
|
select HAS_DTS_GPIO
|
2016-05-25 01:17:13 +02:00
|
|
|
help
|
|
|
|
Include GPIO drivers in system config
|
2015-07-21 17:12:17 +02:00
|
|
|
|
2015-09-20 20:11:48 +02:00
|
|
|
if GPIO
|
2015-11-11 11:43:15 +01:00
|
|
|
|
2018-10-08 19:59:55 +02:00
|
|
|
module = GPIO
|
|
|
|
module-str = gpio
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2015-11-11 11:43:15 +01:00
|
|
|
|
2018-10-05 06:34:18 +02:00
|
|
|
config GPIO_SHELL
|
|
|
|
bool "Enable GPIO Shell"
|
|
|
|
help
|
|
|
|
Enable GPIO Shell for testing.
|
|
|
|
|
2016-03-17 18:52:14 +01:00
|
|
|
source "drivers/gpio/Kconfig.dw"
|
2015-09-19 01:53:26 +02:00
|
|
|
|
2019-10-31 22:45:11 +01:00
|
|
|
source "drivers/gpio/Kconfig.pca95xx"
|
2015-09-29 20:22:23 +02:00
|
|
|
|
2020-02-08 19:46:56 +01:00
|
|
|
source "drivers/gpio/Kconfig.mcp23s17"
|
|
|
|
|
2016-12-12 17:50:56 +01:00
|
|
|
source "drivers/gpio/Kconfig.mcux"
|
|
|
|
|
2017-08-15 21:05:10 +02:00
|
|
|
source "drivers/gpio/Kconfig.mcux_igpio"
|
|
|
|
|
2017-07-26 14:04:43 +02:00
|
|
|
source "drivers/gpio/Kconfig.mcux_lpc"
|
|
|
|
|
gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers
It is envisaged that this will be used by SoC or board code to make
available fixed purpose memory-mapped i/o registers to the rest of the
system which normally expects to use GPIO devices, e.g. for driving chip
select lines, LEDs or reading button states.
As such, the driver code doesn't provide a kconfig based configuration
mechanism, instead SoC/board code can hard-wire the devices it wants
with something simple like:
GPIO_MMIO32_INIT(misc_reg1, "MISC1", 0x12345678, 0xffffffffu)
Then, for example, if bit N of the register at 0x12345678 is wired up as
an SPI device chip select line, the SPI driver could be configured to
use pin N of the "MISC1" GPIO driver and not need any other board
specific code.
Change-Id: Ib02fcbab73fcf9637e25834db060fb3108626f47
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2016-12-20 17:55:41 +01:00
|
|
|
source "drivers/gpio/Kconfig.mmio32"
|
|
|
|
|
2016-03-03 15:33:26 +01:00
|
|
|
source "drivers/gpio/Kconfig.stm32"
|
|
|
|
|
2018-06-19 09:28:49 +02:00
|
|
|
source "drivers/gpio/Kconfig.nrfx"
|
|
|
|
|
2016-09-12 16:55:40 +02:00
|
|
|
source "drivers/gpio/Kconfig.cmsdk_ahb"
|
|
|
|
|
2019-04-18 20:29:26 +02:00
|
|
|
source "drivers/gpio/Kconfig.cc13xx_cc26xx"
|
|
|
|
|
2016-11-24 00:47:20 +01:00
|
|
|
source "drivers/gpio/Kconfig.cc32xx"
|
|
|
|
|
2018-08-16 00:41:21 +02:00
|
|
|
source "drivers/gpio/Kconfig.sifive"
|
2017-03-14 22:16:43 +01:00
|
|
|
|
2017-06-20 01:58:29 +02:00
|
|
|
source "drivers/gpio/Kconfig.esp32"
|
|
|
|
|
2017-04-05 19:02:45 +02:00
|
|
|
source "drivers/gpio/Kconfig.gecko"
|
|
|
|
|
2017-11-14 20:00:18 +01:00
|
|
|
source "drivers/gpio/Kconfig.sam0"
|
|
|
|
|
2018-03-03 01:14:16 +01:00
|
|
|
source "drivers/gpio/Kconfig.sam"
|
|
|
|
|
2018-02-02 12:30:20 +01:00
|
|
|
source "drivers/gpio/Kconfig.sx1509b"
|
|
|
|
|
2018-06-27 13:03:35 +02:00
|
|
|
source "drivers/gpio/Kconfig.imx"
|
|
|
|
|
2018-09-19 19:15:12 +02:00
|
|
|
source "drivers/gpio/Kconfig.intel"
|
|
|
|
|
2019-04-10 09:43:42 +02:00
|
|
|
source "drivers/gpio/Kconfig.xec"
|
|
|
|
|
2018-12-02 21:44:35 +01:00
|
|
|
source "drivers/gpio/Kconfig.stellaris"
|
|
|
|
|
2018-11-07 19:13:52 +01:00
|
|
|
source "drivers/gpio/Kconfig.rv32m1"
|
|
|
|
|
2019-03-04 21:27:29 +01:00
|
|
|
source "drivers/gpio/Kconfig.ht16k33"
|
|
|
|
|
2019-10-07 13:08:44 +02:00
|
|
|
source "drivers/gpio/Kconfig.lmp90xxx"
|
|
|
|
|
2019-08-02 10:38:56 +02:00
|
|
|
source "drivers/gpio/Kconfig.litex"
|
|
|
|
|
2015-09-20 20:11:48 +02:00
|
|
|
endif # GPIO
|