Skip to content

Commit 8e5b723

Browse files
cyyselfConchuOD
authored andcommitted
clk: k210: Deprecate SOC_CANAAN and use SOC_CANAAN_K210
Since SOC_FOO should be deprecated from patch [1], and cleanup for other SoCs is already in the mailing list [2,3,4], we remove the use of SOC_CANAAN and introduced SOC_CANAAN_K210 for K210-specific drivers, Thus, we replace its drivers depends on SOC_CANAAN_K210 and default select when it has the symbol SOC_CANAAN_K210. [1] https://lore.kernel.org/linux-riscv/20221121221414.109965-1-conor@kernel.org/ [2] https://lore.kernel.org/linux-riscv/20240305-praying-clad-c4fbcaa7ed0a@spud/ [3] https://lore.kernel.org/linux-riscv/20240305-fled-undrilled-41dc0c46bb29@spud/ [4] https://lore.kernel.org/linux-riscv/20240305-stress-earflap-d7ddb8655a4d@spud/ Signed-off-by: Yangyu Chen <cyy@cyyself.name> Acked-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 915fb0e commit 8e5b723

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/clk/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ config COMMON_CLK_FIXED_MMIO
451451

452452
config COMMON_CLK_K210
453453
bool "Clock driver for the Canaan Kendryte K210 SoC"
454-
depends on OF && RISCV && SOC_CANAAN
455-
default SOC_CANAAN
454+
depends on OF && RISCV && SOC_CANAAN_K210
455+
default SOC_CANAAN_K210
456456
help
457457
Support for the Canaan Kendryte K210 RISC-V SoC clocks.
458458

0 commit comments

Comments
 (0)