[PATCH V2 4/5] dt-bindings: dma: xlnx,axi-dma: Add "xlnx,include-stscntrl-strm" property
From: Srinivas Neeli
Date: Fri Mar 13 2026 - 02:31:25 EST
Add an optional boolean DT property "xlnx,include-stscntrl-strm" to
indicate that the AXI DMA IP is configured with the AXI4-Stream status
and control interface. This enables the use of APP fields in DMA
descriptors for metadata reporting.
This property is distinct from "xlnx,axistream-connected" and serves a
different purpose:
- "xlnx,include-stscntrl-strm": Indicates whether APP fields are present
in DMA descriptors. When enabled, the driver can access status/control
metadata through these descriptor fields.
- "xlnx,axistream-connected": Indicates whether a streaming IP (client)
is connected to the DMA IP.
These two configurations are independent of each other. For example, in
TSN (Time-Sensitive Networking) designs, a streaming client may be
connected to the DMA IP, but the status/control stream interface is not
enabled. In such cases, "xlnx,axistream-connected" would be present while
"xlnx,include-stscntrl-strm" would be absent.
Adding this property allows the driver to correctly determine descriptor
layout and access APP fields only when the hardware supports them.
Signed-off-by: Suraj Gupta <suraj.gupta2@xxxxxxx>
Signed-off-by: Srinivas Neeli <srinivas.neeli@xxxxxxx>
---
.../devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml b/Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml
index 340ae9e91cb0..ad8afefe7ee3 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml
+++ b/Documentation/devicetree/bindings/dma/xilinx/xlnx,axi-dma.yaml
@@ -105,6 +105,10 @@ properties:
type: boolean
description: Tells whether DMA is connected to AXI stream IP.
+ xlnx,include-stscntrl-strm:
+ type: boolean
+ description: Tells hardware is configured with AXI4-stream status and control interface.
+
patternProperties:
"^dma-channel(-mm2s|-s2mm)?$":
type: object
--
2.43.0