From: Stephen Warren <swarren@wwwdotorg.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: Xiubo Li <Li.Xiubo@freescale.com>,
r65073@freescale.com, thierry.reding@gmail.com,
grant.likely@linaro.org, linux@arm.linux.org.uk, rob@landley.net,
ian.campbell@citrix.com, mark.rutland@arm.com,
pawel.moll@arm.com, rob.herring@calxeda.com,
linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM
Date: Fri, 30 Aug 2013 14:11:56 -0600 [thread overview]
Message-ID: <5220FC8C.90908@wwwdotorg.org> (raw)
In-Reply-To: <5EFBF478-CFCC-4E66-A279-25F4A338B05B@kernel.crashing.org>
On 08/30/2013 01:19 PM, Kumar Gala wrote:
> Should have at least something w/regards to a commit message.
>
> On Aug 20, 2013, at 10:07 PM, Xiubo Li wrote:
>
>> Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
>> ---
>> .../devicetree/bindings/pwm/fsl-ftm-pwm.txt | 52 ++++++++++++++++++++++
>> 1 file changed, 52 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/pwm/fsl-ftm-pwm.txt
>>
>> diff --git a/Documentation/devicetree/bindings/pwm/fsl-ftm-pwm.txt b/Documentation/devicetree/bindings/pwm/fsl-ftm-pwm.txt
>> new file mode 100644
>> index 0000000..698965b
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/pwm/fsl-ftm-pwm.txt
>> @@ -0,0 +1,52 @@
>> +Freescale FTM PWM controller
>> +
>> +Required properties:
>> +- compatible: should be "fsl,vf610-ftm-pwm"
>> +- reg: physical base address and length of the controller's registers
>> +- #pwm-cells: Should be 3. Number of cells being used to specify PWM property.
>> + First cell specifies the per-chip channel index of the PWM to use, the
>> + second cell is the period in nanoseconds and bit 0 in the third cell is
>> + used to encode the polarity of PWM output. Set bit 0 of the third in PWM
>> + specifier to 1 for inverse polarity & set to 0 for normal polarity.
>> +- fsl,pwm-clk-ps: the ftm0 pwm clock's prescaler, divide-by 2^n(n = 0 ~ 7).
>> +- fsl,pwm-cpwm: Center-Aligned PWM (CPWM) mode.
>
> Should describe this in more detail, what does the value actually mean for what modes there are?
Assuming "CPWM" is clearly explained in the HW documentation for this
chip (I have no idea if that's actually the case), then is it still
necessary to explain what this means in *detail*? Perhaps simply "see
section XXX in the TRM" or "see register XXX, bit YYY in the HW
documentation" would be enough?
next prev parent reply other threads:[~2013-08-30 20:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1377054462-6283-1-git-send-email-Li.Xiubo@freescale.com>
[not found] ` <1522215.zHEjdiga8V@flatron>
[not found] ` <1DD289F6464F0949A2FCA5AA6DC23F827D2539@039-SN2MPN1-013.039d.mgd.msft.net>
2013-08-22 12:17 ` [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM Tomasz Figa
[not found] ` <1377054462-6283-3-git-send-email-Li.Xiubo@freescale.com>
[not found] ` <20130823091309.GH3535@ulmo>
2013-08-26 5:58 ` [PATCH 2/4] ARM: dts: Add Freescale ftm pwm node for VF610 Xiubo Li-B47053
[not found] ` <1377054462-6283-4-git-send-email-Li.Xiubo@freescale.com>
[not found] ` <20130823091331.GI3535@ulmo>
2013-08-26 6:00 ` [PATCH 3/4] ARM: dts: Enables ftm pwm device for Vybrid VF610 TOWER board Xiubo Li-B47053
[not found] ` <1377054462-6283-2-git-send-email-Li.Xiubo@freescale.com>
[not found] ` <20130823090523.GF3535@ulmo>
2013-08-26 7:32 ` [PATCH 1/4] pwm: add freescale ftm pwm driver support Xiubo Li-B47053
2013-08-27 7:40 ` Thierry Reding
2013-08-27 9:56 ` Xiubo Li-B47053
[not found] ` <1377054462-6283-5-git-send-email-Li.Xiubo@freescale.com>
[not found] ` <1473340.OXSHEp7d4P@flatron>
[not found] ` <1DD289F6464F0949A2FCA5AA6DC23F827D2244@039-SN2MPN1-013.039d.mgd.msft.net>
[not found] ` <20130822062610.GR31036@pengutronix.de>
[not found] ` <20130823073612.GB3535@ulmo>
[not found] ` <5217B807.7020800@wwwdotorg.org>
2013-08-26 5:35 ` [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM Xiubo Li-B47053
2013-08-26 20:01 ` Stephen Warren
2013-08-27 3:48 ` Xiubo Li-B47053
2013-08-27 4:04 ` Stephen Warren
2013-08-26 5:46 ` Xiubo Li-B47053
2013-08-30 19:19 ` Kumar Gala
2013-08-30 20:11 ` Stephen Warren [this message]
2013-09-03 5:25 ` Xiubo Li-B47053
2013-09-02 2:18 ` Xiubo Li-B47053
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=5220FC8C.90908@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=Li.Xiubo@freescale.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@kernel.crashing.org \
--cc=grant.likely@linaro.org \
--cc=ian.campbell@citrix.com \
--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=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=r65073@freescale.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=thierry.reding@gmail.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).