All of lore.kernel.org
 help / color / mirror / Atom feed
From: <Claudiu.Beznea@microchip.com>
To: <thierry.reding@gmail.com>, <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 v8 2/6] pwm: add PWM modes
Date: Thu, 3 Jan 2019 13:29:47 +0000	[thread overview]
Message-ID: <1546522081-23659-3-git-send-email-claudiu.beznea@microchip.com> (raw)
In-Reply-To: <1546522081-23659-1-git-send-email-claudiu.beznea@microchip.com>

From: Claudiu Beznea <claudiu.beznea@microchip.com>

Add PWM normal and complementary modes.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 Documentation/pwm.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt
index 8fbf0aa3ba2d..669fd4c9cc8e 100644
--- a/Documentation/pwm.txt
+++ b/Documentation/pwm.txt
@@ -110,6 +110,28 @@ channel that was exported. The following properties will then be available:
 	- 0 - disabled
 	- 1 - enabled
 
+  mode
+    Get/set PWM channel working mode.
+
+    In the following description PWMx_y refers to output y of PWM with ID x.
+
+    Normal mode - for PWM channels with one output; this should be the
+        default working mode for every PWM channel; output waveforms looks
+        like this:
+              __      __      __      __
+    PWMx   __|  |____|  |____|  |____|  |__
+             ^       ^       ^       ^
+
+    Complementary mode - for PWM channels with two outputs; output waveforms
+        looks line this:
+              __      __      __      __
+    PWMx_0 __|  |____|  |____|  |____|  |__
+           __    ____    ____    ____    __
+    PWMx_1   |__|    |__|    |__|    |__|
+             ^       ^       ^       ^
+
+    Where '^' specifies the beginning of a period.
+
 Implementing a PWM driver
 -------------------------
 
-- 
2.7.4


WARNING: multiple messages have this Message-ID (diff)
From: <Claudiu.Beznea@microchip.com>
To: thierry.reding@gmail.com, 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 v8 2/6] pwm: add PWM modes
Date: Thu, 3 Jan 2019 13:29:47 +0000	[thread overview]
Message-ID: <1546522081-23659-3-git-send-email-claudiu.beznea@microchip.com> (raw)
In-Reply-To: <1546522081-23659-1-git-send-email-claudiu.beznea@microchip.com>

From: Claudiu Beznea <claudiu.beznea@microchip.com>

Add PWM normal and complementary modes.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 Documentation/pwm.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt
index 8fbf0aa3ba2d..669fd4c9cc8e 100644
--- a/Documentation/pwm.txt
+++ b/Documentation/pwm.txt
@@ -110,6 +110,28 @@ channel that was exported. The following properties will then be available:
 	- 0 - disabled
 	- 1 - enabled
 
+  mode
+    Get/set PWM channel working mode.
+
+    In the following description PWMx_y refers to output y of PWM with ID x.
+
+    Normal mode - for PWM channels with one output; this should be the
+        default working mode for every PWM channel; output waveforms looks
+        like this:
+              __      __      __      __
+    PWMx   __|  |____|  |____|  |____|  |__
+             ^       ^       ^       ^
+
+    Complementary mode - for PWM channels with two outputs; output waveforms
+        looks line this:
+              __      __      __      __
+    PWMx_0 __|  |____|  |____|  |____|  |__
+           __    ____    ____    ____    __
+    PWMx_1   |__|    |__|    |__|    |__|
+             ^       ^       ^       ^
+
+    Where '^' specifies the beginning of a period.
+
 Implementing a PWM driver
 -------------------------
 
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: <Claudiu.Beznea@microchip.com>
To: <thierry.reding@gmail.com>, <corbet@lwn.net>,
	<Nicolas.Ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
	<Ludovic.Desroches@microchip.com>
Cc: linux-pwm@vger.kernel.org, Claudiu.Beznea@microchip.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org
Subject: [PATCH v8 2/6] pwm: add PWM modes
Date: Thu, 3 Jan 2019 13:29:47 +0000	[thread overview]
Message-ID: <1546522081-23659-3-git-send-email-claudiu.beznea@microchip.com> (raw)
In-Reply-To: <1546522081-23659-1-git-send-email-claudiu.beznea@microchip.com>

From: Claudiu Beznea <claudiu.beznea@microchip.com>

