summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorBastian Hecht <hechtb@gmail.com>2013-03-27 13:54:03 (GMT)
committerSimon Horman <horms+renesas@verge.net.au>2013-03-28 07:39:46 (GMT)
commit427cc720277c140e6a63a03237f9bf37d8076ac3 (patch)
tree4da738eed066ad302789aac37b7e7caa5a681d72 /drivers/pinctrl
parent3b8dfa7c2f8af7613dae28ac0f3419bf75ead5d0 (diff)
downloadlinux-fsl-qoriq-427cc720277c140e6a63a03237f9bf37d8076ac3.tar.xz
irqchip: intc-irqpin: Add support for shared interrupt lines
On some hardware we don't have a 1-1 mapping from the external interrupts coming from INTC to the GIC SPI pins. We can however share lines to demux incoming IRQs on these SoCs. This patch enables the intc_irqpin driver to detect requests for shared interrupt lines and demuxes them properly by querying the INTC INTREQx0A registers. If you need multiple shared intc_irqpin device instances, be sure to mask out all interrupts on the INTC that share the one line before you start to register them. Else you run into IRQ floods that would be caused by interrupts for which no handler has been set up yet when the first intc_irqpin device is registered. Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions