zephyr/drivers/gpio
Jon Medhurst e7391e3068 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>
2017-04-04 17:55:13 -05:00
..
Kconfig gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
Kconfig.atmel_sam3 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.cc32xx cc3200: Add a GPIO driver for the TI CC3200 LaunchXL 2016-12-20 09:14:48 -06:00
Kconfig.cmsdk_ahb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.dw license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.fe310 gpio: added support for the SiFive Freedom E310 GPIO driver 2017-04-02 15:15:25 +00:00
Kconfig.mcux gpio: mcux: Revert to older GPIO device names as were used for Kinetis. 2017-02-28 11:18:32 +00:00
Kconfig.mmio32 gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
Kconfig.nrf5 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.pcal9535a license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.pulpino license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.qmsi license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.sch license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stm32 gpio: stm32: Add support for ports I to K 2017-03-27 09:05:57 -05:00
Makefile gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
gpio_atmel_sam3.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_cc32xx.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_cmsdk_ahb.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_cmsdk_ahb.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_dw.c gpio: Error GPIO_INT with GPIO_DIR_OUT consistently. 2017-02-08 13:31:08 +00:00
gpio_dw.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_dw_registers.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_fe310.c gpio: added support for the SiFive Freedom E310 GPIO driver 2017-04-02 15:15:25 +00:00
gpio_mcux.c gpio: Error GPIO_INT with GPIO_DIR_OUT consistently. 2017-02-08 13:31:08 +00:00
gpio_mmio32.c gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
gpio_nrf5.c drivers: gpio: Set the line to the pull by default 2017-02-27 21:02:19 +00:00
gpio_pcal9535a.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_pcal9535a.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_pulpino.c gpio: Error pin out of range consistently. 2017-02-08 13:31:08 +00:00
gpio_qmsi.c drivers gpio: Fix disabling of interrupts for QMSI shims 2017-02-15 00:25:32 +00:00
gpio_qmsi_ss.c drivers gpio: Fix disabling of interrupts for QMSI shims 2017-02-15 00:25:32 +00:00
gpio_sch.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_sch.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio_stm32.c gpio: stm32: Add support for ports I to K 2017-03-27 09:05:57 -05:00
gpio_stm32.h gpio: update stm32 gpio to support LL clock control driver 2017-02-10 14:47:41 -06:00
gpio_utils.h drivers: Convert FOR_EACH macro instances to use CONTAINER 2017-02-10 16:16:16 +00:00