--- On Fri, 7/1/11, Jon Hunter <jon-hunter@xxxxxx> wrote: > From: Jon Hunter <jon-hunter@xxxxxx> > Subject: Re: gpio interrupt is not invoked on Panda board > To: "hong zhang" <henryzhang62@xxxxxxxxx> > Cc: linux-omap@xxxxxxxxxxxxxxx > Date: Friday, July 1, 2011, 4:17 PM > 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 GPIO_OE[31]=0 means output. I should get interrupt for output. GPIO_OE[31]=1 means input, but I do not get interrupt too. Do I miss anything here? -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html