[PATCH v3 0/9] imx8mm: add pwm-imx backlight support

Tommaso Merciai tommaso.merciai at amarulasolutions.com
Thu Mar 24 15:10:43 CET 2022


Hi,
This series add support for pwm/backlight on i.MX8MM evk,
separe also CONFIG_DM_PWM pwm-imx implementation from non dm
implementation moving pwm-imx-util into pwm-imx with driver
refactoring.

1. add pwm ctrl registers fields for i.MX8MM SOC
2. add pwm_regs struct for i.MX8MM SOC
3. add pwm clocks support for i.MX8MM SOC
4. move pwm-imx-util into pwm-imx
5. get and enable per/ipg clock using dm
6. introduce pwm_dm_imx_get_parms
7. separe dm from non dm implementation into pwm-imx driver
8. add pwm1/backlight dts support for imx8mm_evk
9. add pwm backlight configs support for imx8mm_evk

Tommaso Merciai (9):
  arch: mach-imx: imx8m: add pwm ctrl registers fields defines
  arch: mach-imx: imx8m: add pwm_regs struct in imx-regs
  clk: imx8mm: add pwm clocks support
  drivers: pwm: pwm-imx: move pwm-imx-util into pwm-imx
  driver: pwm: pwm-imx: get and enable per/ipg clock using dm
  driver: pwm: pwm-imx: introduce pwm_dm_imx_get_parms
  driver: pwm: pwm-imx: separe dm from non dm implementation
  arm: dts: imx8mm_evk: add pwm1/backlight support
  configs: imx8mm_evk: add pwm backlight support

 arch/arm/dts/imx8mm-evk.dtsi               |  21 +++
 arch/arm/include/asm/arch-imx8m/imx-regs.h |  17 +++
 configs/imx8mm_evk_defconfig               |   5 +
 drivers/clk/imx/clk-imx8mm.c               |  28 ++++
 drivers/pwm/Makefile                       |   2 +-
 drivers/pwm/pwm-imx-util.c                 |  80 -----------
 drivers/pwm/pwm-imx-util.h                 |  15 --
 drivers/pwm/pwm-imx.c                      | 155 +++++++++++++++++++--
 8 files changed, 213 insertions(+), 110 deletions(-)
 delete mode 100644 drivers/pwm/pwm-imx-util.c
 delete mode 100644 drivers/pwm/pwm-imx-util.h

-- 
2.25.1



More information about the U-Boot mailing list