[PATCH] arm: pinctrl: Define .mux_mask field for NXP's SoC

Fabio Estevam festevam at gmail.com
Tue Jul 1 03:45:19 CEST 2025


On Fri, Jun 27, 2025 at 2:50 AM Lukasz Majewski <lukma at denx.de> wrote:
>
> The commit e8a9521e649f
> ("vf500/vf610: synchronise device trees with linux")
> has synchronized U-Boot's DTS with v5.19 Linux kernel.
> It turned out that in Linux's upstream iomuxc node description the
> 'fsl,mux_mask' was missing, so the U-Boot's pinctrl driver for NXP's
> Vybrid SoC was not working properly.
>
> As by default the mux mask was set to 0, for example the vf610 based
> boards (like BK4) were bricked, due to misconfiguration of gpio at
> early boot stage.
>
> The fix for all NXP eligible boards is to define .mux_mask field for
> soc specific *pinctrl_soc_info structure and use it directly in pinctrl
> MMIO driver, without the need to read the "fsl,mux_mask" property from
> device tree.
>
> This change brings the NXP's pinctrl driver in U-Boot closer to Linux
> upstream one.
>
> Signed-off-by: Lukasz Majewski <lukma at denx.de>

Applied to u-boot-imx/next, thanks.


More information about the U-Boot mailing list