All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: vt8500: Implement .apply() callback
@ 2021-11-02  9:28 ` Uwe Kleine-König
  0 siblings, 0 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2021-11-02  9:28 UTC (permalink / raw)
  To: Thierry Reding, Lee Jones; +Cc: linux-arm-kernel, linux-pwm, Tony Prisk

Hello,

this series implements .apply for the vt8500 pwm driver and fixes a
function name that I stumbled over while doing that.

One thing that could be improved (but probably only with hardware
available which I don't have) is:

 - vt8500_pwm_apply() calls the old callbacks now, it might be possible
   to improve clk handling such that the clk is at most once enabled and
   once disabled.

 - .probe() doesn't handle the PWM already being on.

 - There is no .get_state() callback.

Best regards
Uwe

Uwe Kleine-König (2):
  pwm: vt8500: Implement .apply() callback
  pwm: vt8500: Rename pwm_busy_wait() to make it obviously
    driver-specific

 drivers/pwm/pwm-vt8500.c | 73 +++++++++++++++++++++++++++++++---------
 1 file changed, 58 insertions(+), 15 deletions(-)


base-commit: 8bb7eca972ad531c9b149c0a51ab43a417385813
-- 
2.30.2


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

end of thread, other threads:[~2021-11-17 16:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02  9:28 [PATCH 0/2] pwm: vt8500: Implement .apply() callback Uwe Kleine-König
2021-11-02  9:28 ` Uwe Kleine-König
2021-11-02  9:28 ` [PATCH 1/2] " Uwe Kleine-König
2021-11-02  9:28   ` Uwe Kleine-König
2021-11-17 16:16   ` Thierry Reding
2021-11-17 16:16     ` Thierry Reding
2021-11-02  9:28 ` [PATCH 2/2] pwm: vt8500: Rename pwm_busy_wait() to make it obviously driver-specific Uwe Kleine-König
2021-11-02  9:28   ` Uwe Kleine-König

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.