[PATCH v6 0/3] arm64: dts: add i.MX95 and EVK board

Peng Fan (OSS)
2024-06-05T01:13:46Z

Add a minimal i.MX95 dtsi and EVK board dts.
i.MX95 has a M33 running SCMI firmware that supports
pinctrl/power/perf/clock and etc.

imx95-pinfunc.h will trigger checkpatch error, that is expected and same
as other i.MX platforms.

In v6, I added back a dependency on pinctrl, because [1] has got A-b/R-b
from Maintainers, so it would be soon got merged.

There will be dtbs_check error before [1] got landed. With [1] merged,
there will be no dtbs_check error.

[1] https://lore.kernel.org/all/20240521-pinctrl-scmi-imx95-v1-0-9a1175d735fd@nxp.com/

This patchset is just a minimal support for i.MX95. After this patchset
is accepted, a following patchset will include more nodes and features.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v6:
- Add pinctrl nodes and pin settings
- Add imx95-pinfunc.h
- Drop fsl,cd-gpio-disable-wakeup which is downstream property
- Per i.MX M33 SCMI firmware, drop unused PERF entries in imx95-power.h
- Rebased to next-20240604
- Link to v5: https://lore.kernel.org/r/20240506-imx95-dts-v3-v5-0-5ec9b99cfb2f@nxp.com

Changes in v5:
- Drop unused regulator and alias for now.
- Fix CHECK_DTB warning.
- Link to v4: https://lore.kernel.org/r/20240503-imx95-dts-v3-v4-0-535ddc2bde73@nxp.com

Changes in v4:
- Sort nodes by address
- Drop coresight nodes
- Align clock rates for SDHC1-3
- Drop wdog3 board specific property
- Link to v3: https://lore.kernel.org/r/20240428-imx95-dts-v3-v3-0-765395f88b9f@nxp.com

Changes in v3:
- Drop irqsteer node because binding not accepted
- Pass dtbs_check
- Link to v2: https://lore.kernel.org/r/20240226-imx95-dts-v2-0-00e36637b07e@nxp.com

Changes in v2:
- Addressed Rob and Krzysztof's comments, and fix dts_check issue
To pass the dtbs_check, need apply:
https://lore.kernel.org/all/20240226070910.3379108-1-peng.fan@oss.nxp.com/
https://lore.kernel.org/all/20240226130243.3820915-1-peng.fan@oss.nxp.com/
https://lore.kernel.org/all/20240226130516.3821803-1-peng.fan@oss.nxp.com/
https://lore.kernel.org/all/20240226130826.3824251-1-peng.fan@oss.nxp.com/
https://lore.kernel.org/all/20240219-imx-mailbox-v8-1-75535a87794e@nxp.com/

- Link to v1: https://lore.kernel.org/r/20240218-imx95-dts-v1-0-2959f89f2018@nxp.com

---
Peng Fan (3):
dt-bindings: arm: fsl: add i.MX95 19x19 EVK board
arm64: dts: freescale: add i.MX95 basic dtsi
arm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts

Documentation/devicetree/bindings/arm/fsl.yaml | 6 +
arch/arm64/boot/dts/freescale/Makefile | 1 +
arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 200 ++++
arch/arm64/boot/dts/freescale/imx95-clock.h | 187 ++++
arch/arm64/boot/dts/freescale/imx95-pinfunc.h | 865 +++++++++++++++++
arch/arm64/boot/dts/freescale/imx95-power.h | 47 +
arch/arm64/boot/dts/freescale/imx95.dtsi | 1063 +++++++++++++++++++++
7 files changed, 2369 insertions(+)
---
base-commit: a1bede4830147a5a29ea6443724837ee0b126fd9
change-id: 20240428-imx95-dts-v3-bee59f0e559b

Best regards,
--
Peng Fan <peng.fan@nxp.com>