[PATCH v2 1/4] pwm: move all PWM related topics inside a Kconfig menu
Quentin Schulz
foss+uboot at 0leil.net
Thu Oct 30 11:03:55 CET 2025
From: Quentin Schulz <quentin.schulz at cherry.de>
So it's visually better split from the other subsystems when using
menuconfig.
Reviewed-by: Tom Rini <trini at konsulko.com>
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
drivers/pwm/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 06f42f699de..ec57a967721 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -1,3 +1,5 @@
+menu "Pulse-width modulation (PWM)"
+
config DM_PWM
bool "Enable support for pulse-width modulation devices (PWM)"
depends on DM
@@ -133,3 +135,5 @@ config PWM_TI_ECAP
depends on DM_PWM && ARCH_OMAP2PLUS
help
PWM driver support for the ECAP controller found on TI SOCs.
+
+endmenu
--
2.51.0
More information about the U-Boot
mailing list