]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
Documentation: DT: Sync device tree DT binding doc with mainline
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Thu, 14 Jul 2016 15:46:18 +0000 (21:16 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jul 2016 05:42:13 +0000 (07:42 +0200)
This patch syncs the device-tree binding doc with the
Mainline tree changes.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Documentation/devicetree/bindings/dma/xilinx/zynqmp_dma.txt

index 2cd5e095c79259bb21929675e6c468b5cc1d4003..a784cdd94790dac3ab3a12118efe43d0628bbdb9 100644 (file)
@@ -3,60 +3,25 @@ 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)
+- 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,desc-axi-cohrnt: Tells whether the AXI transactions generated for the
-                       descriptor read are marked Non-coherent
-- xlnx,src-axi-cohrnt: Tells whether the AXI transactions generated for the
-                       source descriptor payload are marked Non-coherent
-- xlnx,dst-axi-cohrnt: Tells whether the AXI transactions generated for the
-                       dst descriptor payload are marked Non-coherent
-- xlnx,desc-axi-qos: AXI QOS bits to be used for descriptor fetch
-- xlnx,src-axi-qos: AXI QOS bits to be used for data read
-- xlnx,dst-axi-qos: Axi QOS bits to be used for data write
-- xlnx,desc-axi-cache: AXI cache bits to be used for descriptor fetch
-- xlnx,desc-axi-cache: AXI cache bits to be used for data read
-- xlnx,desc-axi-cache: AXI cache bits to be used for data write
-- xlnx,src-burst-len: AXI length for data read. Support only power of 2 values
-                     i.e 1,2,4,8 and 16.
-- xlnx,dst-burst-len: AXI length for data write. Support only power of 2 values
-                     i.e 1,2,4,8 and 16.
+- dma-coherent         : Present if dma operations are coherent.
 
 Example:
 ++++++++
-fpd_dma_chan1: dma@FD500000 {
+fpd_dma_chan1: dma@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;
-       xlnx,ratectrl = <0>;
-       xlnx,src-issue = <16>;
-       xlnx,desc-axi-cohrnt;
-       xlnx,src-axi-cohrnt;
-       xlnx,dst-axi-cohrnt;
-       xlnx,desc-axi-qos = <0>;
-       xlnx,desc-axi-cache = <0>;
-       xlnx,src-axi-qos = <0>;
-       xlnx,src-axi-cache = <2>;
-       xlnx,dst-axi-qos = <0>;
-       xlnx,dst-axi-cache = <2>;
-       xlnx,src-burst-len = <4>;
-       xlnx,dst-burst-len = <4>;
+       dma-coherent;
 };