linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] gpio: mvebu: pwm fixes and improvements
@ 2021-01-13  9:22 Baruch Siach
  2021-01-13  9:22 ` [PATCH v2 1/5] gpio: mvebu: fix pwm .get_state period calculation Baruch Siach
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Baruch Siach @ 2021-01-13  9:22 UTC (permalink / raw)
  To: Thierry Reding, Uwe Kleine-König, Lee Jones, Linus Walleij,
	Bartosz Golaszewski
  Cc: Baruch Siach, Andrew Lunn, Gregory Clement, Russell King,
	Sebastian Hesselbarth, Thomas Petazzoni, Chris Packham,
	Sascha Hauer, Ralph Sennhauser, linux-pwm, linux-gpio,
	linux-arm-kernel

This series adds a few related fixes to the pwm .apply and .get_state 
callbacks.

The first patch was originally part of the series adding Armada 8K/7K pwm 
support. I split it out to a separate series following review comments from 
Uwe Kleine-König who spotted a few more issues. There is no dependency between 
this and the Armada 8K/7K series.

v2:

Address Uwe Kleine-König comments.

  * Improve patch 1/5 summary line

  * Add more information to patch 1/5 description

  * Add more information to patch 2/5 description

  * Don't round period/duty_cycle up in .apply (patch 3/5)

  * Expand the comment in path 5/5 based on RMK's analysis of hardware 
    behaviour

  * Add Uwe's Reviewed-by tags

Baruch Siach (5):
  gpio: mvebu: fix pwm .get_state period calculation
  gpio: mvebu: improve pwm period calculation accuracy
  gpio: mvebu: make pwm .get_state closer to idempotent
  gpio: mvebu: don't limit pwm period/duty_cycle to UINT_MAX
  gpio: mvebu: document zero pwm duty cycle limitation

 drivers/gpio/gpio-mvebu.c | 33 +++++++++++++++------------------
 1 file changed, 15 insertions(+), 18 deletions(-)

-- 
2.29.2


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

end of thread, other threads:[~2021-01-18 15:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  9:22 [PATCH v2 0/5] gpio: mvebu: pwm fixes and improvements Baruch Siach
2021-01-13  9:22 ` [PATCH v2 1/5] gpio: mvebu: fix pwm .get_state period calculation Baruch Siach
2021-01-13  9:27   ` Uwe Kleine-König
2021-01-15 15:47   ` Thierry Reding
2021-01-13  9:22 ` [PATCH v2 2/5] gpio: mvebu: improve pwm period calculation accuracy Baruch Siach
2021-01-13  9:22 ` [PATCH v2 3/5] gpio: mvebu: make pwm .get_state closer to idempotent Baruch Siach
2021-01-13  9:42   ` Uwe Kleine-König
2021-01-13  9:22 ` [PATCH v2 4/5] gpio: mvebu: don't limit pwm period/duty_cycle to UINT_MAX Baruch Siach
2021-01-13  9:22 ` [PATCH v2 5/5] gpio: mvebu: document zero pwm duty cycle limitation Baruch Siach
2021-01-18 13:45 ` [PATCH v2 0/5] gpio: mvebu: pwm fixes and improvements Linus Walleij
2021-01-18 14:59   ` Uwe Kleine-König

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