u-boot-brain/arch/powerpc/include/asm
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
..
arch-mpc83xx
arch-mpc85xx dm: gpio: MPC85XX GPIO platform data support 2016-07-11 14:06:44 -06:00
arch-ppc4xx
4xx_pci.h
4xx_pcie.h
5xx_immap.h
8xx_immap.h
atomic.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
bitops.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
byteorder.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
cache.h
config_mpc85xx.h arch/arm, arch/powerpc: add # of SEC engines on the SOC 2016-05-18 08:51:46 -07:00
config_mpc86xx.h
config.h ns16550: unify serial_ppc 2015-11-21 21:50:04 -05:00
cpm_85xx.h
cpm_8260.h
e300.h
errno.h
fsl_dma.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_fdt.h t1040d4rdb: assign muxed pins to qe-tdm when set hwconfig qe-tdm 2015-11-02 08:48:20 -08:00
fsl_i2c.h dm: fsl_i2c: Enable DM for FSL I2C 2016-05-17 08:28:55 +02:00
fsl_law.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_lbc.h
fsl_liodn.h net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
fsl_mpc83xx_serdes.h
fsl_pamu.h powerpc/SECURE_BOOT: Add PAMU driver 2016-02-24 08:40:55 -08:00
fsl_pci.h
fsl_portals.h
fsl_secure_boot.h Kconfig: Move CONFIG_FIT and related options to Kconfig 2016-03-14 19:18:07 -04:00
fsl_serdes.h
fsl_srio.h powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
global_data.h Revert "powerpc: ppc4xx: remove lwmon5 support" 2015-10-11 17:12:09 -04:00
gpio.h mpc83xx: Add a GPIO driver for the MPC83XX family 2012-01-09 20:10:33 -06:00
immap_83xx.h
immap_85xx.h dm: gpio: Add driver for MPC85XX GPIO controller 2016-06-03 22:13:24 -07:00
immap_86xx.h dm: fsl_i2c: Rename I2C register structure 2016-05-17 08:28:52 +02:00
immap_512x.h
immap_8260.h
interrupt.h mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
io.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
iopin_8xx.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
iopin_8260.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
linkage.h
m8260_pci.h
mc146818rtc.h
mmu.h
mp.h
mpc8xxx_spi.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
mpc85xx_gpio.h
mpc512x.h
mpc8349_pci.h
pci_io.h
posix_types.h
ppc4xx_config.h
ppc4xx-ebc.h
ppc4xx-emac.h
ppc4xx-gpio.h
ppc4xx-i2c.h
ppc4xx-isram.h
ppc4xx-mal.h
ppc4xx-sdram.h
ppc4xx-uic.h
ppc4xx.h
ppc405.h
ppc405ep.h
ppc405ex.h
ppc405ez.h
ppc405gp.h
ppc440.h
ppc440ep_gr.h
ppc440epx_grx.h
ppc440gp.h
ppc440gx.h
ppc440sp.h
ppc440spe.h
ppc460ex_gt.h
ppc460sx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
processor.h
ptrace.h
sections.h
sigcontext.h
signal.h
spl.h
status_led.h
string.h
types.h
u-boot.h powerpc: Drop unused code related to generic board 2016-05-27 15:39:54 -04:00
unaligned.h
xilinx_irq.h mailaddr: Update mail address 2016-01-27 15:32:05 +01:00