[PATCH v3] pinctrl: spacemit: enable config option

Javier Martinez Canillas javierm at redhat.com
Tue Feb 18 00:47:14 PST 2025


Yixun Lan <dlan at gentoo.org> writes:

> 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 at kernel.org>
> Acked-by: Conor Dooley <conor.dooley at microchip.com>
> Tested-by: Alex Elder <elder at riscstar.com>
> Signed-off-by: Yixun Lan <dlan at gentoo.org>
> ---
> This should fix problem that CONFIG_PINCTRL_SPACEMIT_K1 is not enabled
> when using make defconfig, thus fail to initilize uart driver which requst
> pins during probe stage.
> ---

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
Tested-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat




More information about the linux-riscv mailing list