[U-Boot] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5

Tom Rini trini at ti.com
Tue Jul 2 22:07:11 CEST 2013


On Fri, Jun 21, 2013 at 06:54:25PM +0800, Axel Lin wrote:

> 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 at ingics.com>
> Tested-by: Lubomir Popov <lpopov at mm-sol.com>
> Acked-by: Heiko Schocher <hs at denx.de>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130702/09f7f93a/attachment.pgp>


More information about the U-Boot mailing list