]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: usb: renesas_usbhs: add clock-names property
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 11 Sep 2018 08:47:04 +0000 (17:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 11:16:14 +0000 (13:16 +0200)
R-Car Gen3 needs to enable clocks of both host and peripheral.
Otherwise, other side device cannot work correctly. So, this patch
adds a property of clock-names for R-Car Gen3 as an optional.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/renesas_usbhs.txt

index 087140a4a49bd2e85aa7d69f652c53fc1fd53b12..15fb3b3c1ac0373539a97c975adb6396cfa1870a 100644 (file)
@@ -26,7 +26,11 @@ Required properties:
 
   - 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
+  - clocks: A list of phandle + clock specifier pairs.
+           - In case of "renesas,rcar-gen3-usbhs", two clocks are required.
+             First clock should be peripheral and second one should be host.
+           - In case of except above, one clock is required. First clock
+             should be peripheral.
 
 Optional properties:
   - renesas,buswait: Integer to use BUSWAIT register