All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation
@ 2016-04-27  7:05 ` Kedareswara rao Appana
  0 siblings, 0 replies; 26+ messages in thread
From: Kedareswara rao Appana @ 2016-04-27  7:05 UTC (permalink / raw)
  To: linux-arm-kernel

Device-tree binding documentation for Xilinx zynqmp dma engine used in
Zynq UltraScale+ MPSoC.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
---
Changes in v7:
- None.
Changes in v6:
- Removed desc-axi-cache/dst-axi-cache/src-axi-cache properties
  from the binding doc as it allow broken combinations when dma-coherent
  is set as suggested by Rob.
- Fixed minor comments given by Rob related coding(lower case DT node name).
Changes in v5:
- Use dma-coherent flag for coherent transfers as suggested by rob.
- Removed unnecessary properties from binding doc as suggested by Rob.
Changes in v4:
- None
Changes in v3:
- None
Changes in v2:
- None.


 .../devicetree/bindings/dma/xilinx/zynqmp_dma.txt  | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt

diff --git a/Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt
new file mode 100644
index 0000000..f0f0b54
--- /dev/null
+++ b/Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt
@@ -0,0 +1,44 @@
+Xilinx ZynqMP DMA engine, it does support memory to memory transfers,
+memory to device and device to memory transfers. It also has flow
+control and rate control support for slave/peripheral dma access.
+
+Required properties:
+- compatible		: Should be "xlnx,zynqmp-dma-1.0"
+- reg			: Memory map for gdma/adma module access.
+- interrupt-parent	: Interrupt controller the interrupt is routed through
+- interrupts		: Should contain DMA channel interrupt.
+- xlnx,bus-width	: Axi buswidth in bits. Should contain 128 or 64
+- clock-names		: List of input clocks "clk_main", "clk_apb"
+			  (see clock bindings for details)
+
+Optional properties:
+- xlnx,include-sg	: Indicates the controller to operate in simple or
+			  scatter gather dma mode
+- xlnx,ratectrl		: Scheduling interval in terms of clock cycles for
+			  source AXI transaction
+- xlnx,overfetch	: Tells whether the channel is allowed to over
+			  fetch the data
+- xlnx,src-issue	: Number of AXI outstanding transactions on source side
+- xlnx,src-burst-len	: AXI length for data read. Support only power of
+			  2 byte values.
+- xlnx,dst-burst-len	: AXI length for data write. Support only power of
+			  2 byte values.
+- dma-coherent		: Present if dma operations are coherent.
+
+Example:
+++++++++
+fpd_dma_chan1: dma at fd500000 {
+	compatible = "xlnx,zynqmp-dma-1.0";
+	reg = <0x0 0xFD500000 0x1000>;
+	interrupt-parent = <&gic>;
+	interrupts = <0 117 4>;
+	clock-names = "clk_main", "clk_apb";
+	xlnx,bus-width = <128>;
+	xlnx,include-sg;
+	xlnx,overfetch;
+	dma-coherent;
+	xlnx,ratectrl = <0>;
+	xlnx,src-issue = <16>;
+	xlnx,src-burst-len = <4>;
+	xlnx,dst-burst-len = <4>;
+};
-- 
2.1.2

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

end of thread, other threads:[~2016-05-03  9:12 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27  7:05 [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation Kedareswara rao Appana
2016-04-27  7:05 ` Kedareswara rao Appana
2016-04-27  7:05 ` Kedareswara rao Appana
2016-04-27  7:05 ` [PATCH v7 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support Kedareswara rao Appana
2016-04-27  7:05   ` Kedareswara rao Appana
2016-04-27  7:05   ` Kedareswara rao Appana
2016-04-27  7:11 ` [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation Lars-Peter Clausen
2016-04-27  7:11   ` Lars-Peter Clausen
2016-04-27  7:11   ` Lars-Peter Clausen
2016-04-27  7:33   ` Appana Durga Kedareswara Rao
2016-04-27  7:33     ` Appana Durga Kedareswara Rao
2016-04-27  7:33     ` Appana Durga Kedareswara Rao
2016-04-27 12:40     ` Lars-Peter Clausen
2016-04-27 12:40       ` Lars-Peter Clausen
2016-04-28  9:00       ` Appana Durga Kedareswara Rao
2016-04-28  9:00         ` Appana Durga Kedareswara Rao
2016-04-28  9:00         ` Appana Durga Kedareswara Rao
2016-04-28  9:10         ` Lars-Peter Clausen
2016-04-28  9:10           ` Lars-Peter Clausen
2016-04-28  9:10           ` Lars-Peter Clausen
2016-05-02 10:09           ` Vinod Koul
2016-05-02 10:09             ` Vinod Koul
2016-05-02 10:09             ` Vinod Koul
2016-05-03  9:12             ` Appana Durga Kedareswara Rao
2016-05-03  9:12               ` Appana Durga Kedareswara Rao
2016-05-03  9:12               ` Appana Durga Kedareswara Rao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.