diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-06-10 13:39:05 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2020-06-17 17:06:25 +0200 |
commit | 30490fe78c21dbb06251647ade2e91abe4be743c (patch) | |
tree | 1e736d980a01a72d284f933f731254eba3647e68 /configs/platform-v7a/barebox-stm32mp.config.diff | |
parent | c3d575a773c8d087d5f91fb17ac2fc7ef292ab13 (diff) | |
download | DistroKit-30490fe78c21dbb06251647ade2e91abe4be743c.tar.gz DistroKit-30490fe78c21dbb06251647ade2e91abe4be743c.tar.xz |
v7a: barebox: stm32mp: enable PWM LEDs for MC-1
With the barebox version bump, we now also have drivers for the
STM32's PWM peripherals. The Linux Automation MC-1 features a PWM RGB
LED, so enable the drivers for it to be usable.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/barebox-stm32mp.config.diff')
-rw-r--r-- | configs/platform-v7a/barebox-stm32mp.config.diff | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff index bbe1e53..d2a5c42 100644 --- a/configs/platform-v7a/barebox-stm32mp.config.diff +++ b/configs/platform-v7a/barebox-stm32mp.config.diff @@ -58,6 +58,7 @@ CONFIG_FIRMWARE=y # CONFIG_I2C_GPIO is not set CONFIG_I2C_STM32=y # CONFIG_KEYBOARD_USB is undefined +CONFIG_LED_PWM=y # CONFIG_LED_TRIGGERS is not set # CONFIG_LIBFDT is undefined CONFIG_MACH_LXA_MC1=y @@ -73,7 +74,7 @@ CONFIG_MACH_STM32MP157C_DK2=y CONFIG_MCI_MMC_BOOT_PARTITIONS=y # CONFIG_MCI_SPI is undefined CONFIG_MCI_STM32_SDMMC2=y -# CONFIG_MFD_STM32_TIMERS is not set +CONFIG_MFD_STM32_TIMERS=y CONFIG_MFD_STPMIC1=y CONFIG_MFD_SYSCON=y CONFIG_MICREL_PHY=y @@ -106,6 +107,8 @@ CONFIG_PBL_CONSOLE=y CONFIG_PINCTRL_STM32=y CONFIG_PRINTF_UUID=y CONFIG_PROMPT="barebox:" +CONFIG_PWM=y +CONFIG_PWM_STM32=y # CONFIG_REGULATOR_ANATOP is not set # CONFIG_REGULATOR_BCM283X is undefined CONFIG_REGULATOR_FIXED=y |