Add PWM normal and complementary modes.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 Documentation/pwm.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt
index 8fbf0aa3ba2d..669fd4c9cc8e 100644
--- a/Documentation/pwm.txt
+++ b/Documentation/pwm.txt
@@ -110,6 +110,28 @@ channel that was exported. The following properties will then be available:
 	- 0 - disabled
 	- 1 - enabled
 
+  mode
+    Get/set PWM channel working mode.
+
+    In the following description PWMx_y refers to output y of PWM with ID x.
+
+    Normal mode - for PWM channels with one output; this should be the
+        default working mode for every PWM channel; output waveforms looks
+        like this:
+              __      __      __      __
+    PWMx   __|  |____|  |____|  |____|  |__
+             ^       ^       ^       ^
+
+    Complementary mode - for PWM channels with two outputs; output waveforms
+        looks line this:
+              __      __      __      __
+    PWMx_0 __|  |____|  |____|  |____|  |__
+           __    ____    ____    ____    __
+    PWMx_1   |__|    |__|    |__|    |__|
+             ^       ^       ^       ^
+
+    Where '^' specifies the beginning of a period.
+
 Implementing a PWM driver
 -------------------------
 
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-01-03 13:29 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03 13:29 [PATCH v8 0/6] extend PWM framework to support PWM modes Claudiu.Beznea
2019-01-03 13:29 ` Claudiu.Beznea
2019-01-03 13:29 ` Claudiu.Beznea
2019-01-03 13:29 ` [PATCH v8 1/6] pwm: extend PWM framework with " Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-05 21:05   ` Uwe Kleine-König
2019-01-05 21:05     ` Uwe Kleine-König
2019-01-05 21:05     ` Uwe Kleine-König
2019-01-07  9:30     ` Claudiu.Beznea
2019-01-07  9:30       ` Claudiu.Beznea
2019-01-07  9:30       ` Claudiu.Beznea
2019-01-07 22:10       ` Uwe Kleine-König
2019-01-07 22:10         ` Uwe Kleine-König
2019-01-08  9:21         ` Claudiu.Beznea
2019-01-08  9:21           ` Claudiu.Beznea
2019-01-08  9:21           ` Claudiu.Beznea
2019-01-08 22:08           ` Uwe Kleine-König
2019-01-08 22:08             ` Uwe Kleine-König
2019-01-08 22:08             ` Uwe Kleine-König
2019-01-09  9:02             ` Claudiu.Beznea
2019-01-09  9:02               ` Claudiu.Beznea
2019-01-09  9:02               ` Claudiu.Beznea
2019-02-05 23:01         ` Thierry Reding
2019-02-05 23:01           ` Thierry Reding
2019-02-06  8:24           ` Uwe Kleine-König
2019-02-06  8:24             ` Uwe Kleine-König
2019-02-13 15:38             ` Claudiu.Beznea
2019-02-13 15:38               ` Claudiu.Beznea
2019-02-13 15:38               ` Claudiu.Beznea
2019-02-14  9:48               ` Uwe Kleine-König
2019-02-14  9:48                 ` Uwe Kleine-König
2019-02-05 22:49     ` Thierry Reding
2019-02-05 22:49       ` Thierry Reding
2019-02-13 15:37       ` Claudiu.Beznea
2019-02-13 15:37         ` Claudiu.Beznea
2019-02-13 15:37         ` Claudiu.Beznea
2019-01-03 13:29 ` Claudiu.Beznea [this message]
2019-01-03 13:29   ` [PATCH v8 2/6] pwm: add " Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-05 20:41   ` Uwe Kleine-König
2019-01-05 20:41     ` Uwe Kleine-König
2019-01-07  9:30     ` Claudiu.Beznea
2019-01-07  9:30       ` Claudiu.Beznea
2019-01-07  9:30       ` Claudiu.Beznea
2019-01-03 13:29 ` [PATCH v8 3/6] pwm: atmel: add pwm capabilities Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:29 ` [PATCH v8 4/6] pwm: add push-pull mode support Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:29 ` [PATCH v8 5/6] pwm: add documentation for pwm push-pull mode Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:29   ` Claudiu.Beznea
2019-01-03 13:30 ` [PATCH v8 6/6] pwm: atmel: add push-pull mode support Claudiu.Beznea
2019-01-03 13:30   ` Claudiu.Beznea
2019-01-03 13:30   ` 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=1546522081-23659-3-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=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 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.