[PATCH v2 3/4] pinctrl: imx: Match the standard SCMI pinctrl device

Linus Walleij linusw at kernel.org
Wed Oct 7 04:17:18 PDT 2026


On Mon, Oct 5, 2026 at 11:06 AM Sudeep Holla <sudeep.holla at kernel.org> wrote:

> Use the standard "pinctrl" SCMI device name instead of the i.MX-specific
> "pinctrl-imx" name. Standard devices no longer have exclusive request
> tracking, so the i.MX and generic pinctrl drivers can register for the
> same protocol/name pair. Their probe checks select the appropriate
> driver for the platform.
>
> This solves the issue that occurs when both "pinmux" and "pinmux-imx"
> devices that share the same fwnode as only the first device registered
> is assigned as the owner of the fwnode. If this owner device fails to
> probe (e.g., its driver is blocklisted or missing), it never reaches
> the driver_bound() stage and the system skips cleaning up its supplier
> links. Even if a alternative device binds successfully, the system
> still looks to the broken original owner. As a result, all dependent
> hardware components (I2C, SPI, UART, USB, MMC, PCIe) defer probing
> forever, halting the boot process.
>
> Note that the solution doesn't support same fwnode being shared by
> multiple devices and associated fw_devlink feature.
>
> Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
> Cc: NXP S32 Linux Team <s32 at nxp.com>
> Cc: Linus Walleij <linusw at kernel.org>
> Reported-by: Peng Fan <peng.fan at nxp.com>
> Closes: https://lore.kernel.org/all/20260928-driver-core-v1-1-0846bb8e0f32@nxp.com
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> Tested-by: Peng Fan <peng.fan at nxp.com> #i.MX95 EVK
> Signed-off-by: Sudeep Holla <sudeep.holla at kernel.org>

Acked-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list