Skip to contentSkip to conversation

RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210

PATCH Applied Jesse Taube 3 participants 3 messages Mar 14, 2023 – Mar 15, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210

CLK_K210 is no longer a dependency of SOC_CANAAN,
but K210_SYSCTL depends on CLK_K210. This patch makes K210_SYSCTL depend on CLK_K210. Also fix whitespace errors.

Fixes 3af577f9826f ("RISC-V: stop directly selecting drivers for SOC_CANAAN")
---
 drivers/soc/canaan/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/soc/canaan/Kconfig +3 -3
index 2527cf5757ec..caf3705d8917 100644
@@ -2,9 +2,9 @@
 
 config SOC_K210_SYSCTL
 	bool "Canaan Kendryte K210 SoC system controller"
-	depends on RISCV && SOC_CANAAN && OF
+	depends on RISCV && SOC_CANAAN && OF && COMMON_CLK_K210
 	default SOC_CANAAN
-        select PM
-        select MFD_SYSCON
+	select PM
+	select MFD_SYSCON
 	help
 	  Canaan Kendryte K210 SoC system controller driver.
Signature · 1 line
2.39.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Jesse Taube

CLK_K210 is no longer a dependency of SOC_CANAAN,
but K210_SYSCTL depends on CLK_K210. This patch makes K210_SYSCTL depend on CLK_K210. Also fix whitespace errors.

Fixes 3af577f9826f ("RISC-V: stop directly selecting drivers for SOC_CANAAN")
Signature · 8 lines
Damien Le Moal
Western Digital Research


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Applied
#2 lore raw
In reply to Jesse Taube

From: Conor Dooley <[email protected]>

Quoted 5 lines · Jesse Taube

CLK_K210 is no longer a dependency of SOC_CANAAN,
but K210_SYSCTL depends on CLK_K210. This patch makes K210_SYSCTL depend on CLK_K210. Also fix whitespace errors.

Applied to riscv-soc-for-next, thanks!

[1/1] soc: canaan: Make K210_SYSCTL depend on CLK_K210

      https://git.kernel.org/conor/c/49f965b6fbca63904d7397ce96066fa992f401a3

I dropped the common clk dependency down onto its own line & tweaked the $subject a wee bit.

Thanks for the patch!