linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq@ti.com>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
	balbi@ti.com, kishon@ti.com, tony@atomide.com
Cc: george.cherian@ti.com, linux-omap@vger.kernel.org,
	devicetree@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding
Date: Tue, 29 Apr 2014 10:57:34 +0300	[thread overview]
Message-ID: <535F5B6E.4050401@ti.com> (raw)
In-Reply-To: <535E8E97.7040809@cogentembedded.com>

Hi Sergei,

On 04/28/2014 08:23 PM, Sergei Shtylyov wrote:
> Hello.
> 
> On 04/28/2014 06:01 PM, Roger Quadros wrote:
> 
>> 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(+)
> 
>> diff --git a/Documentation/devicetree/bindings/phy/ti-phy.txt b/Documentation/devicetree/bindings/phy/ti-phy.txt
>> index 788fb0f..9ce458f 100644
>> --- a/Documentation/devicetree/bindings/phy/ti-phy.txt
>> +++ b/Documentation/devicetree/bindings/phy/ti-phy.txt
>> @@ -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.
> 
>    I thought clock specifier includes phandle. Anyway, this description doesn't seem to match your example...

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/clock/clock-bindings.txt#n64

The example was taken from real world where the clock doesn't need specifier.
Examples can always be a subset of supported bindings.

cheers,
-roger

> 
>> + - 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";
>>   };
> 
> WBR, Sergei
> 


  reply	other threads:[~2014-04-29  7:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 14:01 [PATCH v2 0/7] USB support for DRA7-evm Roger Quadros
     [not found] ` <1398693687-13967-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 14:01   ` [PATCH v2 1/7] ARM: dts: dra7-clock: Add "l3init_960m_gfclk" clock gate Roger Quadros
2014-04-28 14:01   ` [PATCH v2 2/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Roger Quadros
2014-04-28 14:01   ` [PATCH v2 3/7] phy: omap-usb2: Use generic clock names "wkupclk" and "refclk" Roger Quadros
     [not found]     ` <1398693687-13967-4-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:03       ` Felipe Balbi
     [not found]         ` <20140428160347.GG30292-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-29  7:50           ` Roger Quadros
     [not found]             ` <535F59CF.6050002-l0cyMroinI0@public.gmane.org>
2014-04-29 16:14               ` Felipe Balbi
     [not found]                 ` <20140429161420.GH633-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-29 16:16                   ` Felipe Balbi
     [not found]                     ` <20140429161616.GI633-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-04-30  7:16                       ` Roger Quadros
2014-04-30 15:20                     ` Nishanth Menon
2014-05-05  7:23                       ` Roger Quadros
2014-05-05  9:23                         ` Roger Quadros
2014-04-28 14:01   ` [PATCH v2 4/7] ARM: dts: omap4+: Add clocks to USB2 PHY node Roger Quadros
     [not found]     ` <1398693687-13967-5-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:04       ` Felipe Balbi
2014-04-28 14:01   ` [PATCH v2 5/7] phy: omap-usb2: Add clock names to Documentation binding Roger Quadros
     [not found]     ` <1398693687-13967-6-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:04       ` Felipe Balbi
2014-04-28 17:23       ` Sergei Shtylyov
2014-04-29  7:57         ` Roger Quadros [this message]
2014-04-28 14:01   ` [PATCH v2 6/7] ARM: dts: dra7: Add USB related nodes Roger Quadros
2014-04-28 16:05     ` Felipe Balbi
2014-04-28 14:01 ` [PATCH v2 7/7] dts: dra7-evm: add USB support Roger Quadros
     [not found]   ` <1398693687-13967-8-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>
2014-04-28 16:07     ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535F5B6E.4050401@ti.com \
    --to=rogerq@ti.com \
    --cc=balbi@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=george.cherian@ti.com \
    --cc=kishon@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).