From: Thierry Reding <thierry.reding@gmail.com>
To: Tim Kryger <tim.kryger@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>,
Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Rob Landley <rob@landley.net>,
Christian Daudt <bcm@fixthebug.org>,
Grant Likely <grant.likely@linaro.org>,
Linux PWM List <linux-pwm@vger.kernel.org>,
Device Tree List <devicetree@vger.kernel.org>,
Linux Doc List <linux-doc@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Broadcom Kernel Feedback List
<bcm-kernel-feedback-list@broadcom.com>,
Linux ARM Kernel List <linux-arm-kernel@lists.infradead.org>,
Linaro Patches List <patches@linaro.org>
Subject: Re: [PATCH 1/5] Documentation: dt: Add kona-pwm binding
Date: Mon, 25 Nov 2013 12:17:10 +0100 [thread overview]
Message-ID: <20131125111709.GJ22043@ulmo.nvidia.com> (raw)
In-Reply-To: <1384800901-21711-2-git-send-email-tim.kryger@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]
On Mon, Nov 18, 2013 at 10:54:57AM -0800, Tim Kryger wrote:
> Add the binding description for the kona-pwm block found on Broadcom's
> mobile SoCs.
>
> Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
> Reviewed-by: Alex Elder <elder@linaro.org>
> Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
> ---
> .../devicetree/bindings/pwm/bcm-kona-pwm.txt | 24 ++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
>
> diff --git a/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
> new file mode 100644
> index 0000000..5c3ea1b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
> @@ -0,0 +1,24 @@
> +Broadcom's PWM Controller Device Tree bindings
This sounds somewhat strange, like Broadcom owns the bindings... perhaps
just:
Broadcom PWM controller device tree bindings
Or for consistency:
Broadcom Kona PWM controller device tree bindings
since apparently there exist other Broadcom PWM controllers.
> +Broadcom's Kona PWM Controller has 6 channels
"controller" and end the sentence with a full stop.
> +
> +Required Properties :
> +- compatible: should be "brcm,kona-pwm"
> +- reg: physical base address and length of the controller's registers
> +- clocks: clock specifier for the kona pwm external clock
Please use the correct spelling "PWM" in prose here and elsewhere. Also
you should pick one of "kona", "Kona" or "KONA" and stick with it
consistently. Might also be useful to mention what Kona is. Doesn't
necessarily have to be in the document, but if for nothing else, then
just for my curiosity.
> +- #pwm-cells: should be 2. The first cell specifies the per-chip index
> + of the PWM to use and the second cell is the period in nanoseconds.
> +
> +Refer to pwm/pwm.txt for generic pwm controller node properties.
> +
> +Refer to clocks/clock-bindings.txt for generic clock consumer
> +properties
This sentence should also end with a full stop.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] Documentation: dt: Add kona-pwm binding
Date: Mon, 25 Nov 2013 12:17:10 +0100 [thread overview]
Message-ID: <20131125111709.GJ22043@ulmo.nvidia.com> (raw)
In-Reply-To: <1384800901-21711-2-git-send-email-tim.kryger@linaro.org>
On Mon, Nov 18, 2013 at 10:54:57AM -0800, Tim Kryger wrote:
> Add the binding description for the kona-pwm block found on Broadcom's
> mobile SoCs.
>
> Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
> Reviewed-by: Alex Elder <elder@linaro.org>
> Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
> ---
> .../devicetree/bindings/pwm/bcm-kona-pwm.txt | 24 ++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
>
> diff --git a/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
> new file mode 100644
> index 0000000..5c3ea1b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pwm/bcm-kona-pwm.txt
> @@ -0,0 +1,24 @@
> +Broadcom's PWM Controller Device Tree bindings
This sounds somewhat strange, like Broadcom owns the bindings... perhaps
just:
Broadcom PWM controller device tree bindings
Or for consistency:
Broadcom Kona PWM controller device tree bindings
since apparently there exist other Broadcom PWM controllers.
> +Broadcom's Kona PWM Controller has 6 channels
"controller" and end the sentence with a full stop.
> +
> +Required Properties :
> +- compatible: should be "brcm,kona-pwm"
> +- reg: physical base address and length of the controller's registers
> +- clocks: clock specifier for the kona pwm external clock
Please use the correct spelling "PWM" in prose here and elsewhere. Also
you should pick one of "kona", "Kona" or "KONA" and stick with it
consistently. Might also be useful to mention what Kona is. Doesn't
necessarily have to be in the document, but if for nothing else, then
just for my curiosity.
> +- #pwm-cells: should be 2. The first cell specifies the per-chip index
> + of the PWM to use and the second cell is the period in nanoseconds.
> +
> +Refer to pwm/pwm.txt for generic pwm controller node properties.
> +
> +Refer to clocks/clock-bindings.txt for generic clock consumer
> +properties
This sentence should also end with a full stop.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131125/e002f94c/attachment.sig>
next prev parent reply other threads:[~2013-11-25 11:17 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 18:54 [PATCH 0/5] Add Broadcom Kona PWM Support Tim Kryger
2013-11-18 18:54 ` Tim Kryger
2013-11-18 18:54 ` [PATCH 1/5] Documentation: dt: Add kona-pwm binding Tim Kryger
2013-11-18 18:54 ` Tim Kryger
2013-11-18 18:54 ` Tim Kryger
2013-11-19 13:56 ` Mark Rutland
2013-11-19 13:56 ` Mark Rutland
2013-11-26 1:41 ` Tim Kryger
2013-11-26 1:41 ` Tim Kryger
2013-11-25 11:17 ` Thierry Reding [this message]
2013-11-25 11:17 ` Thierry Reding
2013-11-26 1:50 ` Tim Kryger
2013-11-26 1:50 ` Tim Kryger
2013-11-26 1:50 ` Tim Kryger
2013-11-18 18:54 ` [PATCH 2/5] pwm: kona: Introduce Kona PWM controller support Tim Kryger
2013-11-18 18:54 ` Tim Kryger
2013-11-25 11:08 ` Thierry Reding
2013-11-25 11:08 ` Thierry Reding
2013-11-26 1:38 ` Tim Kryger
2013-11-26 1:38 ` Tim Kryger
2013-11-26 9:45 ` Thierry Reding
2013-11-26 9:45 ` Thierry Reding
2013-11-26 21:32 ` Tim Kryger
2013-11-26 21:32 ` Tim Kryger
2013-11-18 18:54 ` [PATCH 3/5] ARM: dts: Declare the PWM for bcm11351 (bcm281xx) Tim Kryger
2013-11-18 18:54 ` Tim Kryger
2013-11-18 18:55 ` [PATCH 4/5] ARM: dts: Enable the PWM for bcm28155 AP board Tim Kryger
2013-11-18 18:55 ` Tim Kryger
2013-11-18 18:55 ` Tim Kryger
2013-11-18 18:55 ` [PATCH 5/5] ARM: bcm_defconfig: Enable PWM and Backlight Tim Kryger
2013-11-18 18:55 ` Tim Kryger
2013-11-18 18:55 ` Tim Kryger
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=20131125111709.GJ22043@ulmo.nvidia.com \
--to=thierry.reding@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bcm@fixthebug.org \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=patches@linaro.org \
--cc=pawel.moll@arm.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=swarren@wwwdotorg.org \
--cc=tim.kryger@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.