dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add power-domains and resets properties
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 4 Mar 2020 06:42:15 +0000 (15:42 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 9 Mar 2020 08:29:38 +0000 (09:29 +0100)
This patch adds missing required properties of power-domains and resets.
Fortunately, no one has this device node for now, so that we don't
need to think of backward compatibility.

Fixes: 311accb64570 ("clk: renesas: rcar-usb2-clock-sel: Add R-Car USB 2.0 clock selector PHY")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1583304137-28482-3-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.txt

index 5c1903fc40b318a6144756a510e42fddcc3afff7..4bf6f53bd95eaa20b0a299d102e9513f3ab68d0f 100644 (file)
@@ -43,6 +43,12 @@ Required properties:
  - The USB_EXTAL clock pin must be "usb_extal"
  - The USB_XTAL clock pin must be "usb_xtal"
 - #clock-cells: Must be 0
+- power-domains: A phandle and symbolic PM domain specifier.
+                 See power/renesas,rcar-sysc.yaml.
+- resets: A list of phandles and specifier pairs.
+- reset-names: Name of the resets.
+ - The reset of USB 2.0 host side must be "ehci_ohci"
+ - The reset of HS-USB side must be "hs-usb-if"
 
 Example (R-Car H3):
 
@@ -54,4 +60,7 @@ Example (R-Car H3):
                         <&usb_extal>, <&usb_xtal>;
                clock-names = "ehci_ohci", "hs-usb-if", "usb_extal", "usb_xtal";
                #clock-cells = <0>;
+               power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+               resets = <&cpg 703>, <&cpg 704>;
+               reset-names = "ehci_ohci", "hs-usb-if";
        };