mbox series

[0/3] pwm: cros-ec: Some simplifications

Message ID 20240607084416.897777-5-u.kleine-koenig@baylibre.com
Headers show
Series pwm: cros-ec: Some simplifications | expand

Message

Uwe Kleine-König June 7, 2024, 8:44 a.m. UTC
Hello,

here come some simplifications for the cros-ec PWM driver and a followup
change in the core. The latter was the motivator for me, as I intend to
work on some changes how PWM wave forms are represented and this reduces
the number of code locations I have to care for.

I claim in the commit log that the changes work just fine, however I
only build-test them, so a runtime test from someone with a cros-ec
device would be very welcome.

Best regards
Uwe

Uwe Kleine-König (3):
  pwm: cros-ec: Don't care about consumers in .get_state()
  pwm: cros-ec: Simplify device tree xlation
  pwm: Make pwm_request_from_chip() private to the core

 drivers/pwm/core.c        |  8 ++---
 drivers/pwm/pwm-cros-ec.c | 63 ++++++++-------------------------------
 include/linux/pwm.h       | 12 --------
 3 files changed, 15 insertions(+), 68 deletions(-)

base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0