mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] PWM: rockchip: add driver support
@ 2024-04-15  5:35 Ahmad Fatoum
  2024-04-15  5:35 ` [PATCH 1/7] PWM: core: check that struct pwm_chip::devname is set Ahmad Fatoum
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Ahmad Fatoum @ 2024-04-15  5:35 UTC (permalink / raw)
  To: barebox

This series aligns the barebox PWM framework more with the current Linux
state in v6.8 and then ports over the Rockchip PWM driver.

This has been tested on the RK3566 controlling backlight and PWM LEDs.

Ahmad Fatoum (7):
  PWM: core: check that struct pwm_chip::devname is set
  PWM: core: add struct pwm_chip::dev
  PWM: core: adopt Linux prototype for struct pwm_ops::apply
  PWM: align struct pwm_state member names with Linux
  PWM: core: add definition for PWM_POLARITY_INVERSED
  PWM: rockchip: add driver support
  ARM: dts: rk356x: add aliases for PWM controllers

 arch/arm/dts/rk356x.dtsi   |  16 ++
 commands/pwm.c             |  32 ++--
 drivers/led/led-pwm.c      |   8 +-
 drivers/pwm/Kconfig        |   7 +
 drivers/pwm/Makefile       |   1 +
 drivers/pwm/core.c         |  45 ++---
 drivers/pwm/pwm-atmel.c    |  21 ++-
 drivers/pwm/pwm-imx.c      |  17 +-
 drivers/pwm/pwm-mxs.c      |  19 +-
 drivers/pwm/pwm-rockchip.c | 348 +++++++++++++++++++++++++++++++++++++
 drivers/pwm/pwm-stm32.c    |  15 +-
 drivers/pwm/pxa_pwm.c      |  19 +-
 drivers/sound/pwm-beeper.c |   6 +-
 include/pwm.h              |  39 +++--
 14 files changed, 499 insertions(+), 94 deletions(-)
 create mode 100644 drivers/pwm/pwm-rockchip.c

-- 
2.39.2




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

end of thread, other threads:[~2024-04-16 10:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15  5:35 [PATCH 0/7] PWM: rockchip: add driver support Ahmad Fatoum
2024-04-15  5:35 ` [PATCH 1/7] PWM: core: check that struct pwm_chip::devname is set Ahmad Fatoum
2024-04-15  5:35 ` [PATCH 2/7] PWM: core: add struct pwm_chip::dev Ahmad Fatoum
2024-04-15  5:35 ` [PATCH 3/7] PWM: core: adopt Linux prototype for struct pwm_ops::apply Ahmad Fatoum
2024-04-15  5:35 ` [PATCH 4/7] PWM: align struct pwm_state member names with Linux Ahmad Fatoum
2024-04-15  5:35 ` [PATCH 5/7] PWM: core: add definition for PWM_POLARITY_INVERSED Ahmad Fatoum
2024-04-15  5:35 ` [PATCH 6/7] PWM: rockchip: add driver support Ahmad Fatoum
2024-04-15  5:36 ` [PATCH 7/7] ARM: dts: rk356x: add aliases for PWM controllers Ahmad Fatoum
2024-04-16 10:11 ` [PATCH 0/7] PWM: rockchip: add driver support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox