mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/12] PWM: add support for ->apply, polarity and STM32
@ 2020-03-30 14:57 Ahmad Fatoum
  2020-03-30 14:57 ` [PATCH 01/12] led: pwm: always initialize PWM LEDs as inactive Ahmad Fatoum
                   ` (11 more replies)
  0 siblings, 12 replies; 19+ messages in thread
From: Ahmad Fatoum @ 2020-03-30 14:57 UTC (permalink / raw)
  To: barebox

Hi,

- Port Linux apply API to make porting future PWM drivers easier
- Remove duplicated PWM state, so device variables can be used to query
  and influence actual configuration
- Add support for PWM polarity
- Add support for STM32

Cheers,
Ahmad Fatoum (12):
  led: pwm: always initialize PWM LEDs as inactive
  PWM: core: remove FLAG_ENABLED
  PWM: core: remove ineffectual pwm_{set,get}_duty_cycle
  PWM: core: group PWM state into new struct pwm_state
  PWM: core: remove old PWM API in favor of Linux ->apply
  PWM: core: retire pwm_set_period
  PWM: core: apply initial state in of_pwm_request
  video: backlight-pwm: use new pwm_apply_state API
  led: pwm: use new pwm_apply_state API
  PWM: core: add apply API support for polarity
  of: introduce of_property_count_elems_of_size
  PWM: add support for STM32

 arch/arm/dts/stm32mp151.dtsi     |  12 +
 drivers/led/led-pwm.c            |  19 +-
 drivers/mfd/Kconfig              |   7 +
 drivers/mfd/Makefile             |   1 +
 drivers/mfd/stm32-timers.c       |  74 ++++++
 drivers/of/base.c                |  32 +++
 drivers/pwm/Kconfig              |   6 +
 drivers/pwm/Makefile             |   1 +
 drivers/pwm/core.c               | 178 ++++++++++----
 drivers/pwm/pwm-imx.c            |  32 +--
 drivers/pwm/pwm-mxs.c            |  37 ++-
 drivers/pwm/pwm-stm32.c          | 400 +++++++++++++++++++++++++++++++
 drivers/pwm/pxa_pwm.c            |  93 +++----
 drivers/video/backlight-pwm.c    |  13 +-
 include/linux/mfd/stm32-timers.h |  97 ++++++++
 include/of.h                     |   8 +
 include/pwm.h                    |  62 +++--
 17 files changed, 917 insertions(+), 155 deletions(-)
 create mode 100644 drivers/mfd/stm32-timers.c
 create mode 100644 drivers/pwm/pwm-stm32.c
 create mode 100644 include/linux/mfd/stm32-timers.h

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-03-31  7:49 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 14:57 [PATCH 00/12] PWM: add support for ->apply, polarity and STM32 Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 01/12] led: pwm: always initialize PWM LEDs as inactive Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 02/12] PWM: core: remove FLAG_ENABLED Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 03/12] PWM: core: remove ineffectual pwm_{set,get}_duty_cycle Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 04/12] PWM: core: group PWM state into new struct pwm_state Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 05/12] PWM: core: remove old PWM API in favor of Linux ->apply Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 06/12] PWM: core: retire pwm_set_period Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 07/12] PWM: core: apply initial state in of_pwm_request Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 08/12] video: backlight-pwm: use new pwm_apply_state API Ahmad Fatoum
2020-03-31  6:10   ` Sascha Hauer
2020-03-31  6:54     ` Ahmad Fatoum
2020-03-31  7:49       ` Sascha Hauer
2020-03-30 14:57 ` [PATCH 09/12] led: pwm: " Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 10/12] PWM: core: add apply API support for polarity Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 11/12] of: introduce of_property_count_elems_of_size Ahmad Fatoum
2020-03-30 14:57 ` [PATCH 12/12] PWM: add support for STM32 Ahmad Fatoum
2020-03-31  6:41   ` Sascha Hauer
2020-03-31  6:49     ` Ahmad Fatoum
2020-03-31  7:49       ` Sascha Hauer

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