mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jelly Jia <Jelly.Jia@cixtech.com>
To: vkoul@kernel.org, Frank.Li@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, robin.murphy@arm.com
Cc: devicetree@vger.kernel.org, cix-kernel-upstream@cixtech.com,
	dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Jelly.Jia@cixtech.com
Subject: [PATCH v7 00/10] dmaengine: arm-dma350: Add slave support and Sky1 integration
Date: Tue, 17 Nov 2026 17:43:25 +0800	[thread overview]
Message-ID: <20261117094335.1393735-1-Jelly.Jia@cixtech.com> (raw)

Hello,

This series adds scatter-gather and cyclic peripheral transfers to the
Arm DMA-350 driver and describes the CIX Sky1 clock/reset integration.
The companion AUDSS interrupt-path series builds on these changes.

The first five patches fix existing trigger, DMA mask, coherency,
IRQ/termination and queued-status handling. Patches 6 and 7 prepare
managed registration and command bookkeeping before patch 8 adds slave
and cyclic transfers. The final two patches describe and handle the
integration clock and optional reset. DTS enablement is kept separate.

Linked commands use a coherent DMA pool and descriptor-owned peripheral
resource mappings. Sky1 has no IOMMU on this path, but its RCSU windows
still require CPU-to-DMA address translation through the DMA API.

Changes since v6:
- Split existing fixes and memcpy/memset preparation out of the new
  slave/cyclic support. (Frank.)
- Use named little-endian hardware command fields and fill the coherent
  pool directly. Keep CPU-endian memcpy/memset command storage and MMIO
  handling; decode peripheral fields only when loading their registers.
  Derive SG lengths from saved command sizes without cmd_len[]. (Frank.)
- Remove the prep-time DMA write barrier; retain the final non-relaxed
  channel-enable writel and normal descriptor publication locking.
  Keep descriptor-owned peripheral address mappings and the distinction
  between read-only interrupt flags and W1C status bits. (Frank.)
- Use scoped guards consistently without extending critical sections,
  consistent device_config/device_caps names and managed DMA/OF
  registration. (Frank.)
- Put the submitter's Signed-off-by after the retained Reviewed-by tags.
  (Frank.)

Previous version:
https://lore.kernel.org/r/20261106013453.1134239-1-Jelly.Jia@cixtech.com

Jelly Jia (10):
  dmaengine: arm-dma350: Fix source trigger bit
  dmaengine: arm-dma350: Check DMA mask setup errors
  dmaengine: arm-dma350: Initialize channel coherency
  dmaengine: arm-dma350: Serialize IRQ and termination state
  dmaengine: arm-dma350: Report submitted descriptor status
  dmaengine: arm-dma350: Use managed device registration
  dmaengine: arm-dma350: Track descriptor byte lengths explicitly
  dmaengine: arm-dma350: Add slave and cyclic transfer support
  dt-bindings: dma: arm,dma-350: Describe the CIX Sky1 integration
  dmaengine: arm-dma350: Support integration clocks and resets

 .../devicetree/bindings/dma/arm,dma-350.yaml  |  30 +-
 drivers/dma/arm-dma350.c                      | 946 ++++++++++++++++--
 2 files changed, 886 insertions(+), 90 deletions(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.54.0


             reply	other threads:[~2026-11-17  9:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17  9:43 Jelly Jia [this message]
2026-11-17  9:43 ` [PATCH v7 01/10] dmaengine: arm-dma350: Fix source trigger bit Jelly Jia
2026-11-17  9:43 ` [PATCH v7 02/10] dmaengine: arm-dma350: Check DMA mask setup errors Jelly Jia
2026-11-17  9:43 ` [PATCH v7 03/10] dmaengine: arm-dma350: Initialize channel coherency Jelly Jia
2026-11-17  9:43 ` [PATCH v7 04/10] dmaengine: arm-dma350: Serialize IRQ and termination state Jelly Jia
2026-11-17  9:43 ` [PATCH v7 05/10] dmaengine: arm-dma350: Report submitted descriptor status Jelly Jia
2026-11-17  9:43 ` [PATCH v7 06/10] dmaengine: arm-dma350: Use managed device registration Jelly Jia
2026-11-17  9:43 ` [PATCH v7 07/10] dmaengine: arm-dma350: Track descriptor byte lengths explicitly Jelly Jia
2026-11-17  9:43 ` [PATCH v7 08/10] dmaengine: arm-dma350: Add slave and cyclic transfer support Jelly Jia
2026-11-17  9:43 ` [PATCH v7 09/10] dt-bindings: dma: arm,dma-350: Describe the CIX Sky1 integration Jelly Jia
2026-11-17  9:43 ` [PATCH v7 10/10] dmaengine: arm-dma350: Support integration clocks and resets Jelly Jia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261117094335.1393735-1-Jelly.Jia@cixtech.com \
    --to=jelly.jia@cixtech.com \
    --cc=Frank.Li@kernel.org \
    --cc=cix-kernel-upstream@cixtech.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®