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

Tommaso Merciai tommaso.merciai at amarulasolutions.com
Wed Mar 16 16:27:36 CET 2022


Hi,
This series add support for pwm/backlight on i.MX8MM evk:

1. Add pwm1/pwm2 base address registers defines
2. Add defines for pwm control register field
3. Add struct pwm_regs
4. Add enable_pwm_clk function, configure and enable pwm clock control register
5. Add enable_pwm_clk function in clock.h
6. Add CONFIG_IMX6_PWM_PER_CLK in imx8mm_evk.h
7. Add backlight/pwm1 dts nodes support for iMX8MM evk
8. Enable pwm clk into spl
9. Enable support for pwm-imx/backlight for iMX8MM evk

Regards,
Tommaso

Tommaso Merciai (9):
  arch: mach-imx: imx8m: add pwm1/pwm2 base address
  arch: mach-imx: imx8m: add pwm ctrl registers fields defines
  arch: mach-imx: imx8m: add pwm_regs struct in imx-regs
  arm: imx: imx8mm: add enable_pwm_clk function
  imx8m: clock: add enable_pwm_clk function
  configs: imx8mm_evk: add CONFIG_IMX6_PWM_PER_CLK config
  imx8mm_evk: spl: enable pwm clock
  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/clock.h    |  1 +
 arch/arm/include/asm/arch-imx8m/imx-regs.h | 19 ++++++++
 arch/arm/mach-imx/imx8m/clock_imx8mm.c     | 53 ++++++++++++++++++++++
 board/freescale/imx8mm_evk/spl.c           |  4 ++
 configs/imx8mm_evk_defconfig               |  5 ++
 include/configs/imx8mm_evk.h               |  3 ++
 7 files changed, 106 insertions(+)

-- 
2.25.1



More information about the U-Boot mailing list