[PATCH] pwm: aspeed: Select SYSCON to get parent detail.

Billy Tsai billy_tsai at aspeedtech.com
Fri Apr 29 05:50:48 CEST 2022


To work correctly, this driver depends on SYSCON to get the base address
from the parent dts node.

Signed-off-by: Billy Tsai <billy_tsai at aspeedtech.com>
---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index cb54e67fae..cf66293eeb 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -12,6 +12,7 @@ config DM_PWM
 config PWM_ASPEED
 	bool "Enable support for the Aspeed PWM"
 	depends on DM_PWM
+	select SYSCON
 	help
 	  This PWM is found on Ast2600 SoCs. It supports a programmable period
 	  and duty cycle. It provides 16 channels which can be independently
-- 
2.25.1



More information about the U-Boot mailing list