public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Hunter <jon-hunter@ti.com>
To: hong zhang <henryzhang62@yahoo.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: gpio interrupt is not invoked on Panda board
Date: Fri, 1 Jul 2011 16:17:44 -0500	[thread overview]
Message-ID: <4E0E3978.9050805@ti.com> (raw)
In-Reply-To: <1309543835.48880.YahooMailClassic@web161712.mail.bf1.yahoo.com>

Hi Henry

On 7/1/2011 1:10 PM, hong zhang wrote:
> List,
>
> I try to get gpio_191 ping interrupted on panda but never succeeded. What I do is
>
> 1. set 0x410b on dpm_emu19 register to enable interrupt and wakeup
>     on gpio_191
> 2. set bit 31 to 1 on GPIO_IRQSTATUS_SET_0 register at 0x4805d034
> 3. set bit 31 to 1 on GPIO_IRQWAKEN_0 register at 0x4805d044
> 4. set bit 31 to 0 on GPIO_OE register at 0x4805d134 (output)
> 5. set bit 31 to 1 on GPIO_SETDATAOUT register at 0x4805d194
>
> Then I expect I should see interrupt on GPIO_IRQSTATUS_0 register at 0x4805d02c. But nothing happens for both output and input (put pin on ground or 1,8v).

You will not get an interrupt if you are configuring the gpio as an 
output (GPIO_OE[31] = 0).

Jon

  reply	other threads:[~2011-07-01 21:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 18:10 gpio interrupt is not invoked on Panda board hong zhang
2011-07-01 21:17 ` Jon Hunter [this message]
2011-07-01 23:15   ` hong zhang
2011-07-04  5:47     ` Varadarajan, Charulatha
2011-07-04 17:20       ` hong zhang

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=4E0E3978.9050805@ti.com \
    --to=jon-hunter@ti.com \
    --cc=henryzhang62@yahoo.com \
    --cc=linux-omap@vger.kernel.org \
    /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