Skip to content

dmaengine: bcm2835: support dma channel 11 to 14

Eric Anholt linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchEric Anholt
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] dmaengine: bcm2835: support dma channel 11 to 14
Quoted 17 lines · Vinod Koul
Quoted 16 lines · kernel at martin.sperl.org

From: Martin Sperl <[email protected]>

Right now the dma engine officially supports dma channel 11 and 12. But the use of dma channel 12 immediately stalls the system.

The reason is that the interrupt assigned right now to dma channel 11 is actually a shared interrupt for dma channels 11 to 12.
So whenever the dma channel 12, 13 or 14 is used, it triggers the interrupt for dma 11 which only clears the interrupt flag for dma channel 11. This results in the interrupt 11 is triggered all the time.

On top the requesting dma channel12 (and the corresponding irq) triggers an immeditate stall of the system, because for the 12th interrupt any dma channel will trigger also this interrupt - even if the dma channel is controlled by the firmware.

Quoted 8 lines
Quoted 6 lines

As the description in the default device-tree is (for the above reasons) wrong a new means had to get devised that allows correct representation of the mapping between interrupts and dma channels.

For this the existing (but unused) device-tree property "interrupt-names" is used to define the mapping.

This looks fine by me, need an ACK on ARM patch before this can be applied.

This series is:

-------------- 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/20160408/ff8c6ca6/attachment.sig>