summaryrefslogtreecommitdiff
path: root/drivers/pwm
diff options
context:
space:
mode:
authorBilly Tsai <billy_tsai@aspeedtech.com>2022-04-29 11:50:48 +0800
committerTom Rini <trini@konsulko.com>2022-08-04 13:59:59 -0400
commit11d30963bc19c400517c4edd83f83ca06775a05c (patch)
tree09f21da011d9ece0dd2ffb008902e135bb09dcf3 /drivers/pwm
parent707b17f64e71fad1615ea25082f2e928f712e366 (diff)
downloadu-boot-11d30963bc19c400517c4edd83f83ca06775a05c.tar.gz
u-boot-11d30963bc19c400517c4edd83f83ca06775a05c.tar.bz2
u-boot-11d30963bc19c400517c4edd83f83ca06775a05c.zip
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>
Diffstat (limited to 'drivers/pwm')
-rw-r--r--drivers/pwm/Kconfig1
1 files changed, 1 insertions, 0 deletions
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