Message ID | 20220429035048.23477-1-billy_tsai@aspeedtech.com |
---|---|
State | Accepted |
Commit | 11d30963bc19c400517c4edd83f83ca06775a05c |
Delegated to: | Tom Rini |
Headers | show |
Series | pwm: aspeed: Select SYSCON to get parent detail. | expand |
> 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!
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
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(+)