Skip to contentSkip to conversation

pwm: aspeed: Select SYSCON to get parent detail.

PATCH In review Billy Tsai 3 participants 3 messages Apr 29, 2022 – Aug 4, 2022 PWM

lore
Share & tools
lore

Billy Tsai

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/Kconfig +1 -0
index cb54e67fae..cf66293eeb 100644
@@ -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
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines

From: Billy Tsai <[email protected]>
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.

---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pwm/Kconfig index renamed from drivers/pwm/Kconfig +0 -0

cb54e67fae..cf66293eeb 100644

drivers/pwm/Kconfig +1 -1
@@ -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
--
Quoted 1 line

2.25.1