public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* gpio interrupt is not invoked on Panda board
@ 2011-07-01 18:10 hong zhang
  2011-07-01 21:17 ` Jon Hunter
  0 siblings, 1 reply; 5+ messages in thread
From: hong zhang @ 2011-07-01 18:10 UTC (permalink / raw)
  To: linux-omap

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).

Would you please give me hint what I miss here to get interrupt happened?
I want to use gpio_191 for IR receiver.

Thanks.

---henry

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-04 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01 18:10 gpio interrupt is not invoked on Panda board hong zhang
2011-07-01 21:17 ` Jon Hunter
2011-07-01 23:15   ` hong zhang
2011-07-04  5:47     ` Varadarajan, Charulatha
2011-07-04 17:20       ` hong zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox