Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383107

[PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma

From Kedareswara rao Appana <appana.durga.rao@xilinx.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma
Date 2016-04-20 09:30 +0200
Message-ID <rpUKe-3Yt-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patch updates the binding doc with clock description
for vdma.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
---
 Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
index fcc2b65..e1c9019 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
+++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
@@ -21,6 +21,10 @@ Required properties:
 - dma-channel child node: Should have at least one channel and can have up to
 	two channels per device. This node specifies the properties of each
 	DMA channel (see child node properties below).
+- clocks: Input clock specifier. Refer to common clock bindings.
+- clock-names: List of input clocks "axi_clk", "tx_clk", "txs_clk" (list of input
+	       cloks may vary based on the ip configuration. see clock bindings
+	       for more info).
 
 Required properties for VDMA:
 - xlnx,num-fstores: Should be the number of framebuffers as configured in h/w.
@@ -60,6 +64,8 @@ axi_vdma_0: axivdma@40030000 {
 	xlnx,num-fstores = <0x8>;
 	xlnx,flush-fsync = <0x1>;
 	xlnx,addrwidth = <0x20>;
+	clocks = <&clk 0>, <&clk 1>, <&clk 2>;
+	clock-names = "axi_clk", "tx_clk", "txs_clk";
 	dma-channel@40030000 {
 		compatible = "xlnx,axi-vdma-mm2s-channel";
 		interrupts = < 0 54 4 >;
-- 
2.1.2

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma Kedareswara rao Appana <appana.durga.rao@xilinx.com> - 2016-04-20 09:30 +0200
  Re: [PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com> - 2016-04-20 10:00 +0200
    RE: [PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-04-20 10:50 +0200
      Re: [PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma Lars-Peter Clausen <lars@metafoo.de> - 2016-04-20 13:20 +0200
        RE: [PATCH 1/2] Documentation: DT: vdma: Add clock support for vdma Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-04-20 13:40 +0200

csiph-web