From: Peter Korsgaard <jacmet@sunsite.dk>
To: Philip Avinash <avinashphilip@ti.com>
Cc: <thierry.reding@avionic-design.de>, <nsekhar@ti.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<davinci-linux-open-source@linux.davincidsp.com>,
<devicetree-discuss@lists.ozlabs.org>,
<linux-doc@vger.kernel.org>, <prakash.pm@ti.com>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
Rob Landley <rob@landley.net>
Subject: Re: [PATCH 2/2] pwm: pwm-tiehrpwm: Update device-tree binding document
Date: Mon, 25 Mar 2013 08:09:17 +0100 [thread overview]
Message-ID: <87ehf4ez1e.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1364195093-1357-3-git-send-email-avinashphilip@ti.com> (Philip Avinash's message of "Mon, 25 Mar 2013 12:34:53 +0530")
>>>>> "Philip" == Philip Avinash <avinashphilip@ti.com> writes:
Philip> Update binding document of pwm-tiehrpwm to reflect the usage of similar
Philip> modules in da850 and am3xx SOCs.
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Philip> Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Philip> Cc: Grant Likely <grant.likely@secretlab.ca>
Philip> Cc: Rob Herring <rob.herring@calxeda.com>
Philip> Cc: Rob Landley <rob@landley.net>
Philip> ---
Philip> .../devicetree/bindings/pwm/pwm-tiehrpwm.txt | 12 ++++++++++--
Philip> 1 file changed, 10 insertions(+), 2 deletions(-)
Philip> diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
Philip> index 4fc7079..9a71369 100644
Philip> --- a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
Philip> +++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
Philip> @@ -1,7 +1,9 @@
Philip> TI SOC EHRPWM based PWM controller
Philip> Required properties:
Philip> -- compatible : Must be "ti,am33xx-ehrpwm"
Philip> +- compatible: Must be "ti,<soc>-ehrpwm".
Philip> + for am33xx - compatible = "ti,am33xx-ehrpwm";
Philip> + for da850 - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
Philip> - #pwm-cells: Should be 3. Number of cells being used to specify PWM property.
Philip> First cell specifies the per-chip index of the PWM to use, the second
Philip> cell is the period in nanoseconds and bit 0 in the third cell is used to
Philip> @@ -15,9 +17,15 @@ Optional properties:
Philip> Example:
Philip> -ehrpwm0: ehrpwm@0 {
Philip> +ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */
Philip> compatible = "ti,am33xx-ehrpwm";
Philip> #pwm-cells = <3>;
Philip> reg = <0x48300200 0x100>;
Philip> ti,hwmods = "ehrpwm0";
Philip> };
Philip> +
Philip> +ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
Philip> + compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
Philip> + #pwm-cells = <3>;
Philip> + reg = <0x300000 0x2000>;
Philip> +};
Philip> --
Philip> 1.7.9.5
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-03-25 7:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 7:04 [PATCH 0/2] Update device tree binding document for pwm-tiehrpwm & pwm-tiecap Philip Avinash
2013-03-25 7:04 ` [PATCH 1/2] pwm: pwm-tiecap: Update device-tree binding document Philip Avinash
2013-03-25 7:09 ` Peter Korsgaard
2013-03-25 7:04 ` [PATCH 2/2] pwm: pwm-tiehrpwm: " Philip Avinash
2013-03-25 7:09 ` Peter Korsgaard [this message]
2013-04-08 5:56 ` [PATCH 0/2] Update device tree binding document for pwm-tiehrpwm & pwm-tiecap Philip, Avinash
2013-04-08 8:23 ` Thierry Reding
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=87ehf4ez1e.fsf@dell.be.48ers.dk \
--to=jacmet@sunsite.dk \
--cc=avinashphilip@ti.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=prakash.pm@ti.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=thierry.reding@avionic-design.de \
/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
all inboxes | Powered by JetHome®