OSDN Git Service

irqchip/irq-csky-mpintc: Add triger type
authorGuo Ren <ren_guo@c-sky.com>
Thu, 6 Jun 2019 07:37:31 +0000 (15:37 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 11 Jun 2019 11:28:13 +0000 (12:28 +0100)
commit648f835a028f4f7f031a89bc099e363d4292e5b9
tree7f6b13c4dd10d1b1f6a129ebd0a0c2342c5148f9
parent17c88892094973acd7176b794eff21abf24779fc
irqchip/irq-csky-mpintc: Add triger type

Support 4 triger types:
 - IRQ_TYPE_LEVEL_HIGH
 - IRQ_TYPE_LEVEL_LOW
 - IRQ_TYPE_EDGE_RISING
 - IRQ_TYPE_EDGE_FALLING

All of above could be set in DeviceTree file and it still compatible
with the old DeviceTree format.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-csky-mpintc.c