Skip to content

Commit 7df54db

Browse files
andreamerellovinodkoul
authored andcommitted
dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property
The width of the "length register" cannot be autodetected, and it is now specified with a DT property. Add documentation for it. Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Cc: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: Andrea Merello <andrea.merello@gmail.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Reviewed-by: Rob Herring <robh+dt@kernel.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 5c094d4 commit 7df54db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ Optional properties:
4141
- xlnx,include-sg: Tells configured for Scatter-mode in
4242
the hardware.
4343
Optional properties for AXI DMA:
44+
- xlnx,sg-length-width: Should be set to the width in bits of the length
45+
register as configured in h/w. Takes values {8...26}. If the property
46+
is missing or invalid then the default value 23 is used. This is the
47+
maximum value that is supported by all IP versions.
4448
- xlnx,mcdma: Tells whether configured for multi-channel mode in the hardware.
4549
Optional properties for VDMA:
4650
- xlnx,flush-fsync: Tells which channel to Flush on Frame sync.

0 commit comments

Comments
 (0)