From: Dirk Behme <dirk.behme@googlemail.com>
To: Arnold <abo_gwapo@yahoo.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: gpio Interrupt handling for omap5912
Date: Mon, 31 Jul 2006 11:22:50 +0200 [thread overview]
Message-ID: <44CDCBEA.3040703@gmail.com> (raw)
In-Reply-To: <20060731085200.16004.qmail@web55810.mail.re3.yahoo.com>
Arnold wrote:
> Anybody knows what interrupt number a gpio on omap5912
> uses?
AFAIK interrupt numbers for GPIO start with 160 and then are
numbered starting with first GPIO bank and so on.
See include/asm-arm/arch-omap/irqs.h:
#define IH2_BASE 32
/* Max. 128 level 2 IRQs (OMAP1610), 192 GPIOs (OMAP730) and
* 16 MPUIO lines */
#define OMAP_MAX_GPIO_LINES 192
#define IH_GPIO_BASE (128 + IH2_BASE)
#define IH_MPUIO_BASE (OMAP_MAX_GPIO_LINES +
IH_GPIO_BASE)
#define IH_BOARD_BASE (16 + IH_MPUIO_BASE)
Have a look to GPIO framework in gpio.c and its usage in
various files which can help you programming GPIO stuff.
Cheers
Dirk
next prev parent reply other threads:[~2006-07-31 9:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-30 16:47 Reg: OMAP Debugging karthik karthik
2006-07-31 8:52 ` gpio Interrupt handling for omap5912 Arnold
2006-07-31 9:22 ` Dirk Behme [this message]
2006-08-01 9:18 ` Arnold
2006-08-01 10:25 ` NETDEV WATCHDOG: eth0: transmit timed out Arnold
[not found] <44D1C3AF.5010004@gmail.com>
2006-08-04 2:49 ` gpio Interrupt handling for omap5912 Arnold
2006-08-13 14:15 ` Dirk Behme
2006-08-13 22:22 ` lamikr
2006-08-14 7:17 ` Dirk Behme
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=44CDCBEA.3040703@gmail.com \
--to=dirk.behme@googlemail.com \
--cc=abo_gwapo@yahoo.com \
--cc=linux-omap-open-source@linux.omap.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