u-boot/drivers
Peng Fan 99c0ae16d8 dm:gpio:mxc add DT support
This patch add DT support for mxc gpio driver.

There are one place using CONFIG_OF_CONTROL macro.
1. The U_BOOT_DEVICES and mxc_plat array are complied out. To DT,
   platdata is alloced using calloc, so there is no need to use mxc_plat.

The following situations are tested, and all work fine:
1. with DM, without DT
2. with DM and DT
3. without DM
Since device tree has not been upstreamed, if want to test this patch.
The followings need to be done.
 + pieces of code does not gpio_request when using gpio_direction_xxx and
   etc, need to request gpio.
 + move the gpio settings from board_early_init_f to board_init
 + define CONFIG_DM ,CONFIG_DM_GPIO and CONFIG_OF_CONTROL
 + Add device tree file and do related configuration in
   `make ARCH=arm menuconfig`
These will be done in future patches by step.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Simon Glass <sjg@chromium.org>
2015-02-12 15:17:29 -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: introduce dev_get_addr interface 2015-02-12 15:17:29 -07:00
crypto DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
ddr arm: mvebu: drivers/ddr: Add DDR3 driver with training code from Marvell bin_hdr 2015-02-06 17:25:03 +01:00
demo dm: Add Kconfig for driver/demo 2015-02-12 10:35:33 -07: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:mxc add DT support 2015-02-12 15:17:29 -07:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -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 dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07:00
mmc x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
mtd dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07:00
net Merge branch 'master' of git://git.denx.de/u-boot-net 2015-01-31 12:40:26 -05:00
pci x86: video: Allow video ROM execution to fall back to the other method 2015-02-05 22:16:43 -07:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
power Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2015-02-02 10:11:44 -05: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 dm: sh: serial: Add support driver model 2015-02-12 15:17:17 -07: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 dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07:00
thermal dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07: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: pci: Add XHCI driver for PCI 2015-02-05 22:16:42 -07:00
video Merge branch 'master' of git://git.denx.de/u-boot-x86 2015-02-10 10:42:56 -05:00
watchdog arm, at91, wdt: make timeout configurable 2015-02-07 23:43:20 +01:00
Kconfig dm: Expand and complete Kconfig in drivers/ 2015-02-12 10:35:33 -07:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq 2014-11-26 11:23:26 -05:00