AnsweredAssumed Answered

LS1046A: How to use IRQ by low level-sensitive

Question asked by Yoshihisa Morizumi on Sep 6, 2018
Latest reply on Nov 9, 2018 by Yoshihisa Morizumi

Hi,

 

I'm using linux-4.9.35 which is based on LSDK-1709, on the LS1046ARDB.
I set the following entry to DTS file, because I wanted to use IRQ1 by "low level-sensitive".

 

  interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_LOW>;

 

However, request_irq() returns the error (EINVAL) by driver's initialization routine.
At that time, the following messages were output.

 

  genirq: Setting trigger mode 8 for irq 27 failed (gic_set_type+0x0/0x60)

 

I applied to the correction shown by the following threads, when the problem was solved.

 

https://lkml.org/lkml/2017/12/4/406

 

https://lkml.org/lkml/2018/2/23/1257
https://lkml.org/lkml/2018/2/23/1264

 

If this correction is appropriate, could you apply to next LSDK release?

Outcomes