phy: omap-usb2: Add clock names to Documentation binding
authorRoger Quadros <rogerq@ti.com>
Mon, 5 May 2014 09:54:41 +0000 (12:54 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 8 May 2014 13:54:35 +0000 (19:24 +0530)
Add "wkupclk" and "refclk" information to DT binding information.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/ti-phy.txt

index 788fb0fa37622732d484bd30410c42bfafe834ea..9ce458f32945f03e67751f50eb3ab31e2bcfd81d 100644 (file)
@@ -32,6 +32,11 @@ Required properties:
  - reg : Address and length of the register set for the device.
  - #phy-cells: determine the number of cells that should be given in the
    phandle while referencing this phy.
+ - clocks: a list of phandles and clock-specifier pairs, one for each entry in
+   clock-names.
+ - clock-names: should include:
+   * "wkupclk" - wakeup clock.
+   * "refclk" - reference clock (optional).
 
 Optional properties:
  - ctrl-module : phandle of the control module used by PHY driver to power on
@@ -44,6 +49,8 @@ usb2phy@4a0ad080 {
        reg = <0x4a0ad080 0x58>;
        ctrl-module = <&omap_control_usb>;
        #phy-cells = <0>;
+       clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>;
+       clock-names = "wkupclk", "refclk";
 };
 
 TI PIPE3 PHY