u-boot/arch
mario.six@gdsys.cc 07d31f8f98 dm: gpio: Add driver for MPC85XX GPIO controller
This patch adds a driver for the built-in GPIO controller of the MPC85XX
SoC (probably supporting other PowerQUICC III SoCs as well).

Each GPIO bank is identified by its own entry in the device tree, i.e.

gpio-controller@fc00 {
      #gpio-cells = <2>;
      compatible = "fsl,pq3-gpio";
      reg = <0xfc00 0x100>
}

By default, each bank is assumed to have 32 GPIOs, but the ngpios
setting is honored, so the number of GPIOs for each bank in configurable
to match the actual GPIO count of the SoC (e.g. the 32/32/23 banks of
the P1022 SoC).

The usual functions of GPIO drivers (setting input/output mode and output
value setting) are supported.

The driver has been tested on MPC85XX, but it is likely that other
PowerQUICC III devices will work as well.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
2016-06-03 22:13:24 -07:00
..
arc arc/cache: really do flush_dcache_all() even if IOC exists 2016-04-21 20:09:59 +03:00
arm Merge git://git.denx.de/u-boot-dm 2016-05-27 20:34:12 -04:00
avr32 avr32: Drop unused code in u-boot.h 2016-05-27 15:39:52 -04:00
blackfin configs: Re-sync almost all of cmd/Kconfig 2016-04-25 15:09:40 -04:00
m68k m68k: Drop unused code in u-boot.h 2016-05-27 15:39:53 -04:00
microblaze microblaze: Remove !OF_CONTROL code for timer and interrupt 2016-04-04 20:28:38 +02:00
mips mips: ath79: Use AR933X_PLL_SWITCH_CLOCK_CONTROL_REG macro define 2016-05-31 10:17:54 +02:00
nds32 Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
nios2 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
openrisc openrisc: Drop the arch-specific board init 2016-05-27 15:39:50 -04:00
powerpc dm: gpio: Add driver for MPC85XX GPIO controller 2016-06-03 22:13:24 -07:00
sandbox mailbox: implement a sandbox test 2016-05-26 20:48:31 -06:00
sh Drop references to CONFIG_SYS_GENERIC_BOARD in config files 2016-05-27 15:39:54 -04:00
sparc Fix spelling of "transferred". 2016-03-22 12:16:16 -04:00
x86 x86: baytrail: acpi: Fix I/O APIC ID in the MADT table 2016-05-30 10:21:12 +08:00
.gitignore
Kconfig Drop HAVE_GENERIC_BOARD and SYS_GENERIC_BOARD options 2016-05-27 15:39:55 -04:00