zephyr/include
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
..
arch riscv32: added support for the SiFive Freedom E310 SOC 2017-04-02 15:15:07 +00:00
bluetooth Bluetooth: L2CAP: Use sys_slist_t for server channels 2017-03-23 17:42:14 +02:00
crypto
debug
display drivers: display: Enhance BBC micro:bit string output capabilities 2017-04-04 13:54:00 +03:00
drivers gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
fs
linker net: Switch from per-iface tx thread to a unique k_poll triggered one 2017-03-09 20:33:49 +02:00
logging
misc slist: Add parentesis to container list and node pointer 2017-04-01 20:36:42 +00:00
net net/ieee802154: Remove useless __packed annotation 2017-03-31 11:24:28 +02:00
shell
toolchain toolchain: override static assertions for GCC 2017-04-01 20:35:45 +00:00
usb
adc.h
aio_comparator.h
atomic.h
cache.h
clock_control.h
console.h subsys: console: Add pull-style console API support. 2017-04-01 20:44:17 +00:00
counter.h
device.h power_mgmt: Remove deprecated macros and structs 2017-03-31 03:06:17 +00:00
disk_access.h
dma.h dma: Use is_power_of_two() utility instead of hand-rolling 2017-04-03 20:33:42 +00:00
eth.h
flash.h
fs.h
gpio.h
i2c.h
init.h power_mgmt: Remove deprecated macros and structs 2017-03-31 03:06:17 +00:00
ipm.h
irq_offload.h
irq.h
kernel_version.h
kernel.h kernel: remove unused _THREAD_TIMEOUT_INIT and _THREAD_ERRNO_INIT 2017-04-04 15:25:45 +00:00
legacy.h
linker-defs.h
linker-tool-gcc.h
linker-tool.h
microkernel.h
nanokernel.h
pinmux.h
power.h
pwm.h
random.h
rtc.h
section_tags.h
sections.h
sensor.h
shared_irq.h
spi.h
sw_isr_table.h
sys_clock.h
sys_io.h
toolchain.h
uart.h
watchdog.h
zephyr.h