[PATCH] ARM: imx: defconfig: Explicitly select CONFIG_PINCTRL
Guenter Roeck
linux at roeck-us.net
Tue Nov 26 12:59:19 PST 2024
On 11/26/24 11:41, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
>
> Since commit 17d210018914 ("ARM: imx: Allow user to disable pinctrl"),
> the CONFIG_PINCTRL option is no longer implicitly selected, causing
> several i.MX SoC pinctrl drivers no longer getting selected by default.
>
> This causes boot regressions on the ARMv4, ARMv5, ARMv6 and ARMv7
> i.MX SoCs.
>
> Fix it by selecting CONFIG_PINCTRL inside the affected defconfigs.
>
> Fixes: 17d210018914 ("ARM: imx: Allow user to disable pinctrl")
> Reported-by: Guenter Roeck <linux at roeck-us.net>
> Closes: https://lore.kernel.org/linux-arm-kernel/49ff070a-ce67-42d7-84ec-8b54fd7e9742@roeck-us.net/
> Signed-off-by: Fabio Estevam <festevam at denx.de>
Tested-by: Guenter Roeck <linux at roeck-us.net>
> ---
> arch/arm/configs/imx_v4_v5_defconfig | 1 +
> arch/arm/configs/imx_v6_v7_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs/imx_v4_v5_defconfig
> index 875c8cdbada7..1af29d12129d 100644
> --- a/arch/arm/configs/imx_v4_v5_defconfig
> +++ b/arch/arm/configs/imx_v4_v5_defconfig
> @@ -83,6 +83,7 @@ CONFIG_I2C_IMX=y
> CONFIG_SPI=y
> CONFIG_SPI_IMX=y
> CONFIG_SPI_SPIDEV=y
> +CONFIG_PINCTRL=y
> CONFIG_GPIO_SYSFS=y
> CONFIG_GPIO_MXC=y
> CONFIG_W1=y
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
> index 0beecdde55f5..73f7aa7e75f7 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -204,6 +204,7 @@ CONFIG_SPI_FSL_QUADSPI=y
> CONFIG_SPI_GPIO=y
> CONFIG_SPI_IMX=y
> CONFIG_SPI_FSL_DSPI=y
> +CONFIG_PINCTRL=y
> CONFIG_PINCTRL_IMX8MM=y
> CONFIG_PINCTRL_IMX8MN=y
> CONFIG_PINCTRL_IMX8MP=y
More information about the linux-arm-kernel
mailing list