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 license: replace APL2.0 license with SPDX 2017-02-20 16:59:46 +00:00
debug license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
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 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
linker net: Switch from per-iface tx thread to a unique k_poll triggered one 2017-03-09 20:33:49 +02:00
logging kernel_event_logger: add additional function prototypes 2017-01-19 20:17:29 +00:00
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 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
toolchain toolchain: override static assertions for GCC 2017-04-01 20:35:45 +00:00
usb usb: Change transfer_len type to int32_t in usb_request_handler typedef 2017-01-30 12:01:49 +00:00
adc.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
aio_comparator.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
atomic.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cache.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
clock_control.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
console.h subsys: console: Add pull-style console API support. 2017-04-01 20:44:17 +00:00
counter.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
device.h power_mgmt: Remove deprecated macros and structs 2017-03-31 03:06:17 +00:00
disk_access.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
dma.h dma: Use is_power_of_two() utility instead of hand-rolling 2017-04-03 20:33:42 +00:00
eth.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
flash.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
fs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio.h gpio: Clarify API 2017-02-06 13:15:49 +00:00
i2c.h i2c: Adds a functions set that supports flexible addressing. 2017-02-11 05:20:07 +00:00
init.h power_mgmt: Remove deprecated macros and structs 2017-03-31 03:06:17 +00:00
ipm.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
irq_offload.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
irq.h irq: introduce 'direct' interrupt API definition 2017-02-02 17:46:33 +00:00
kernel_version.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel.h kernel: remove unused _THREAD_TIMEOUT_INIT and _THREAD_ERRNO_INIT 2017-04-04 15:25:45 +00:00
legacy.h legacy: work around XCC issue in MDEF threads 2017-02-13 11:39:02 -08:00
linker-defs.h Xtensa port: Added support for Xtensa architecture to linker-defs.h. 2017-02-13 08:04:27 -08:00
linker-tool-gcc.h Xtensa port: Added linker script for several Xtensa cores. 2017-02-13 08:04:27 -08:00
linker-tool.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
microkernel.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
nanokernel.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pinmux.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
power.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pwm.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
random.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rtc.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
section_tags.h section_tags.h: Remove unused security_frdm_k64f_section 2017-02-17 22:20:53 +00:00
sections.h gen_isr_tables: New static interrupt build mechanism 2017-02-11 01:27:58 +00:00
sensor.h sensor: fix typo in sensor.h 2017-02-15 11:44:36 +00:00
shared_irq.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
spi.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sw_isr_table.h gen_isr_tables: New static interrupt build mechanism 2017-02-11 01:27:58 +00:00
sys_clock.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sys_io.h Revert "sys_bitfield*(): use 'void *' instead of memaddr_t" 2017-02-28 16:06:22 -05:00
toolchain.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uart.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
watchdog.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
zephyr.h include/zephyr.h: Define __ZEPHYR__ if not already. 2017-03-08 12:41:57 +01:00