From: Stephen Warren <swarren@wwwdotorg.org>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: devicetree@vger.kernel.org, rob.herring@calxeda.com,
pawel.moll@arm.com, mark.rutland@arm.com,
ian.campbell@citrix.com, rob@landley.net, robherring2@gmail.com
Subject: Re: [PATCH Resend 2/2] usb: phy: samsung: Update usbphy documentation
Date: Wed, 14 Aug 2013 16:18:34 -0600 [thread overview]
Message-ID: <520C023A.5050204@wwwdotorg.org> (raw)
In-Reply-To: <1376479377-15732-2-git-send-email-sachin.kamat@linaro.org>
On 08/14/2013 05:22 AM, Sachin Kamat wrote:
> Updated the documentation as per the latest driver implementation.
> While at it also fixed some trivial typos.
> diff --git a/Documentation/devicetree/bindings/usb/samsung-usbphy.txt b/Documentation/devicetree/bindings/usb/samsung-usbphy.txt
> +- clocks : Clock IDs array as required by the controller.
> +- clock-names : names of clocks listed in clocks property in the same order
> + as requested by the controller driver.
This is wrong. The DT binding must specify the set of required
clock-names, not the driver; bindings must be self-contained. Also, the
order shouldn't matter, since everything should be looked up by name;
all that matters is the entries in clocks/clock-names match.
> Optional properties:
> -- #address-cells: should be '1' when usbphy node has a child node with 'reg'
> +- #address-cellsi : should be '1' when usbphy node has a child node with 'reg'
> property.
Type "cellsi".
What should the value be if there is no child node? In other words, I
think just delete the text "when usbphy node has a child node with 'reg'
property.". Same for size-cells.
> -- #size-cells: should be '1' when usbphy node has a child node with 'reg'
> +- #size-cells : should be '1' when usbphy node has a child node with 'reg'
> property.
I don't think it's worth changing the binding doc just to add a space
before the colon... It looks better the first way, although
unfortunately many DT binding docs have the extra space.
> +- clocks : Clock IDs array as required by the controller.
> +- clock-names : names of clocks correseponding to IDs in the clock property
> as requested by the controller driver.
May as well s/correseponding/corresponding/.
next prev parent reply other threads:[~2013-08-14 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 11:22 [PATCH Resend 1/2] usb: samsung: Update Exynos ehci/ohci bindings documentation Sachin Kamat
2013-08-14 11:22 ` [PATCH Resend 2/2] usb: phy: samsung: Update usbphy documentation Sachin Kamat
2013-08-14 22:18 ` Stephen Warren [this message]
2013-08-22 16:30 ` Sachin Kamat
2013-08-14 22:14 ` [PATCH Resend 1/2] usb: samsung: Update Exynos ehci/ohci bindings documentation Stephen Warren
2013-08-22 16:01 ` Sachin Kamat
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=520C023A.5050204@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=devicetree@vger.kernel.org \
--cc=ian.campbell@citrix.com \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=robherring2@gmail.com \
--cc=sachin.kamat@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.