* [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210
@ 2023-03-14 21:10 Jesse Taube
2023-03-14 22:56 ` Damien Le Moal
2023-03-15 14:29 ` Conor Dooley
0 siblings, 2 replies; 3+ messages in thread
From: Jesse Taube @ 2023-03-14 21:10 UTC (permalink / raw)
To: linux-riscv
Cc: linux-clk, linux-kernel, Jesse Taube, Damien Le Moal,
Stephen Boyd, Randy Dunlap, Palmer Dabbelt, Conor Dooley
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.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/all/42446784-a88b-df09-41e9-5f685b4df6ee@infradead.org
Fixes: 3af577f9826f ("RISC-V: stop directly selecting drivers for SOC_CANAAN")
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
---
drivers/soc/canaan/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/soc/canaan/Kconfig b/drivers/soc/canaan/Kconfig
index 2527cf5757ec..caf3705d8917 100644
--- a/drivers/soc/canaan/Kconfig
+++ b/drivers/soc/canaan/Kconfig
@@ -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.
--
2.39.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210
2023-03-14 21:10 [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210 Jesse Taube
@ 2023-03-14 22:56 ` Damien Le Moal
2023-03-15 14:29 ` Conor Dooley
1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2023-03-14 22:56 UTC (permalink / raw)
To: Jesse Taube, linux-riscv
Cc: linux-clk, linux-kernel, Damien Le Moal, Stephen Boyd,
Randy Dunlap, Palmer Dabbelt, Conor Dooley
On 3/15/23 06:10, Jesse Taube wrote:
> 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.
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Link: https://lore.kernel.org/all/42446784-a88b-df09-41e9-5f685b4df6ee@infradead.org
> Fixes: 3af577f9826f ("RISC-V: stop directly selecting drivers for SOC_CANAAN")
> Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210
2023-03-14 21:10 [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210 Jesse Taube
2023-03-14 22:56 ` Damien Le Moal
@ 2023-03-15 14:29 ` Conor Dooley
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-03-15 14:29 UTC (permalink / raw)
To: linux-riscv, Jesse Taube
Cc: conor, Conor Dooley, linux-clk, linux-kernel, Jesse Taube,
Damien Le Moal, Stephen Boyd, Randy Dunlap, Palmer Dabbelt
From: Conor Dooley <conor.dooley@microchip.com>
On Tue, 14 Mar 2023 17:10:30 -0400, Jesse Taube wrote:
> 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!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-15 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 21:10 [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210 Jesse Taube
2023-03-14 22:56 ` Damien Le Moal
2023-03-15 14:29 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®