u-boot/drivers
Simon Glass ae7123f876 dm: gpio: Add a native driver model API
So far driver model's GPIO uclass just implements the existing GPIO API.
This has some limitations:

- it requires manual device tree munging to support GPIOs in device tree
    (fdtdec_get_gpio() and friends)
- it does not understand polarity
- it is somewhat slower since we must scan for the GPIO device each time
- Global GPIO numbering can change if other GPIO drivers are probed
- it requires extra steps to set the GPIO direction and value

The new functions have a dm_ prefix where necessary to avoid name conflicts
but we can remove that when it is no-longer needed. The new struct gpio_desc
holds all required information about the GPIO. For now this is intended to
be stored by the client requesting the GPIO, but in future it might be
brought into the uclass in some way.

With these changes the old GPIO API still works, and uses the driver model
API underneath.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-01-29 17:09:50 -07:00
..
bios_emulator bios_emulator: Add some VESA interface debugging 2015-01-23 17:24:16 -07:00
block x86: ahci: Make sure interface is not busy after enabling the port 2015-01-23 17:24:53 -07:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: device: Add newline to debug() messages 2014-12-11 13:18:43 -07:00
crypto crypto/fsl: Add fixup for crypto node 2015-01-23 22:29:14 -06:00
ddr/fsl arm/ls1021a: Add workaround for DDR erratum A008378 2015-01-23 22:29:13 -06:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu dfu: dfu_get_buf: check the value of env dfu_bufsiz before use 2014-12-18 12:26:06 +01:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga fpga: xilinx: Show fpga info if defined 2015-01-21 10:25:43 +01:00
gpio dm: gpio: Add a native driver model API 2015-01-29 17:09:50 -07:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller 2015-01-29 17:09:49 -07:00
input cros-ec-keyboard: Synchronize DT binding from linux 2015-01-05 17:45:16 -07:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc i2c_eeprom: include <linux/err.h> to fix build error 2015-01-05 17:45:15 -07:00
mmc Merge branch 'master' of http://git.denx.de/u-boot-sunxi 2015-01-23 10:22:29 -05:00
mtd powerpc: ppc4xx: remove PPChameleonEVB, CATcenter boards 2015-01-23 16:53:36 -05:00
net kirkwood: define empty CONFIG_MVGBE_PORTS by default 2015-01-25 23:56:15 +01:00
pci pci: tegra: Fix port information parsing 2015-01-23 17:25:30 -07:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power sunxi: axp221: Add ELDO[1-3] support 2015-01-22 12:34:56 +01:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe qe/deep-sleep: modify qe deep-sleep for generic board 2014-12-15 09:16:49 -08:00
rtc x86: rtc: mc146818: Add helpers to read/write CMOS RAM 2015-01-24 06:13:44 -07:00
serial Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze 2015-01-26 06:42:15 -05:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi x86: spi: Add device tree support 2015-01-24 06:13:45 -07:00
thermal thermal: imx_thermal: Do not display calibration data 2014-12-01 10:20:18 +01:00
tpm Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: eth: asix88179: add ability to modify MAC address 2015-01-18 12:31:36 +01:00
video x86: video: Add support for CONFIG_CONSOLE_SCROLL_LINES 2015-01-23 17:24:54 -07:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2014-11-26 11:23:26 -05:00