Skip to content

dmaengine: arm-dma350: add support for shared interrupt mode

Jun Guo dmaengine linux-arm-kernel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v13 patches 16 repliesSuperseded

Changes in v2 from the cover letter

- Update to kernel standards, enhance patch description, and refactor driver to use match data for hardware differentiation instead of compatible strings.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: dma: arm-dma350: update DT binding docs for cix sky1 SoCDocumentation/devicetree/bindings/dma/arm,dma-350.yaml+21 -102 replies
2/3dma: arm-dma350: add support for shared interrupt modedrivers/dma/arm-dma350.c+114 -103 replies
3/3arm64: dts: cix: add DT nodes for DMAarch/arm64/boot/dts/cix/sky1.dtsi+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] dmaengine: arm-dma350: add support for shared interrupt mode

The arm dma350 controller's hardware implementation varies: some designs dedicate a separate interrupt line for each channel, while others have all channels sharing a single interrupt.This patch adds support for the hardware design where all DMA channels share a single interrupt.

This series introduces the following enhancements for arm dma350 controller support on arm64 platforms:

Patch 1: Add a compatible string "cix,sky1-dma-350" for the cix sky1 SoC.
Patch 2: Implement support for the shared interrupt design of the DMA controller.
Patch 3: add DT nodes for DMA.

The patches have been tested on CIX SKY1 platform, the test steps are as follows:
% echo 2000 > /sys/module/dmatest/parameters/timeout
% echo 1 > /sys/module/dmatest/parameters/iterations
% echo "" > /sys/module/dmatest/parameters/channel
% echo 1 > /sys/module/dmatest/parameters/run

Changes for v2:
- Update to kernel standards, enhance patch description, and refactor driver to use match data for hardware differentiation instead of compatible strings.

Jun Guo (3):
dt-bindings: dma: arm-dma350: update DT binding docs for cix sky1 SoC
dma: arm-dma350: add support for shared interrupt mode
arm64: dts: cix: add DT nodes for DMA

 .../devicetree/bindings/dma/arm,dma-350.yaml  |  31 +++--
 arch/arm64/boot/dts/cix/sky1.dtsi             |   7 +
 drivers/dma/arm-dma350.c                      | 124 ++++++++++++++++--
 3 files changed, 142 insertions(+), 20 deletions(-)
Signature · 1 line
2.34.1