uboot/drivers
Simon Glass 96495d90fe dm: Add GPIO support and tests
Add driver model support for GPIOs. Since existing GPIO drivers do not use
driver model, this feature must be enabled by CONFIG_DM_GPIO. After all
GPO drivers are converted over we can perhaps remove this config.

Tests are provided for the sandbox implementation, and are a sufficient
sanity check for basic operation.

The GPIO uclass understands the concept of named banks of GPIOs, with each
GPIO device providing a single bank. Within each bank the GPIOs are numbered
using an offset from 0 to n-1. For example a bank named 'b' with 20
offsets will provide GPIOs named b0 to b19.

Anonymous GPIO banks are also supported, and are just numbered without any
prefix.

Each time a GPIO driver is added to the uclass, the GPIOs are renumbered
accordinging, so there is always a global GPIO numbering order.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Viktor Křivák <viktor.krivak@gmail.com>
Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
2014-03-04 12:15:30 -05:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block blackfin: Add <asm/clock.h> to numerous drivers 2014-02-20 12:00:27 -05:00
bootcount i2c, bootcount: add support for bootcounter on i2c devices 2014-02-20 06:46:56 +01:00
core dm: Add base driver model support 2014-03-04 12:15:29 -05:00
crypto
ddr/fsl driver/ddr: Add 256 byte interleaving support 2014-02-21 11:06:13 -05:00
demo dm: Add a demonstration/example driver 2014-03-04 12:15:29 -05:00
dfu dfu: mmc: fs: Fix format accepted by ext4write command 2014-02-20 12:00:27 -05:00
dma
fpga sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
gpio dm: Add GPIO support and tests 2014-03-04 12:15:30 -05:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-26 16:49:58 -05:00
input
misc
mmc mmc: zynq: Add OF initialization support 2014-03-04 09:27:35 -05:00
mtd
net net: gem: Add OF initialization support 2014-03-04 09:27:35 -05:00
pci sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
pcmcia
power power: fix: Do not execute pmic command when not all necessary parameters are passed 2014-02-24 10:56:33 -05:00
qe
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial serial: zynq: Add OF initialization support 2014-03-04 09:27:36 -05:00
sound
spi Merge branch 'master' of git://git.denx.de/u-boot-spi 2014-02-21 08:00:22 -05:00
tpm
twserial
usb sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
video
watchdog
Makefile