u-boot/arch/arm/include/asm/arch-omap4
Axel Lin 87bd05d78f ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5
The omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoCs.
These SoCs have different gpio count but currently omap_gpio driver uses hard
coded 192 which is wrong.

This patch fixes this issue by:
1. Move define of OMAP_MAX_GPIO to all arch/arm/include/asm/arch-omap*/gpio.h.
2. Update gpio bank settings and enable GPIO modules 7 & 8 clocks for OMAP5.

Thanks for Lubomir Popov to provide valuable comments to fix this issue.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Acked-by: Heiko Schocher <hs@denx.de>
2013-07-02 09:21:16 -04:00
..
clock.h ARM: DRA7xx: clocks: Update PLL values 2013-06-10 08:43:10 -04:00
cpu.h ARM: OMAP4+: Cleanup header files 2013-06-10 08:43:09 -04:00
ehci.h ehci-omap: Clean up added ehci-omap.c 2012-02-12 10:11:31 +01:00
gpio.h ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5 2013-07-02 09:21:16 -04:00
i2c.h omap4 i2c: add support for i2c bus 4 2012-09-06 06:01:09 +02:00
mmc_host_def.h omap: consolidate common mmc definitions 2013-03-08 16:41:12 -05:00
mux_omap4.h omap4+: Avoid using __attribute__ ((__packed__)) 2012-05-15 08:31:26 +02:00
omap.h ARM: OMAP4+: Cleanup header files 2013-06-10 08:43:09 -04:00
spl.h OMAP3/4/5/AM33xx: Correct logic for checking FAT or RAW MMC 2013-04-08 11:29:34 -04:00
sys_proto.h ARM: DRA7xx: power Add support for tps659038 PMIC 2013-06-10 08:43:09 -04:00