diff mbox

[5/8] phy: omap-usb2: Add clock names to Documentation binding

Message ID 1394197751-28984-6-git-send-email-rogerq@ti.com
State Superseded
Headers show

Commit Message

Roger Quadros March 7, 2014, 1:09 p.m. UTC
Add "wkupclk" and "refclk" information to DT binding information.

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 Documentation/devicetree/bindings/phy/ti-phy.txt | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Felipe Balbi March 7, 2014, 4:04 p.m. UTC | #1
On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote:
> Add "wkupclk" and "refclk" information to DT binding information.
> 
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> ---

so, should I take this one ?
Kishon Vijay Abraham I March 7, 2014, 4:23 p.m. UTC | #2
Felipe,

On Friday 07 March 2014 09:34 PM, Felipe Balbi wrote:
> On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote:
>> Add "wkupclk" and "refclk" information to DT binding information.
>>
>> Signed-off-by: Roger Quadros <rogerq@ti.com>
>> ---
>
> so, should I take this one ?

yes.. the ti-phy.txt is only in your tree.

Thanks
Kishon
>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felipe Balbi March 7, 2014, 4:24 p.m. UTC | #3
On Fri, Mar 07, 2014 at 09:53:03PM +0530, Kishon Vijay Abraham I wrote:
> Felipe,
> 
> On Friday 07 March 2014 09:34 PM, Felipe Balbi wrote:
> >On Fri, Mar 07, 2014 at 03:09:08PM +0200, Roger Quadros wrote:
> >>Add "wkupclk" and "refclk" information to DT binding information.
> >>
> >>Signed-off-by: Roger Quadros <rogerq@ti.com>
> >>---
> >
> >so, should I take this one ?
> 
> yes.. the ti-phy.txt is only in your tree.

yeah, I know that, but I need to know if this is safe to be applied as
in "it won't change anymore".
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt b/Documentation/devicetree/bindings/phy/ti-phy.txt
index 4ab9cb1..49c381c 100644
--- a/Documentation/devicetree/bindings/phy/ti-phy.txt
+++ b/Documentation/devicetree/bindings/phy/ti-phy.txt
@@ -36,6 +36,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
@@ -48,6 +53,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