summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheick Traore <[email protected]>2025-06-20 17:50:00 +0200
committerPatrice Chotard <[email protected]>2025-07-29 17:02:31 +0200
commitf6764328c6c5e62b972c3b4d6f5bf7cb00bdb856 (patch)
treede696a5bd20a81fe21c1a64ba042ec8bf91608be
parent3f14dc91ab3bcaf441def4309de7184b0646b6c4 (diff)
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 <[email protected]> Reviewed-by: Patrice Chotard <[email protected]>
-rw-r--r--configs/stm32mp25_defconfig4
1 files changed, 4 insertions, 0 deletions
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