]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pwm: aspeed: Select SYSCON to get parent detail.
authorBilly Tsai <billy_tsai@aspeedtech.com>
Fri, 29 Apr 2022 03:50:48 +0000 (11:50 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 4 Aug 2022 17:59:59 +0000 (13:59 -0400)
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>
drivers/pwm/Kconfig

index 8fd5a2e205192c35300f3695a6ff0b4acd3c47d0..6e79868d0efc1f18331cbed5df44833df812837f 100644 (file)
@@ -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