From: Cheick Traore Date: Fri, 20 Jun 2025 15:50:00 +0000 (+0200) Subject: configs: stm32mp25: Enable MFD timer and PWM for stm32mp25_defconfig X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6764328c6c5e62b972c3b4d6f5bf7cb00bdb856;p=thirdparty%2Fu-boot.git configs: stm32mp25: Enable MFD timer and PWM for stm32mp25_defconfig Enable the following configs: - CONFIG_MFD_STM32_TIMERS: enables support for the STM32 multifunction timer - CONFIG_DM_PWM: enables support for pulse-width modulation devices - CONFIG_CMD_PWM: enables 'pwm' command to control PWM channels - CONFIG_PWM_STM32: enables support for the STM32 PWM devices Signed-off-by: Cheick Traore Reviewed-by: Patrice Chotard --- diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig index a10f090c347..14619ffd96c 100644 --- a/configs/stm32mp25_defconfig +++ b/configs/stm32mp25_defconfig @@ -9,6 +9,7 @@ CONFIG_SYS_BOOTM_LEN=0x2000000 CONFIG_SYS_LOAD_ADDR=0x84000000 CONFIG_STM32MP25X=y CONFIG_DDR_CACHEABLE_SIZE=0x10000000 +CONFIG_MFD_STM32_TIMERS=y CONFIG_ENV_OFFSET_REDUND=0x940000 CONFIG_TARGET_ST_STM32MP25X=y CONFIG_SYS_MEMTEST_START=0x84000000 @@ -29,6 +30,7 @@ CONFIG_CMD_MEMTEST=y CONFIG_CMD_CLK=y CONFIG_CMD_FUSE=y CONFIG_CMD_GPIO=y +CONFIG_CMD_PWM=y # CONFIG_CMD_LOADB is not set CONFIG_CMD_MMC=y CONFIG_CMD_CACHE=y @@ -65,6 +67,8 @@ CONFIG_SPI_FLASH=y CONFIG_PINCONF=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y +CONFIG_DM_PWM=y +CONFIG_PWM_STM32=y CONFIG_RAM=y # CONFIG_STM32MP1_DDR is not set CONFIG_DM_RNG=y