This serie adds: * drivers for MFD STM32 TIMERS and STM32 PWM, the driver split is inspired by kernel model * enable these drivers on stm32mp13 for PWM backlight available on stm32mp135f-dk * a check of duty_ns and period_ns parameters in PWM framework
Cheick Traore (5): dm: pwm: Check if duty_ns is lower than period_ns mach-stm32: add multifunction timer driver support pwm: stm32: add driver to support pwm with timer configs: stm32mp13: Enable MFD timer and PWM for stm32mp13_defconfig ARM: dts: stm32: Add TIMERS inverted PWM channel 3 on STM32MP135F-DK arch/arm/dts/stm32mp13-pinctrl.dtsi | 15 ++ arch/arm/dts/stm32mp135f-dk.dts | 14 ++ arch/arm/mach-stm32mp/Kconfig | 6 + arch/arm/mach-stm32mp/Makefile | 1 + arch/arm/mach-stm32mp/include/mach/timers.h | 55 ++++++ arch/arm/mach-stm32mp/timers.c | 82 ++++++++ configs/stm32mp13_defconfig | 4 + drivers/pwm/Kconfig | 8 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-stm32.c | 202 ++++++++++++++++++++ drivers/pwm/pwm-uclass.c | 3 + 11 files changed, 391 insertions(+) create mode 100644 arch/arm/mach-stm32mp/include/mach/timers.h create mode 100644 arch/arm/mach-stm32mp/timers.c create mode 100644 drivers/pwm/pwm-stm32.c -- 2.34.1