RE: [PATCH 1/1] arm64: dts: imx93-9x9-qsb: add I3C overlay file

From: Peng Fan
Date: Fri Sep 06 2024 - 04:08:28 EST


> Subject: [PATCH 1/1] arm64: dts: imx93-9x9-qsb: add I3C overlay file
>
> Add an overlay file to enable I3C support on the i.MX93, replacing I2C1
> with I3C. I3C is compatible with I2C, but it has not yet been enabled in
> arm64's defconfig. This overlay allows users to conveniently utilize I3C
> on the imx93-9x9-qsb platform until I3C and its driver become more
> mature and ready for full switch to I3C.
>
> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> ---
> arch/arm64/boot/dts/freescale/Makefile | 4 +
> .../boot/dts/freescale/imx93-9x9-qsb-i3c.dtso | 73
> +++++++++++++++++++
> 2 files changed, 77 insertions(+)
> create mode 100644 arch/arm64/boot/dts/freescale/imx93-9x9-qsb-
> i3c.dtso
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile
> b/arch/arm64/boot/dts/freescale/Makefile
> index 9d3df8b218a2e..032f07adc0c53 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -240,6 +240,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qxp-
> mek.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8qxp-tqma8xqp-mba8xx.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8ulp-evk.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb.dtb
> +
> +imx93-9x9-qsb-i3c-dtbs += imx93-9x9-qsb.dtb imx93-9x9-qsb-i3c.dtbo
> +dtb-$(CONFIG_ARCH_MXC) += imx93-9x9-qsb-i3c.dtb
> +
> dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-evk.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-14x14-evk.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-kontron-bl-osm-s.dtb diff --git
> a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb-i3c.dtso
> b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb-i3c.dtso
> new file mode 100644
> index 0000000000000..94d562fa8077d
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb-i3c.dtso
> @@ -0,0 +1,73 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright 2022 NXP

Update '2022' to '2024'.

> + */
> +
> +#include <dt-bindings/clock/imx93-clock.h>

Drop this include.

#include
> +<dt-bindings/interrupt-controller/arm-gic.h>

Use irq.h

Regards,
Peng.