This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

interrupt handling in AM1808

Other Parts Discussed in Thread: AM1808

Hi

       I am using AM1808 Experimenters kit. my kernekl version is 2.6.37. I would like to use GPIO interrupt in the board. we have add on card for j28 from the base board. I am using the GP4[14],GP4[15] pins for rising the interrupt. I am using  the fallowing functions functions in loadable module.

static int interrupt_handler(int irq,void *dev_id,struct pt_regs *regs) ------------------>  interrupt handler
static void interrupt_enable(void)                                                 ------------------->  necessary gpio configurations to capture the interrupt
request_irq(49,interrupt_handler,SA_INTERRUPT, "interrupt", NULL)---------------->  for registering the interrupt in Linux.

In "interrupt_enable" function what all configurations we need to do for capturing the interrupt.

can you please suggest the changes to be done in board config file and da850.c if any

Thanks

Vasu Vallabhaneni