[PATCH V2 3/8] dmaengine: bcm2835: use shared interrupt for channel 11 to 14.
From: Eric Anholt <hidden>
Date: 2016-02-18 04:09:23
kernel at martin.sperl.org writes:
From: Martin Sperl <redacted> The bcm2835 dma channel 11 to 14 only have a single shared irq line, so this patch implements shared interrupts for these channels. To avoid changes to the device tree (with regards to interrupts listed, which reflects on pdev->num_resources) a fixed channel count had to get used in the code instead. With this patch applied we now have 11 dma channels available to the ARM side of the SOC. Signed-off-by: Martin Sperl <redacted>
Particularly given the existing DT bindings we have, I actually think this is a good way to go. This is internal to the hardware module about how its features map to interrupt lines that leave the hardware module (which are exposed in DT appropriately). I thought about "what if we had the last interrupt line hooked up to a different interrupt handler that read out and decided which channels to wake up", but this seems much simpler. Reviewed-by: Eric Anholt <redacted> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160217/ca03aa66/attachment.sig>