All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] Documentation: DT: vdma: Add clock support for vdma
@ 2016-04-20 11:43 ` Kedareswara rao Appana
  0 siblings, 0 replies; 30+ messages in thread
From: Kedareswara rao Appana @ 2016-04-20 11:43 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
---
Changes for v2:
--> Listed down all the clocks supported by the h/w
    as suggested by the Datta.
--> Used IP clock names instead of shortcut clock names.

 Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
index fcc2b65..afe9eb7 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
+++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_vdma.txt
@@ -21,6 +21,11 @@ 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 "s_axi_lite_aclk", "m_axi_mm2s_aclk"
+	       "m_axi_s2mm_aclk", "m_axis_mm2s_aclk", "s_axis_s2mm_aclk"
+	       (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 +65,9 @@ axi_vdma_0: axivdma at 40030000 {
 	xlnx,num-fstores = <0x8>;
 	xlnx,flush-fsync = <0x1>;
 	xlnx,addrwidth = <0x20>;
+	clocks = <&clk 0>, <&clk 1>, <&clk 2>, <&clk 3>, <&clk 4>;
+	clock-names = "s_axi_lite_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk",
+		      "m_axis_mm2s_aclk", "s_axis_s2mm_aclk";
 	dma-channel at 40030000 {
 		compatible = "xlnx,axi-vdma-mm2s-channel";
 		interrupts = < 0 54 4 >;
-- 
2.1.2

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

end of thread, other threads:[~2016-04-23  5:38 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 11:43 [PATCH v2 1/2] Documentation: DT: vdma: Add clock support for vdma Kedareswara rao Appana
2016-04-20 11:43 ` Kedareswara rao Appana
2016-04-20 11:43 ` Kedareswara rao Appana
2016-04-20 11:43 ` [PATCH v2 2/2] dmaengine: vdma: Add clock support Kedareswara rao Appana
2016-04-20 11:43   ` Kedareswara rao Appana
2016-04-20 11:43   ` Kedareswara rao Appana
2016-04-20 11:54   ` Shubhrajyoti Datta
2016-04-20 11:54     ` Shubhrajyoti Datta
2016-04-20 11:54     ` Shubhrajyoti Datta
2016-04-20 14:36   ` Sören Brinkmann
2016-04-20 14:36     ` Sören Brinkmann
2016-04-20 14:36     ` Sören Brinkmann
2016-04-20 14:55     ` Appana Durga Kedareswara Rao
2016-04-20 14:55       ` Appana Durga Kedareswara Rao
2016-04-20 14:55       ` Appana Durga Kedareswara Rao
2016-04-20 16:12       ` Sören Brinkmann
2016-04-20 16:12         ` Sören Brinkmann
2016-04-20 16:12         ` Sören Brinkmann
2016-04-20 14:27 ` [PATCH v2 1/2] Documentation: DT: vdma: Add clock support for vdma Sören Brinkmann
2016-04-20 14:27   ` Sören Brinkmann
2016-04-20 14:27   ` Sören Brinkmann
2016-04-20 14:50   ` Appana Durga Kedareswara Rao
2016-04-20 14:50     ` Appana Durga Kedareswara Rao
2016-04-20 14:50     ` Appana Durga Kedareswara Rao
2016-04-22 19:37 ` Rob Herring
2016-04-22 19:37   ` Rob Herring
2016-04-22 19:37   ` Rob Herring
2016-04-23  5:37   ` Appana Durga Kedareswara Rao
2016-04-23  5:37     ` Appana Durga Kedareswara Rao
2016-04-23  5:37     ` 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.