public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Pandita, Vikram" <vikram.pandita@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Query: Num GPIO lines
Date: Wed, 13 May 2009 10:31:23 -0700	[thread overview]
Message-ID: <20090513173123.GC5593@atomide.com> (raw)
In-Reply-To: <FCCFB4CDC6E5564B9182F639FC35608702F4C296B6@dbde02.ent.ti.com>

* Pandita, Vikram <vikram.pandita@ti.com> [090422 18:17]:
> 
> Ping. Any inputs on number of gpio's wrongly defined for OMAP34xx?

Sounds like a good bug fix! I'll add it to omap-fixes queue.

Tony
 
> 
> >-----Original Message-----
> >From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of
> >Pandita, Vikram
> >Sent: Monday, April 06, 2009 6:40 PM
> >To: linux-omap@vger.kernel.org
> >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 <Tom.Rix@windriver.com>
> >Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
> >---
> >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 majordomo@vger.kernel.org
> >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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-05-13 17:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06 23:18 Embedded Linux Conference Hans Verkuil
2009-04-06 23:39 ` Query: Num GPIO lines Pandita, Vikram
2009-04-23  1:16   ` Pandita, Vikram
2009-05-13 17:31     ` Tony Lindgren [this message]
2009-05-13 17:32   ` [APPLIED] >Query: " Tony Lindgren
2009-04-06 23:45 ` Embedded Linux Conference Tony Lindgren
2009-04-07  1:45   ` Tony Lindgren
2009-04-07 15:53     ` Tony Lindgren
2009-04-07 17:05       ` Dongsoo, Nathaniel Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090513173123.GC5593@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=vikram.pandita@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox