zephyr/include/drivers
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
..
bluetooth Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
clock_control clock: stm32f4: Add some missing clocks 2017-03-27 09:05:57 -05:00
console subsys: console: Add pull-style console API support. 2017-04-01 20:44:17 +00:00
gpio gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
ieee802154 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pci license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
serial license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
spi spi: k64: Remove the k64 spi driver 2017-01-23 15:15:54 -06:00
usb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ioapic.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
k20_sim.h arm: kinetis: Remove duplicate & unused defines 2017-01-23 15:15:52 -06:00
loapic.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
mvic.h mvic: include stdint for uint32_t 2017-02-11 07:00:40 +00:00
rand32.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sysapic.h x86: implement direct interrupts 2017-02-03 18:18:30 +00:00
system_timer.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00