devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings
@ 2014-04-03  7:35 Subbaraya Sundeep Bhatta
       [not found] ` <5a9b0116-246c-40a0-b894-3321c74648de-p/+QeVIcf1BCYczPSvLbDrjjLBE8jN/0@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Subbaraya Sundeep Bhatta @ 2014-04-03  7:35 UTC (permalink / raw)
  To: Felipe Balbi
  Cc: Greg Kroah-Hartman, michals, linux-usb, linux-kernel, devicetree,
	Subbaraya Sundeep Bhatta

Add devicetree bindings for Xilinx axi udc driver.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
---
Changes for v2:
	- replaced xlnx,include-dma with xlnx,has-builtin-dma

 .../devicetree/bindings/usb/udc-xilinx.txt         |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/udc-xilinx.txt

diff --git a/Documentation/devicetree/bindings/usb/udc-xilinx.txt b/Documentation/devicetree/bindings/usb/udc-xilinx.txt
new file mode 100644
index 0000000..7c24fac
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/udc-xilinx.txt
@@ -0,0 +1,20 @@
+Xilinx AXI USB2 device controller
+
+Required properties:
+- compatible		: Should be "xlnx,axi-usb2-device-4.00.a"
+- reg			: Physical base address and size of the Axi USB2
+			  device registers map.
+- interrupts		: Property with a value describing the interrupt
+			  number.
+- interrupt-parent	: Must be core interrupt controller
+- xlnx,has-builtin-dma	: if DMA is included
+
+Example:
+ 		axi-usb2-device@42e00000 {
+                        compatible = "xlnx,axi-usb2-device-4.00.a";
+                        interrupt-parent = <0x1>;
+                        interrupts = <0x0 0x39 0x1>;
+                        reg = <0x42e00000 0x10000>;
+                        xlnx,has-builtin-dma;
+                };
+
-- 
1.7.4

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

end of thread, other threads:[~2014-04-04  5:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03  7:35 [PATCH v2 1/2] usb: doc: udc-xilinx: Add devicetree bindings Subbaraya Sundeep Bhatta
     [not found] ` <5a9b0116-246c-40a0-b894-3321c74648de-p/+QeVIcf1BCYczPSvLbDrjjLBE8jN/0@public.gmane.org>
2014-04-03 14:59   ` Felipe Balbi
2014-04-04  5:52     ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).