devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: lgm-dma: Added intel,dma-sw-desc property.
@ 2025-08-08  3:22 Zhu Yixin
  2025-08-08  3:22 ` [PATCH v2 2/3] dmaengine: lgm-dma: splitting CDMA and HDMA functions Zhu Yixin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Zhu Yixin @ 2025-08-08  3:22 UTC (permalink / raw)
  To: vkoul, robh, krzk+dt, conor+dt, p.zabel, kees, dave.jiang,
	av2082000, dmaengine, devicetree, linux-kernel
  Cc: Zhu Yixin

If the intel,dma-sw-desc property is present, it indicates that
the DMA driver is responsible for managing the DMA engine, including
handing the DMA descriptors.
If this property is present, the system defaults to a mode where
another hardware component takes control of the DMA engine.
In this case, the hardware can generate and manage descriptors
independently, without driver involvement.

This property only takes effect on HDMA(DMAV3x).

Signed-off-by: Zhu Yixin <yzhu@maxlinear.com>
---
 Documentation/devicetree/bindings/dma/intel,ldma.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/intel,ldma.yaml b/Documentation/devicetree/bindings/dma/intel,ldma.yaml
index d6bb553a2c6f..426168b8709e 100644
--- a/Documentation/devicetree/bindings/dma/intel,ldma.yaml
+++ b/Documentation/devicetree/bindings/dma/intel,ldma.yaml
@@ -80,6 +80,12 @@ properties:
       if it is disabled, the DMA RX will still support programmable fixed burst size of 2,4,8,16.
       It only applies to RX DMA and memcopy DMA.
 
+  intel,dma-sw-desc:
+    type: boolean
+    description:
+      Indicates that the DMA driver should operate in software-managed mode.
+      If this property is not present, it implies that DMA descriptors are managed and generated by another hardware component that controls the DMA engine.
+
 required:
   - compatible
   - reg
-- 
2.43.5


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-24 10:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-08  3:22 [PATCH v2 1/3] dt-bindings: lgm-dma: Added intel,dma-sw-desc property Zhu Yixin
2025-08-08  3:22 ` [PATCH v2 2/3] dmaengine: lgm-dma: splitting CDMA and HDMA functions Zhu Yixin
2025-08-08  3:22 ` [PATCH v2 3/3] dmaengine: lgm-dma: Added Software management functions on HDMA Zhu Yixin
2025-08-08  6:11   ` Krzysztof Kozlowski
2025-08-15  6:51     ` Yi xin Zhu
2025-08-08  6:09 ` [PATCH v2 1/3] dt-bindings: lgm-dma: Added intel,dma-sw-desc property Krzysztof Kozlowski
2025-08-15  7:07   ` Yi xin Zhu
2025-08-15  8:32     ` Krzysztof Kozlowski
2025-08-15 10:06       ` Yi xin Zhu
2025-08-15 10:40         ` Krzysztof Kozlowski
2025-08-18  8:41           ` Yi xin Zhu
2025-08-24 10:26             ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).