]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: spacemit: enable config option
authorYixun Lan <dlan@gentoo.org>
Tue, 18 Feb 2025 00:31:44 +0000 (08:31 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Feb 2025 16:22:36 +0000 (17:22 +0100)
commit7ff4faba63571c51004280f7eb5d6362b15ec61f
treea00fbd37d6b2cb3405ddea6f4635fc8f800b9995
parentacf40ab42799e4ae1397ee6f5c5941092d66f999
pinctrl: spacemit: enable config option

Pinctrl is an essential driver for SpacemiT's SoC,
The uart driver requires it, same as sd card driver,
so let's enable it by default for this SoC.

The CONFIG_PINCTRL_SPACEMIT_K1 isn't enabled when using
'make defconfig' to select kernel configuration options.
This result in a broken uart driver where fail at probe()
stage due to no pins found.

Fixes: a83c29e1d145 ("pinctrl: spacemit: add support for SpacemiT K1 SoC")
Reported-by: Alex Elder <elder@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/20250218-k1-pinctrl-option-v3-1-36e031e0da1b@gentoo.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/riscv/Kconfig.socs
drivers/pinctrl/spacemit/Kconfig
drivers/pinctrl/spacemit/pinctrl-k1.c