Commit fc51da4c authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Geert Uytterhoeven

dt-bindings: clock: renesas: rcar-usb2-clock-sel: Fix clock[-name]s properties

Since the hardware requires to enable both USB 2.0 host and peripheral
functional clock, this patch fixes the documentation.
Fortunately, no one has this device node for now, so that we don't
need to think of backward compatibility.

Fixes: 311accb6 ("clk: renesas: rcar-usb2-clock-sel: Add R-Car USB 2.0 clock selector PHY")
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1583304137-28482-2-git-send-email-yoshihiro.shimoda.uh@renesas.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 068e7f85
...@@ -38,7 +38,8 @@ Required properties: ...@@ -38,7 +38,8 @@ Required properties:
- reg: offset and length of the USB 2.0 clock selector register block. - reg: offset and length of the USB 2.0 clock selector register block.
- clocks: A list of phandles and specifier pairs. - clocks: A list of phandles and specifier pairs.
- clock-names: Name of the clocks. - clock-names: Name of the clocks.
- The functional clock must be "ehci_ohci" - The functional clock of USB 2.0 host side must be "ehci_ohci"
- The functional clock of HS-USB side must be "hs-usb-if"
- The USB_EXTAL clock pin must be "usb_extal" - The USB_EXTAL clock pin must be "usb_extal"
- The USB_XTAL clock pin must be "usb_xtal" - The USB_XTAL clock pin must be "usb_xtal"
- #clock-cells: Must be 0 - #clock-cells: Must be 0
...@@ -49,7 +50,8 @@ Example (R-Car H3): ...@@ -49,7 +50,8 @@ Example (R-Car H3):
compatible = "renesas,r8a7795-rcar-usb2-clock-sel", compatible = "renesas,r8a7795-rcar-usb2-clock-sel",
"renesas,rcar-gen3-usb2-clock-sel"; "renesas,rcar-gen3-usb2-clock-sel";
reg = <0 0xe6590630 0 0x02>; reg = <0 0xe6590630 0 0x02>;
clocks = <&cpg CPG_MOD 703>, <&usb_extal>, <&usb_xtal>; clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
clock-names = "ehci_ohci", "usb_extal", "usb_xtal"; <&usb_extal>, <&usb_xtal>;
clock-names = "ehci_ohci", "hs-usb-if", "usb_extal", "usb_xtal";
#clock-cells = <0>; #clock-cells = <0>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment