AnsweredAssumed Answered

Interrupt priority on the Linux P1020 - How to set it up?

Question asked by alfonsokame on Mar 24, 2014
Latest reply on Mar 24, 2014 by Scott Wood

Hello,

 

I'm writing a linux kernel driver in order to control the 6 IRQs on the P1020.

 

My approach is to configure those IRqs in the device tree, to map them using irq_of_parse_and_map, to request them using request_irq

and to get the ISRs using the Read system call and the waitqueue. so far so good.

 

But I would like to configure the registers in order to set the priorities. Is the best approach to directly (atomic) write the PIC_EIVPR0...PIC_EIVPR6 registers?

 

is there any freescale approach to set the interrupt priorities on the QorIQ with Linux?

 

Thanks a lot for your reply

Outcomes