Re: [PATCH v7 2/4] ARM: mediatek: Add sysirq interrupt polarity support

2014-11-21 Thread Yingjoe Chen
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;

[PATCH v7 2/4] ARM: mediatek: Add sysirq interrupt polarity support

2014-11-19 Thread Yingjoe Chen
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

Re: [PATCH v7 2/4] ARM: mediatek: Add sysirq interrupt polarity support

2014-11-19 Thread Mark Rutland
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 ---