From: <Claudiu.Beznea@microchip.com>
To: <thierry.reding@gmail.com>, <robh@kernel.org>, <corbet@lwn.net>,
<Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<Ludovic.Desroches@microchip.com>
Cc: <linux-pwm@vger.kernel.org>, <linux-doc@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<Claudiu.Beznea@microchip.com>
Subject: [PATCH v7 5/6] pwm: add documentation for pwm push-pull mode
Date: Mon, 17 Dec 2018 14:13:53 +0000 [thread overview]
Message-ID: <1545055999-23950-6-git-send-email-claudiu.beznea@microchip.com> (raw)
In-Reply-To: <1545055999-23950-1-git-send-email-claudiu.beznea@microchip.com>
From: Claudiu Beznea <claudiu.beznea@microchip.com>
Add documentation for PWM push-pull mode.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
Hi Rob,
In prevous version I had your Reviewed-by tag on this patch but I removed it
in this version since there are some changes b/w the previous one and this
one. Please see bellow and let me know if you are ok with this.
Thank you,
Claudiu Beznea
Changes in v6:
- remove bindings part
- use 1/3 duty factor ratio
- use '^' symbols to emphasize the beginning of a new period
- use PWMx_y to refrer to output y of PWM x
Documentation/pwm.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt
index 669fd4c9cc8e..80552627627d 100644
--- a/Documentation/pwm.txt
+++ b/Documentation/pwm.txt
@@ -130,6 +130,22 @@ channel that was exported. The following properties will then be available:
PWMx_1 |__| |__| |__| |__|
^ ^ ^ ^
+ Push-pull mode - for PWM channels with two outputs; output waveforms
+ for a PWM channel in push-pull mode, with normal polarity looks like
+ this:
+ __ __
+ PWMx_0 __| |____________| |__________
+ __ __
+ PWMx_1 __________| |____________| |__
+ ^ ^ ^ ^
+
+ If polarity is inversed:
+ __ ____________ __________
+ PWMx_0 |__| |__|
+ __________ ____________ __
+ PWMx_1 |__| |__|
+ ^ ^ ^ ^
+
Where '^' specifies the beginning of a period.
Implementing a PWM driver
--
2.7.4
next prev parent reply other threads:[~2018-12-17 14:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 14:13 [PATCH v7 0/6] extend PWM framework to support PWM modes Claudiu.Beznea
2018-12-17 14:13 ` [PATCH v7 1/6] pwm: extend PWM framework with " Claudiu.Beznea
2018-12-17 14:13 ` [PATCH v7 2/6] pwm: add " Claudiu.Beznea
2018-12-17 14:13 ` [PATCH v7 3/6] pwm: atmel: add pwm capabilities Claudiu.Beznea
2018-12-17 14:13 ` [PATCH v7 4/6] pwm: add push-pull mode support Claudiu.Beznea
2018-12-17 14:13 ` Claudiu.Beznea [this message]
2018-12-17 14:13 ` [PATCH v7 6/6] pwm: atmel: " Claudiu.Beznea
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=1545055999-23950-6-git-send-email-claudiu.beznea@microchip.com \
--to=claudiu.beznea@microchip.com \
--cc=Ludovic.Desroches@microchip.com \
--cc=Nicolas.Ferre@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=corbet@lwn.net \
--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=robh@kernel.org \
--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).