2: enables support for the STM32 PWM devices
Signed-off-by: Cheick Traore
---
configs/stm32mp25_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig
index acb48f4ec72..3be00c6201e 100644
--- a/configs/stm32mp25_defconfig
+++
This serie adds:
* drivers support on stm32mp25 for MFD STM32 TIMERS and STM32 PWM
* enable these drivers on stm32mp25
Cheick Traore (3):
arm: stm32mp2: add multifunction timer support for stm32mp25
pwm: stm32: add support for stm32mp25
configs: stm32mp25: Enable MFD timer and PWM for
Add support for STM32MP25 SoC.
IPIDR register is used to check the hardware configuration register
when available to gather the number of complementary outputs.
Signed-off-by: Cheick Traore
---
drivers/pwm/pwm-stm32.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff
running timer.
Also add useful bit fields to stm32-timers header file.
Signed-off-by: Cheick Traore
---
arch/arm/mach-stm32mp/include/mach/timers.h | 9 ++
arch/arm/mach-stm32mp/timers.c | 34 -
2 files changed, 42 insertions(+), 1 deletion(-)
diff --git a/arch
It was possible to provide a duty_ns greater than period_ns to
"pwm config" command. The framework must check the values before
providing them to drivers.
Signed-off-by: Cheick Traore
---
drivers/pwm/pwm-uclass.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/pwm/pwm-
On 3/10/25 13:35, Patrice CHOTARD wrote:
On 3/10/25 11:00, Patrice CHOTARD wrote:
On 3/6/25 15:13, Patrice CHOTARD wrote:
On 3/6/25 11:56, Cheick Traore wrote:
It was possible to provide a duty_ns greater than period_ns to
"pwm config" command. The framework must check the val
pwm-uclass patch because some drivers already manage the config
in case the duty_ns exceeds period_ns
- add the check of duty_ns and period_ns parameters in pwm-stm32 driver
Cheick Traore (4):
mach-stm32: add multifunction timer driver support
pwm: stm32: add driver to support pwm with timer
2: enables support for the STM32 PWM devices
Signed-off-by: Cheick Traore
Reviewed-by: Patrice Chotard
---
(no changes since v1)
configs/stm32mp13_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index 0acd1487c9a..4c6a7f82
Add support for STM32MP timer multi-function driver.
These timers can be use as counter, trigger or pwm generator.
This driver will be used to manage the main resources of the timer to
provide them to the functionnalities which need these ones.
Signed-off-by: Cheick Traore
Reviewed-by: Fabrice
The pwm source TIM1_CH3N channel (on PE12) in inverted polarity mode
will be used to manage the brightness of the panel backlight on
STM32MP135F-DK.
Signed-off-by: Cheick Traore
Reviewed-by: Patrice Chotard
---
(no changes since v1)
arch/arm/dts/stm32mp13-pinctrl.dtsi | 15
Add driver to support pwm on STM32MP1X SoCs. The PWM signal is generated
using a multifuntion timer which provide a pwm feature. Clock rate and
addresses are retrieved from the multifunction timer driver.
Signed-off-by: Cheick Traore
---
Changes in v2:
- add the check of duty_ns and period_ns
The pwm source TIM1_CH3N channel (on PE12) in inverted polarity mode
will be used to manage the brightness of the panel backlight on
STM32MP135F-DK.
Signed-off-by: Cheick Traore
---
arch/arm/dts/stm32mp13-pinctrl.dtsi | 15 +++
arch/arm/dts/stm32mp135f-dk.dts | 14
Add driver to support pwm on STM32MP1X SoCs. The PWM signal is generated
using a multifuntion timer which provide a pwm feature. Clock rate and
addresses are retrieved from the multifunction timer driver.
Signed-off-by: Cheick Traore
---
drivers/pwm/Kconfig | 8 ++
drivers/pwm/Makefile
2: enables support for the STM32 PWM devices
Signed-off-by: Cheick Traore
---
configs/stm32mp13_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig
index 0acd1487c9a..4c6a7f82fe5 100644
--- a/configs/stm32mp13_defconfig
+++
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
Add support for STM32MP timer multi-function driver.
These timers can be use as counter, trigger or pwm generator.
This driver will be used to manage the main resources of the timer to
provide them to the functionnalities which need these ones.
Signed-off-by: Cheick Traore
---
arch/arm/mach
16 matches
Mail list logo