]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
vdma: xilinx: Document node properties in VDMA device node
authorSrikanth Thokala <srikanth.thokala@xilinx.com>
Fri, 13 Dec 2013 09:07:42 +0000 (14:37 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 13 Dec 2013 10:20:19 +0000 (11:20 +0100)
This patch documents all the properties that are populated in
VDMA device node.

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/dma/xilinx/axi-vdma.txt

index a17092825738c2dcc6813e74b888a996673ed32b..d8661f549f456a4d23fb03f48976f489018259f7 100644 (file)
@@ -14,6 +14,18 @@ Required properties:
 - xlnx,device-id: Should contain device number in each channel. It should be
        {0,1,2...so on} to the number of VDMA devices configured in hardware.
 - xlnx,num-fstores: Should be the number of framebuffers as configured in h/w.
+- xlnx,data-width: Should contain the stream data width, takes {32,64...so on}.
+- xlnx,flush-fsync: (Optional) Tells whether which channel to Flush on Fsync.
+       It takes following values:
+       {1}, flush both channels
+       {2}, flush mm2s channel
+       {3}, flush s2mm channel
+- xlnx,include-sg: (Optional) Tells whether configured for Scatter-mode in
+       the hardware.
+- xlnx,include-dre: (Optional) Tells whether hardware is configured for Data
+       Realignment Engine.
+- xlnx,genlock-mode: (Optional) Tells whether Genlock synchornisation is
+       enabled/disabled in hardware.
 
 Example:
 ++++++++
@@ -22,17 +34,20 @@ axi_vdma_0: axivdma@40030000 {
        compatible = "xlnx,axi-vdma";
        #dma_cells = <1>;
        reg = < 0x40030000 0x10000 >;
+       xlnx,flush-fsync = <0x1>;
        dma-channel@40030000 {
                compatible = "xlnx,axi-vdma-mm2s-channel";
                interrupts = < 0 54 4 >;
                xlnx,num-fstores = <0x8>;
                xlnx,device-id = <0x0>;
+               xlnx,datawidth = <0x40>;
        } ;
        dma-channel@40030030 {
                compatible = "xlnx,axi-vdma-s2mm-channel";
                interrupts = < 0 53 4 >;
                xlnx,num-fstores = <0x8>;
                xlnx,device-id = <0x0>;
+               xlnx,datawidth = <0x40>;
        } ;
 } ;