Skip to content

riscv: sophgo: allow DMA multiplexer set channel number for DMA controller

Inochi Amaoto dmaengine linux-devicetree linux-riscv lkml sophgo 6 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 5 repliesApplied
  2. v51 patch 0 repliesSuperseded
  3. v43 patches 1 replyApplied
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches7 repliesApplied
v23 patches9 repliesSuperseded
v13 patches5 repliesSuperseded

Changes in v6 from the cover letter

- https://lore.kernel.org/all/[email protected]
1. Add dt-bindings patch for fallback compatiable
2. patch 2: Adapt the binding change.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: dma: snps,dw-axi-dmac: Add fallback compatible for CV1800BDocumentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml+3 -23 replies
2/2riscv: dts: sophgo: cv180x: Allow the DMA multiplexer to set channel number for DMA controllerarch/riscv/boot/dts/sophgo/cv180x.dtsi+1 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAnton D. StavinskiiConor Dooley
1/2A-b
2/2T-b

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

Read the v6 thread

Cover letter [PATCH v6 0/2] riscv: sophgo: allow DMA multiplexer set channel number for DMA controller

As the DMA controller on Sophgo CV1800 series SoC only has 8 channels, the SoC provides a dma multiplexer to reuse the DMA channel. However, the dma multiplexer also controlls the DMA interrupt multiplexer, which means that the dma multiplexer needs to know the channel number.

Change the DMA phandle args parsing logic so it can use handshake number as channel number if necessary.

This patch series add fallback compatiable according to the disscussion.

Change from v5:
- https://lore.kernel.org/all/[email protected]
1. Add dt-bindings patch for fallback compatiable
2. patch 2: Adapt the binding change.

Change from v4:
- https://lore.kernel.org/all/[email protected]/
1. drop patch 1 and patch 2 as they are merged
2. Add ABI break statement and clarification for this patch.

Change from v3:
- https://lore.kernel.org/all/[email protected]/
1. rebase to v7.0-rc1
2. patch 1: Apply Conor's tag
3. patch 2: Apply Frank's tag

Change from v2:
- https://lore.kernel.org/all/[email protected]/
1. patch 2: rename "AXI_DMA_FLAG_HANDSHAKE_AS_CHAN" to "ARG0_AS_CHAN"

Change from v1:
- https://lore.kernel.org/all/[email protected]/
1. rebase to v6.19-rc1
2. patch 1: remove a comment placed in wrong place.
3. patch 2: fix typo in comments.
4. patch 2: initialize chan as NULL in dw_axi_dma_of_xlate.

Inochi Amaoto (2):
dt-bindings: dma: snps,dw-axi-dmac: Add fallback compatible for

    CV1800B

riscv: dts: sophgo: cv180x: Allow the DMA multiplexer to set channel
number for DMA controller

 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 5 +++--
 arch/riscv/boot/dts/sophgo/cv180x.dtsi                      | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

--
2.54.0