]> git.baikalelectronics.ru Git - kernel.git/commit
ARCv2: IDU-intc: Add support for edge-triggered interrupts
authorMischa Jonker <Mischa.Jonker@synopsys.com>
Wed, 24 Jul 2019 12:04:34 +0000 (14:04 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 26 Aug 2019 17:04:59 +0000 (22:34 +0530)
commit62909b5c4bf9d0349c7dd5612a9638f3bae31260
treef88520e09b92c603be965720d4df1a31da554e8b
parentf6bf10034d938d1b094f529ca16e44717e9d6a32
ARCv2: IDU-intc: Add support for edge-triggered interrupts

This adds support for an optional extra interrupt cell to specify edge
vs level triggered. It is backward compatible with dts files with only
one cell, and will default to level-triggered in such a case.

Note that I had to make a change to idu_irq_set_affinity as well, as
this function was setting the interrupt type to "level" unconditionally,
since this was the only type supported previously.

Signed-off-by: Mischa Jonker <mischa.jonker@synopsys.com>
Reviewed-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/mcip.c
include/soc/arc/mcip.h