From: Billy Tsai <billy_tsai@aspeedtech.com>
Date: Fri, 29 Apr 2022 03:50:48 +0000 (+0800)
Subject: pwm: aspeed: Select SYSCON to get parent detail.
X-Git-Tag: v2025.01-rc5-pxa1908~1325^2~17
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=11d30963bc19c400517c4edd83f83ca06775a05c;p=u-boot.git

pwm: aspeed: Select SYSCON to get parent detail.

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@aspeedtech.com>
Reviewed-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
---

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 8fd5a2e205..6e79868d0e 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