Hi Mark,
On Wed, 2014-11-19 at 18:04 +, Mark Rutland wrote:
On Wed, Nov 19, 2014 at 02:14:09PM +, Yingjoe Chen wrote:
+ if (type == IRQ_TYPE_LEVEL_LOW || type == IRQ_TYPE_EDGE_FALLING) {
+ if (type == IRQ_TYPE_LEVEL_LOW)
+ type = IRQ_TYPE_LEVEL_HIGH;
Mediatek SoCs have interrupt polarity support in sysirq which
allows to invert polarity for given interrupt. Add this support
using hierarchy irq domain.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-mtk-sysirq.c | 158
On Wed, Nov 19, 2014 at 02:14:09PM +, Yingjoe Chen wrote:
Mediatek SoCs have interrupt polarity support in sysirq which
allows to invert polarity for given interrupt. Add this support
using hierarchy irq domain.
Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com
---