Skip to content

Commit c1556a9

Browse files
cyyselfConchuOD
authored andcommitted
pinctrl: 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/[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/ Signed-off-by: Yangyu Chen <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 8e5b723 commit c1556a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,13 +235,13 @@ config PINCTRL_INGENIC
235235

236236
config PINCTRL_K210
237237
bool "Pinctrl driver for the Canaan Kendryte K210 SoC"
238-
depends on RISCV && SOC_CANAAN && OF
238+
depends on RISCV && SOC_CANAAN_K210 && OF
239239
select GENERIC_PINMUX_FUNCTIONS
240240
select GENERIC_PINCONF
241241
select GPIOLIB
242242
select OF_GPIO
243243
select REGMAP_MMIO
244-
default SOC_CANAAN
244+
default SOC_CANAAN_K210
245245
help
246246
Add support for the Canaan Kendryte K210 RISC-V SOC Field
247247
Programmable IO Array (FPIOA) controller.

0 commit comments

Comments
 (0)