summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-stm32mp.config
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-06-10 13:39:05 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-06-17 17:06:25 +0200
commit30490fe78c21dbb06251647ade2e91abe4be743c (patch)
tree1e736d980a01a72d284f933f731254eba3647e68 /configs/platform-v7a/barebox-stm32mp.config
parentc3d575a773c8d087d5f91fb17ac2fc7ef292ab13 (diff)
downloadDistroKit-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')
-rw-r--r--configs/platform-v7a/barebox-stm32mp.config6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 6f383cb..8a3deee 100644
--- a/configs/platform-v7a/barebox-stm32mp.config
+++ b/configs/platform-v7a/barebox-stm32mp.config
@@ -558,7 +558,7 @@ CONFIG_MFD_SYSCON=y
CONFIG_MFD_STPMIC1=y
# CONFIG_FINTEK_SUPERIO is not set
# CONFIG_SMSC_SUPERIO is not set
-# CONFIG_MFD_STM32_TIMERS is not set
+CONFIG_MFD_STM32_TIMERS=y
# end of Multifunction device drivers
#
@@ -573,6 +573,7 @@ CONFIG_DEV_MEM=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
+CONFIG_LED_PWM=y
CONFIG_LED_GPIO_OF=y
# CONFIG_LED_GPIO_RGB is not set
# CONFIG_LED_GPIO_BICOLOR is not set
@@ -598,7 +599,8 @@ CONFIG_WATCHDOG_POLLER=y
# CONFIG_WATCHDOG_DW is not set
CONFIG_STM32_IWDG_WATCHDOG=y
# CONFIG_STPMIC1_WATCHDOG is not set
-# CONFIG_PWM is not set
+CONFIG_PWM=y
+CONFIG_PWM_STM32=y
# CONFIG_HWRNG is not set
#