From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: balbi@ti.com, rob.herring@calxeda.com, pawel.moll@arm.com,
mark.rutland@arm.com, ian.campbell@citrix.com, rob@landley.net,
gregkh@linuxfoundation.org, grant.likely@linaro.org,
idos@codeaurora.org, mgautam@codeaurora.org,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v3 1/3] usb: dwc3: msm: Add device tree binding information
Date: Mon, 19 Aug 2013 15:27:47 +0300 [thread overview]
Message-ID: <1376915267.26268.16.camel@iivanov-dev.int.mm-sol.com> (raw)
In-Reply-To: <520EAB3B.9030607@wwwdotorg.org>
Hi,
On Fri, 2013-08-16 at 16:44 -0600, Stephen Warren wrote:
> On 08/14/2013 06:59 AM, Ivan T. Ivanov wrote:
> > From: "Ivan T. Ivanov" <iivanov@mm-sol.com>
> >
> > MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys
> > (SNPS) and HS, SS PHY's control and configuration registers.
> >
> > It could operate in device mode (SS, HS, FS) and host
> > mode (SS, HS, FS, LS).
>
> > diff --git a/Documentation/devicetree/bindings/usb/msm-ssusb.txt b/Documentation/devicetree/bindings/usb/msm-ssusb.txt
>
> > +- clock-names :
> ...
> > + "sleep_a_clk" : Sleep clock, used when USB3 core goes into low
> ...
> > + "ref_clk" : Reference clock - used in host mode.
> ...
> > + "core_clk" : Master/Core clock, have to be >= 125 MHz for SS
> ...
> > + "iface_clk" : System bus AXI clock
> > + "sleep_clk" : Sleep clock, used when USB3 core goes into low
> ...
> > + "utmi_clk" : Generated by HS-PHY. Used to clock the low power
>
> I think it makes sense to remove "_clk" from all those names, unless the
> HW documentation really talks about a clock named e.g. iface_clk yet
> some other clock names in the documentation don't have the "_clk"
> suffix, e.g. the "xo I didn't quote.
>From limited information that I have, I could not say how clock inputs
are named from the controller perspective, but I agree that "_clk"
suffix looks redundant.
Side question: if for example label in controller says "UTMI", should I
also use capital letters for the resource or this could be "utmi"?
>
> > +Sub nodes:
> > +==========
>
> That section title is the same style as all the other section title, so
> it's no obvious that this is a sub-node for the controller wrapper.
> Instead, I would suggest something more like:
>
> Required child nodes:
>
> > +- Sub node for "DWC3 USB3 controller".
>
> Then you can drop that since it's obvious.
>
> > + This sub node is required property for device node. The properties
> > + of this subnode are specified in dwc3.txt.
>
> That doesn't really say much. How about.
>
> ----------
> A child node must exist to represent the core DWC3 IP block. The name of
> the node is not important. The content of the node is defined in dwc3.txt.
> ----------
Thanks, I will use your suggestion.
Regards,
Ivan
next prev parent reply other threads:[~2013-08-19 12:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 12:59 [PATCH v3 0/3] DWC3 USB support for Qualcomm platform Ivan T. Ivanov
2013-08-14 12:59 ` [PATCH v3 1/3] usb: dwc3: msm: Add device tree binding information Ivan T. Ivanov
2013-08-16 22:44 ` Stephen Warren
2013-08-19 12:27 ` Ivan T. Ivanov [this message]
2013-08-19 16:21 ` Stephen Warren
2013-08-19 16:30 ` Stephen Boyd
2013-08-14 12:59 ` [PATCH v3 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core Ivan T. Ivanov
2013-08-14 14:20 ` Josh Cartwright
2013-08-14 14:54 ` Ivan T. Ivanov
2013-08-14 12:59 ` [PATCH v3 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver Ivan T. Ivanov
2013-08-14 16:06 ` Stephen Boyd
2013-08-14 19:11 ` Ivan T. Ivanov
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=1376915267.26268.16.camel@iivanov-dev.int.mm-sol.com \
--to=iivanov@mm-sol.com \
--cc=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=ian.campbell@citrix.com \
--cc=idos@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mgautam@codeaurora.org \
--cc=pawel.moll@arm.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=swarren@wwwdotorg.org \
/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
Powered by JetHome