linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: vt8500: Implement .apply() callback
@ 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 ` [PATCH 2/2] pwm: vt8500: Rename pwm_busy_wait() to make it obviously driver-specific Uwe Kleine-König
  0 siblings, 2 replies; 4+ 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


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

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

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

Thread overview: 4+ 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 ` [PATCH 1/2] " Uwe Kleine-König
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

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