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 8fd5a2e..6e79868 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