devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] usb: chipidea: zynq: Add device tree binding information
@ 2014-06-27 11:23 Punnaiah Choudary Kalluri
       [not found] ` <6233f866-678d-4a90-a307-debcb848ae76-reflc3kr++Mk2TTsEbHRquhlVc3/7hDbVaz/vdPVXQ4@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Punnaiah Choudary Kalluri @ 2014-06-27 11:23 UTC (permalink / raw)
  To: robh+dt, Peter.Chen, gregkh, galak, rdunlap, michal.simek
  Cc: devicetree, linux-doc, linux-kernel, linux-arm-kernel, linux-usb,
	kpc528, kalluripunnaiahchoudary, Punnaiah Choudary Kalluri

Document device tree binding information as required by
the ZYNQ USB controller.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
---
Changes in v2:
- none
---
 .../devicetree/bindings/usb/ci-hdrc-zynq.txt       |   23 ++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt

diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
new file mode 100644
index 0000000..54bb3b4
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
@@ -0,0 +1,23 @@
+Xilinx Zynq usb controller based on synopsys usb IP(v2.20a)
+
+Required properties:
+- compatible:   should contain "xlnx,zynq-usb-2.20a"
+- clocks:       clock provider specifier
+- reg:          offset and length of the register set in the memory map
+- interrupt-parent: the phandle for the interrupt controller that services
+                    interrupts for this device.
+- interrupts:   interrupt-specifier for the controller interrupt.
+- phy_type:     should be "ulpi"
+- dr_mode:      should be "peripheral" or "host"
+
+Examples:
+
+	usb@e0002000 {
+		clocks = <&clkc 28>;
+		compatible = "xlnx,zynq-usb-2.20a";
+		dr_mode = "host";
+		interrupt-parent = <&ps7_scugic_0>;
+		interrupts = <0 21 4>;
+		phy_type = "ulpi";
+		reg = <0xe0002000 0x1000>;
+	} ;
-- 
1.7.4



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

* Re: [PATCH v2 1/2] usb: chipidea: zynq: Add device tree binding information
       [not found] ` <6233f866-678d-4a90-a307-debcb848ae76-reflc3kr++Mk2TTsEbHRquhlVc3/7hDbVaz/vdPVXQ4@public.gmane.org>
@ 2014-06-27 12:23   ` Sergei Shtylyov
       [not found]     ` <53AD625B.1080002-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Sergei Shtylyov @ 2014-06-27 12:23 UTC (permalink / raw)
  To: Punnaiah Choudary Kalluri, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	Peter.Chen-KZfg59tc24xl57MIdRCFDg,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, rdunlap-wEGCiKHe2LqWVfeAwA7xHQ,
	michal.simek-gjFFaj9aHVfQT0dZR+AlfA
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, kpc528-Re5JQEeQqe8AvxtiuMwx3w,
	kalluripunnaiahchoudary-Re5JQEeQqe8AvxtiuMwx3w,
	Punnaiah Choudary Kalluri

Hello.

On 06/27/2014 03:23 PM, Punnaiah Choudary Kalluri wrote:

> Document device tree binding information as required by
> the ZYNQ USB controller.

> Signed-off-by: Punnaiah Choudary Kalluri <punnaia-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
[...]

> diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
> new file mode 100644
> index 0000000..54bb3b4
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
> @@ -0,0 +1,23 @@
> +Xilinx Zynq usb controller based on synopsys usb IP(v2.20a)

    s/usb/USB/.

> +
> +Required properties:
> +- compatible:   should contain "xlnx,zynq-usb-2.20a"
> +- clocks:       clock provider specifier
> +- reg:          offset and length of the register set in the memory map
> +- interrupt-parent: the phandle for the interrupt controller that services
> +                    interrupts for this device.

    This property has never been required -- it can be inherited from the 
upper level node.

WBR, Sergei


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2 1/2] usb: chipidea: zynq: Add device tree binding information
       [not found]     ` <53AD625B.1080002-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2014-06-30  3:26       ` punnaiah choudary kalluri
  0 siblings, 0 replies; 3+ messages in thread
From: punnaiah choudary kalluri @ 2014-06-30  3:26 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Punnaiah Choudary Kalluri,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Peter Chen,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
	Kumar Gala, rdunlap-wEGCiKHe2LqWVfeAwA7xHQ,
	michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-usb-u79uwXL29TY76Z2rM5mHXA, Punnaiah Choudary

On Fri, Jun 27, 2014 at 5:53 PM, Sergei Shtylyov
<sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> wrote:
> Hello.
>
>
> On 06/27/2014 03:23 PM, Punnaiah Choudary Kalluri wrote:
>
>> Document device tree binding information as required by
>> the ZYNQ USB controller.
>
>
>> Signed-off-by: Punnaiah Choudary Kalluri <punnaia-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
>
> [...]
>
>
>> diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
>> b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
>> new file mode 100644
>> index 0000000..54bb3b4
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-zynq.txt
>> @@ -0,0 +1,23 @@
>> +Xilinx Zynq usb controller based on synopsys usb IP(v2.20a)
>
>
>    s/usb/USB/.

OK

>
>
>> +
>> +Required properties:
>> +- compatible:   should contain "xlnx,zynq-usb-2.20a"
>> +- clocks:       clock provider specifier
>> +- reg:          offset and length of the register set in the memory map
>> +- interrupt-parent: the phandle for the interrupt controller that
>> services
>> +                    interrupts for this device.
>
>
>    This property has never been required -- it can be inherited from the
> upper level node.

OK. i will correct it.

Thanks,
Punnaiah

>
> WBR, Sergei
>
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-06-30  3:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-27 11:23 [PATCH v2 1/2] usb: chipidea: zynq: Add device tree binding information Punnaiah Choudary Kalluri
     [not found] ` <6233f866-678d-4a90-a307-debcb848ae76-reflc3kr++Mk2TTsEbHRquhlVc3/7hDbVaz/vdPVXQ4@public.gmane.org>
2014-06-27 12:23   ` Sergei Shtylyov
     [not found]     ` <53AD625B.1080002-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-06-30  3:26       ` punnaiah choudary kalluri

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).