u-boot-2016/drivers
Hamish Martin 4b689f02ff dm: gpio: MPC85XX GPIO platform data support
Define a platform data structure for the MPC85XX GPIO driver to allow
use of the driver without device tree. Users should define the GPIO
blocks for their platform like this:
  struct mpc85xx_gpio_plat gpio_blocks[] = {
         {
                 .addr = 0x130000,
                 .ngpios = 32,
         },
         {
                 .addr = 0x131000,
                 .ngpios = 32,
         },
  };

  U_BOOT_DEVICES(my_platform_gpios) = {
         { "gpio_mpc85xx", &gpio_blocks[0] },
         { "gpio_mpc85xx", &gpio_blocks[1] },
  };

This is intended to build upon the recent submission of the base
MPC85XX driver from Mario Six. We need to use that new driver
without dts support and this patch gives us that flexibility.
This has been tested on a Freescale T2080 CPU, although only the first
GPIO block.

Signed-off-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Reviewed-by: Mario Six <mario.six@gdsys.cc>
Tested-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Simon Glass <sjg@chromium.org>
2016-07-11 14:06:44 -06:00
..
adc
bios_emulator
block
bootcount
clk clk: sandbox: don't check clk ID against 0 2016-06-24 17:24:35 -04:00
core dm: add manual relocation for devices 2016-06-19 17:05:55 -06:00
cpu
crypto verified-boot: Minimal support for booting U-Boot proper from SPL 2016-06-12 13:14:58 -04:00
ddr driver/ddr/fsl: Check condition for erratum A-009803 2016-06-03 14:12:49 -07:00
demo
dfu dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC 2016-07-11 14:06:44 -06:00
dma
fpga
gpio dm: gpio: MPC85XX GPIO platform data support 2016-07-11 14:06:44 -06:00
hwmon
i2c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
input
led
mailbox mailbox: add Tegra186 HSP driver 2016-06-19 17:05:55 -06:00
memory
misc Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-06-12 12:51:34 -04:00
mmc dm: mmc: msmsdhic: Drop old MMC code 2016-07-11 14:06:44 -06:00
mtd mtd: nand: Drop a blank line in nand_wait() 2016-06-24 17:23:14 -04:00
net net: rtl8169: Fix return value for rtl_send_common 2016-07-06 10:45:11 -05:00
pch
pci pci: tegra: actually program REFCLK_CFG* on recent SoCs 2016-07-05 11:14:32 -07:00
pcmcia
pinctrl pinctrl: uniphier: add Ethernet pin-mux settings 2016-07-02 05:44:30 +09:00
power sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
pwm exynos: pwm: Add a driver for the exynos5 PWM 2016-05-25 13:25:18 +09:00
qe
ram
remoteproc
reset reset: implement a reset test 2016-06-19 17:05:55 -06:00
rtc
serial clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
soc
sound
spi driver: qspi: correct QSPI disable CS reset value 2016-07-01 17:42:53 -04:00
spmi
thermal
timer
tpm
twserial
usb Merge branch 'master' of git://git.denx.de/u-boot-usb 2016-07-01 22:35:20 -04:00
video Merge branch 'master' of git://git.denx.de/u-boot-tegra 2016-07-06 15:55:36 -04:00
watchdog
Kconfig Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
Makefile Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00