Skip to content

pinctrl: imx-scmi: Introdue nxp,iomuxc-daisy-off

Peng Fan (OSS) imx linux-arm-kernel linux-devicetree linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20250509-pin-e5b563bbd55d

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: firmware: nxp,imx95-scmi-pinctrl: Introduce nxp,iomuxc-daisy-offDocumentation/devicetree/bindings/firmware/nxp,imx95-scmi-pinctrl.yaml+8 -04 replies
2/3pinctrl: imx-scmi: Get daisy register offset from DTdrivers/pinctrl/freescale/pinctrl-imx-scmi.c+15 -112 replies
3/3arm64: dts: imx95: Add property nxp,iomuxc-daisy-offarch/arm64/boot/dts/freescale/imx95.dtsi+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] pinctrl: imx-scmi: Introdue nxp,iomuxc-daisy-off

It might be a bit late, since it is 6.15-RC6 now. No rush, the target is 6.17.

i.MX9 SoC family IOMUXC features Daisy chain(multi pads driving same module input pin), each SoC has its own daisy register offset. When add a new SoC support, need to hardcode the register offset in pinctrl-imx-scmi.c just as "
if (of_machine_is_compatible("fsl,imx95"))
daisy_off = IMX95_DAISY_OFF;
else if
...
else
...
"

This is no good to long term maintainence.

With nxp,iomuxc-daisy-off introduced, things will be simplified to set daisy register offset:
"device_property_read_u32(dev, "nxp,iomuxc-daisy-off", &pmx->daisy_off);"

The new property is set as required, so there might be dtbs_check error without patch 3 applied. This is expected.

Patchset based on next-20250508

---
Peng Fan (3):
dt-bindings: firmware: nxp,imx95-scmi-pinctrl: Introduce nxp,iomuxc-daisy-off
pinctrl: imx-scmi: Get daisy register offset from DT
arm64: dts: imx95: Add property nxp,iomuxc-daisy-off

 .../bindings/firmware/nxp,imx95-scmi-pinctrl.yaml  |  8 +++++++
 arch/arm64/boot/dts/freescale/imx95.dtsi           |  1 +
 drivers/pinctrl/freescale/pinctrl-imx-scmi.c       | 26 +++++++++++++---------
 3 files changed, 24 insertions(+), 11 deletions(-)

---
base-commit: f48887a98b78880b7711aca311fbbbcaad6c4e3b
change-id: 20250509-pin-e5b563bbd55d

Best regards,

Signature · 1 line
Peng Fan <[email protected]>