Ping. Any inputs on number of gpio's wrongly defined for OMAP34xx?

>-----Original Message-----
>From: [email protected] 
>[mailto:[email protected]] On Behalf Of
>Pandita, Vikram
>Sent: Monday, April 06, 2009 6:40 PM
>To: [email protected]
>Subject: Query: Num GPIO lines
>
>
>Why for OMAP34xx is number of GPIO's 160?
>As per 3430 TRM, there are 6 banks [0 to 191]
>
>Signed-off-by: Tom Rix <[email protected]>
>Signed-off-by: Vikram Pandita <[email protected]>
>---
>diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c
>index 17d7afe..ee0b21f 100644
>--- a/arch/arm/plat-omap/gpio.c
>+++ b/arch/arm/plat-omap/gpio.c
>@@ -307,7 +307,7 @@ static inline int gpio_valid(int gpio)
>               return 0;
>       if (cpu_is_omap24xx() && gpio < 128)
>               return 0;
>-      if (cpu_is_omap34xx() && gpio < 160)
>+      if (cpu_is_omap34xx() && gpio < 192)
>               return 0;
>       return -1;
> }
>--
>To unsubscribe from this list: send the line "unsubscribe linux-omap" in
>the body of a message to [email protected]
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to