Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
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
.known-issues net/mgmt: Add a function to wait on a event synchronously 2017-03-17 10:34:42 +02:00
arch arm: dts: Remove !HAS_DTS Kconfig bits 2017-04-04 17:55:13 -05:00
boards driver: i2c: stm32lx: align numbering scheme on data sheet 2017-04-04 17:55:13 -05:00
doc doc: subsystems: bluetooth: Update feature list 2017-04-04 19:51:07 +00:00
drivers gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
dts cc3200: Resolve DTS fixup. 2017-04-04 17:55:12 -05:00
ext ext: cc3220sdk: Import HAL for TI CC3220S SoC 2017-04-04 17:55:13 -05:00
include gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
kernel power_mgmt: Remove deprecated macros and structs 2017-03-31 03:06:17 +00:00
lib lib: json: Fix parsing of boolean values 2017-03-25 13:11:55 +00:00
misc misc: Let the compiler choose whether to omit frame pointer 2017-02-08 13:14:16 +00:00
samples doc: add labels to sample docs 2017-04-04 20:48:08 +00:00
scripts scripts: openocd.sh: align usage of OPENOCD_*_CMD variables 2017-04-01 12:21:36 +00:00
subsys Merge "Merge net branch into master" 2017-04-01 20:46:11 +00:00
tests tests: rename TICKS_UNLIMITED -> K_FOREVER 2017-04-04 19:52:50 +00:00
.checkpatch.conf checkpatch: Remove reference to legacy IP stack 2017-02-08 13:05:27 +00:00
.gitattributes
.gitignore doc: tweak .gitignore to allow doc theme dev 2017-02-23 13:20:04 +00:00
.gitreview
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
Kbuild frdm: fixed path and dependencies for extract_dts_includes.py 2017-02-22 13:57:52 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.zephyr license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
LICENSE
MAINTAINERS MAINTAINERS: Update maintainer for TI CC32XX SoCs, boards and SDKs 2017-04-04 17:55:13 -05:00
Makefile build: Don't remove dts/ directory on clean 2017-03-27 10:27:01 -05:00
Makefile.inc Revert "build: Fix qemugdb target" 2017-03-09 09:22:51 +00:00
Makefile.test tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
zephyr-env.sh zephyr-env.sh: only reset scripts_path on Windows 2017-03-31 15:42:31 -04:00