linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] pwm: sun4i: switch to atomic PWM
@ 2017-05-30 19:32 Alexandre Belloni
  2017-05-30 19:32 ` [PATCH v2 1/3] pwm: sun4i: improve hardware read out Alexandre Belloni
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Alexandre Belloni @ 2017-05-30 19:32 UTC (permalink / raw)
  To: Thierry Reding, Olliver Schinagl
  Cc: Maxime Ripard, Chen-Yu Tsai, Boris Brezillon, Jonathan Liu,
	linux-pwm, linux-arm-kernel, linux-kernel, Alexandre Belloni

Switch to atomic PWM. The main goal is to properly wait for a period before
disabling a channel to ensure the correct level is set on the output.

Changes in v2:
 - fixed remaining checkpatch warnings
 - split the series to ease reviews
 - changed the delay handling to ensure the proper amount of time has elapsed
   before disabling a channel
 - dropped RDY bit handling as it doesn't have any real effect.

Alexandre Belloni (3):
  pwm: sun4i: improve hardware read out
  pwm: sun4i: switch to atomic PWM
  pwm: sun4i: drop legacy callbacks

 drivers/pwm/pwm-sun4i.c | 263 +++++++++++++++++++++++++++---------------------
 1 file changed, 148 insertions(+), 115 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-07-06  7:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30 19:32 [PATCH v2 0/3] pwm: sun4i: switch to atomic PWM Alexandre Belloni
2017-05-30 19:32 ` [PATCH v2 1/3] pwm: sun4i: improve hardware read out Alexandre Belloni
2017-05-31  3:34   ` Chen-Yu Tsai
2017-05-31  7:35     ` Alexandre Belloni
2017-05-31 14:13       ` Chen-Yu Tsai
2017-05-30 19:32 ` [PATCH v2 2/3] pwm: sun4i: switch to atomic PWM Alexandre Belloni
2017-05-30 19:32 ` [PATCH v2 3/3] pwm: sun4i: drop legacy callbacks Alexandre Belloni
2017-06-09 16:22   ` Chen-Yu Tsai
2017-05-31  6:13 ` [PATCH v2 0/3] pwm: sun4i: switch to atomic PWM Maxime Ripard
2017-07-06  6:49 ` Thierry Reding
2017-07-06  7:00   ` Alexandre Belloni
2017-07-06  7:02     ` Boris Brezillon

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).