[PATCH] 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 --- 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

From: Billy Tsai billy_tsai@aspeedtech.com Sent: Friday, April 29, 2022 11:51 AM
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
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
Reviewed-by: Chia-Wei Wang chiawei_wang@aspeedtech.com

On Fri, Apr 29, 2022 at 11:50:48AM +0800, Billy Tsai wrote:
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
Applied to u-boot/master, thanks!
participants (3)
-
Billy Tsai
-
ChiaWei Wang
-
Tom Rini