Re: GPIO IRQ on P1022

2011-08-02 Thread Felix Radensky
Hi, On 07/31/2011 04:59 PM, Tabi Timur-B04825 wrote: Felix Radensky wrote: What happens when I load my driver is single execution of interrupt handler followed by system freeze. Even if I call disable_irq() in interrupt handler the system still freezes. I don't know anything

GPIO IRQ on P1022

2011-07-31 Thread Felix Radensky
Hi, I'm running kernel 3.0 on a custom board based on Freescale P1022. The interrupt line of on-board FPGA is connected to GPIO2_9. FPGA IRQ is level, active low. The GPIOs are mapped like this: GPIOs 160-191, /soc@ffe0/gpio-controller@f200: GPIOs 192-223,

Re: GPIO IRQ on P1022

2011-07-31 Thread Tabi Timur-B04825
Felix Radensky wrote: What happens when I load my driver is single execution of interrupt handler followed by system freeze. Even if I call disable_irq() in interrupt handler the system still freezes. I don't know anything about the GPIO layer, but I think you're going to

Re: GPIO IRQ on P1022

2011-07-31 Thread Felix Radensky
Hi Timur, On 07/31/2011 04:59 PM, Tabi Timur-B04825 wrote: Felix Radensky wrote: What happens when I load my driver is single execution of interrupt handler followed by system freeze. Even if I call disable_irq() in interrupt handler the system still freezes. I don't know

Re: GPIO IRQ on P1022

2011-07-31 Thread Wolfgang Grandegger
On 07/31/2011 12:38 PM, Felix Radensky wrote: Hi, I'm running kernel 3.0 on a custom board based on Freescale P1022. The interrupt line of on-board FPGA is connected to GPIO2_9. FPGA IRQ is level, active low. The GPIOs are mapped like this: GPIOs 160-191,

Re: GPIO IRQ on P1022

2011-07-31 Thread Felix Radensky
Hi Wolfgang, On 07/31/2011 06:19 PM, Wolfgang Grandegger wrote: On 07/31/2011 12:38 PM, Felix Radensky wrote: Hi, I'm running kernel 3.0 on a custom board based on Freescale P1022. The interrupt line of on-board FPGA is connected to GPIO2_9. FPGA IRQ is level, active low. The GPIOs are mapped

Re: GPIO IRQ on P1022

2011-07-31 Thread Wolfgang Grandegger
Hi Felix, On 07/31/2011 05:51 PM, Felix Radensky wrote: Hi Wolfgang, On 07/31/2011 06:19 PM, Wolfgang Grandegger wrote: On 07/31/2011 12:38 PM, Felix Radensky wrote: Hi, I'm running kernel 3.0 on a custom board based on Freescale P1022. The interrupt line of on-board FPGA is connected to

Re: GPIO IRQ on P1022

2011-07-31 Thread Felix Radensky
Hi Wolfgang, On 07/31/2011 08:49 PM, Wolfgang Grandegger wrote: Hi Felix, On 07/31/2011 05:51 PM, Felix Radensky wrote: Hi Wolfgang, On 07/31/2011 06:19 PM, Wolfgang Grandegger wrote: On 07/31/2011 12:38 PM, Felix Radensky wrote: Hi, I'm running kernel 3.0 on a custom board based on