Skip to content

Commit 68f4110

Browse files
cyyselfConchuOD
authored andcommitted
reset: 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,5], 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/[email protected]/ [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/ [5] https://lore.kernel.org/linux-riscv/20240305-praying-clad-c4fbcaa7ed0a@spud/ Signed-off-by: Yangyu Chen <[email protected]> Acked-by: Philipp Zabel <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent c1556a9 commit 68f4110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/reset/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ config RESET_INTEL_GW
103103

104104
config RESET_K210
105105
bool "Reset controller driver for Canaan Kendryte K210 SoC"
106-
depends on (SOC_CANAAN || COMPILE_TEST) && OF
106+
depends on (SOC_CANAAN_K210 || COMPILE_TEST) && OF
107107
select MFD_SYSCON
108-
default SOC_CANAAN
108+
default SOC_CANAAN_K210
109109
help
110110
Support for the Canaan Kendryte K210 RISC-V SoC reset controller.
111111
Say Y if you want to control reset signals provided by this

0 commit comments

Comments
 (0)