* [PATCH 1/2] usb: renesas_usbhs: Add device tree bindings documentation
@ 2014-08-01 11:49 Yoshihiro Shimoda
[not found] ` <53DB7EBA.3080004-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Yoshihiro Shimoda @ 2014-08-01 11:49 UTC (permalink / raw)
To: SH-Linux, devicetree@vger.kernel.org, Grant Likely, Rob Herring
Cc: linux-usb@vger.kernel.org
Document the device tree bindings for the Renesas USBHS controller.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
.../devicetree/bindings/usb/renesas_usbhs.txt | 24 ++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt
diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
new file mode 100644
index 0000000..e9faa65
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt
@@ -0,0 +1,24 @@
+Renesas Electronics USBHS driver
+
+Required properties:
+ - compatible: Must contain one of the following:
+ - "renesas,usbhs-r8a7790"
+ - "renesas,usbhs-r8a7791"
+ - reg: Base address and length of the register for the USBHS
+ - interrupts: Interrupt specifier for the USBHS
+ - clocks: A list of phandle + clock specifier pairs
+
+Optional properties:
+ - buswait_bwait: Integer to use BUSWAIT register
+ - enable-gpio: A gpio specifier to check GPIO determining if USB function
+ should be enabled
+ - phys: phandle + phy specifier pair
+ - phy-names: must be "usb"
+
+Example:
+ usbhs: usb@e6590000 {
+ compatible = "renesas,usbhs-r8a7790";
+ reg = <0 0xe6590000 0 0x100>;
+ interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
+ };
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <53DB7EBA.3080004-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH 1/2] usb: renesas_usbhs: Add device tree bindings documentation [not found] ` <53DB7EBA.3080004-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> @ 2014-08-01 13:35 ` Sergei Shtylyov 2014-08-04 4:24 ` Yoshihiro Shimoda 0 siblings, 1 reply; 3+ messages in thread From: Sergei Shtylyov @ 2014-08-01 13:35 UTC (permalink / raw) To: Yoshihiro Shimoda, SH-Linux, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Grant Likely, Rob Herring Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Hello. On 08/01/2014 03:49 PM, Yoshihiro Shimoda wrote: > Document the device tree bindings for the Renesas USBHS controller. > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org> > --- > .../devicetree/bindings/usb/renesas_usbhs.txt | 24 ++++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt > diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt > new file mode 100644 > index 0000000..e9faa65 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt > @@ -0,0 +1,24 @@ > +Renesas Electronics USBHS driver > + > +Required properties: > + - compatible: Must contain one of the following: > + - "renesas,usbhs-r8a7790" > + - "renesas,usbhs-r8a7791" > + - reg: Base address and length of the register for the USBHS > + - interrupts: Interrupt specifier for the USBHS > + - clocks: A list of phandle + clock specifier pairs > + > +Optional properties: > + - buswait_bwait: Integer to use BUSWAIT register Should be named "renesas,buswait-bwait" or probably just "renesas,buswait". > + - enable-gpio: A gpio specifier to check GPIO determining if USB function Should also be prefixed with "renesas,". [...] WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-usb" 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 1/2] usb: renesas_usbhs: Add device tree bindings documentation 2014-08-01 13:35 ` Sergei Shtylyov @ 2014-08-04 4:24 ` Yoshihiro Shimoda 0 siblings, 0 replies; 3+ messages in thread From: Yoshihiro Shimoda @ 2014-08-04 4:24 UTC (permalink / raw) To: Sergei Shtylyov, SH-Linux, devicetree@vger.kernel.org, Grant Likely, Rob Herring Cc: linux-usb@vger.kernel.org Hello, (2014/08/01 22:35), Sergei Shtylyov wrote: > Hello. > > On 08/01/2014 03:49 PM, Yoshihiro Shimoda wrote: > >> Document the device tree bindings for the Renesas USBHS controller. > >> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> >> --- >> .../devicetree/bindings/usb/renesas_usbhs.txt | 24 ++++++++++++++++++++ >> 1 file changed, 24 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/usb/renesas_usbhs.txt > >> diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt >> new file mode 100644 >> index 0000000..e9faa65 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt >> @@ -0,0 +1,24 @@ >> +Renesas Electronics USBHS driver >> + >> +Required properties: >> + - compatible: Must contain one of the following: >> + - "renesas,usbhs-r8a7790" >> + - "renesas,usbhs-r8a7791" >> + - reg: Base address and length of the register for the USBHS >> + - interrupts: Interrupt specifier for the USBHS >> + - clocks: A list of phandle + clock specifier pairs >> + >> +Optional properties: >> + - buswait_bwait: Integer to use BUSWAIT register > > Should be named "renesas,buswait-bwait" or probably just "renesas,buswait". Thank you for the point. I will fix this name to "renesas,buswait". >> + - enable-gpio: A gpio specifier to check GPIO determining if USB function > > Should also be prefixed with "renesas,". I will fix this name to "renesas,enable-gpio". Best regards, Yoshihiro Shimoda > [...] > > WBR, Sergei > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-04 4:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-01 11:49 [PATCH 1/2] usb: renesas_usbhs: Add device tree bindings documentation Yoshihiro Shimoda
[not found] ` <53DB7EBA.3080004-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-08-01 13:35 ` Sergei Shtylyov
2014-08-04 4:24 ` Yoshihiro Shimoda
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox