linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: Shengjiu Wang <shengjiu.wang@nxp.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	shawnguo@kernel.org, s.hauer@pengutronix.de,
	kernel@pengutronix.de, festevam@gmail.com,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com,
	carlos.song@nxp.com
Subject: Re: [PATCH 2/6] arm64: dts: imx943-evk: add lpi2c support
Date: Mon, 19 May 2025 14:44:39 -0400	[thread overview]
Message-ID: <aCt8F+idwMI6OggH@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20250515051900.2353627-3-shengjiu.wang@nxp.com>

On Thu, May 15, 2025 at 01:18:56PM +0800, Shengjiu Wang wrote:
> From: Carlos Song <carlos.song@nxp.com>
>
> Add lpi2c and i2c-mux support for imx943 evk board.
>
> Signed-off-by: Carlos Song <carlos.song@nxp.com>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
> ---

Reviewed-by: Frank Li <Frank.Li@nxp.com>

>  arch/arm64/boot/dts/freescale/imx943-evk.dts | 132 +++++++++++++++++++
>  1 file changed, 132 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx943-evk.dts b/arch/arm64/boot/dts/freescale/imx943-evk.dts
> index cc8f3e6a1789..a566b9d8b813 100644
> --- a/arch/arm64/boot/dts/freescale/imx943-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx943-evk.dts
> @@ -12,6 +12,9 @@ / {
>  	model = "NXP i.MX943 EVK board";
>
>  	aliases {
> +		i2c2 = &lpi2c3;
> +		i2c3 = &lpi2c4;
> +		i2c5 = &lpi2c6;
>  		mmc0 = &usdhc1;
>  		mmc1 = &usdhc2;
>  		serial0 = &lpuart1;
> @@ -53,6 +56,113 @@ memory@80000000 {
>  	};
>  };
>
> +&lpi2c3 {
> +	clock-frequency = <400000>;
> +	pinctrl-0 = <&pinctrl_lpi2c3>;
> +	pinctrl-names = "default";
> +	status = "okay";
> +
> +	pca9548_i2c3: i2c-mux@77 {
> +		compatible = "nxp,pca9548";
> +		reg = <0x77>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		i2c@0 {
> +			reg = <0>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@1 {
> +			reg = <1>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@2 {
> +			reg = <2>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@3 {
> +			reg = <3>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@4 {
> +			reg = <4>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@5 {
> +			reg = <5>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@6 {
> +			reg = <6>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@7 {
> +			reg = <7>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +	};
> +};
> +
> +&lpi2c4 {
> +	clock-frequency = <400000>;
> +	pinctrl-0 = <&pinctrl_lpi2c4>;
> +	pinctrl-names = "default";
> +	status = "okay";
> +};
> +
> +&lpi2c6 {
> +	clock-frequency = <400000>;
> +	pinctrl-0 = <&pinctrl_lpi2c6>;
> +	pinctrl-names = "default";
> +	status = "okay";
> +
> +	pca9544_i2c6: i2c-mux@77 {
> +		compatible = "nxp,pca9544";
> +		reg = <0x77>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		i2c@0 {
> +			reg = <0>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@1 {
> +			reg = <1>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@2 {
> +			reg = <2>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +
> +		i2c@3 {
> +			reg = <3>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +		};
> +	};
> +};
> +
>  &lpuart1 {
>  	pinctrl-0 = <&pinctrl_uart1>;
>  	pinctrl-names = "default";
> @@ -60,6 +170,28 @@ &lpuart1 {
>  };
>
>  &scmi_iomuxc {
> +
> +	pinctrl_lpi2c3: lpi2c3grp {
> +		fsl,pins = <
> +			IMX94_PAD_GPIO_IO16__LPI2C3_SDA		0x40000b9e
> +			IMX94_PAD_GPIO_IO17__LPI2C3_SCL		0x40000b9e
> +		>;
> +	};
> +
> +	pinctrl_lpi2c4: lpi2c4grp {
> +		fsl,pins = <
> +			IMX94_PAD_GPIO_IO18__LPI2C4_SDA		0x40000b9e
> +			IMX94_PAD_GPIO_IO19__LPI2C4_SCL		0x40000b9e
> +		>;
> +	};
> +
> +	pinctrl_lpi2c6: lpi2c6grp {
> +		fsl,pins = <
> +			IMX94_PAD_GPIO_IO29__LPI2C6_SDA		0x40000b9e
> +			IMX94_PAD_GPIO_IO28__LPI2C6_SCL		0x40000b9e
> +		>;
> +	};
> +
>  	pinctrl_uart1: uart1grp {
>  		fsl,pins = <
>  			IMX94_PAD_UART1_TXD__LPUART1_TX		0x31e
> --
> 2.34.1
>


  reply	other threads:[~2025-05-19 19:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-15  5:18 [PATCH 0/6] arm64: dts: imx943: Add sound card support Shengjiu Wang
2025-05-15  5:18 ` [PATCH 1/6] arm64: dts: imx94: Add micfil and mqs device nodes Shengjiu Wang
2025-05-15 10:21   ` Daniel Baluta
2025-05-15 10:23     ` Shengjiu Wang
2025-05-19 18:42   ` Frank Li
2025-05-15  5:18 ` [PATCH 2/6] arm64: dts: imx943-evk: add lpi2c support Shengjiu Wang
2025-05-19 18:44   ` Frank Li [this message]
2025-05-15  5:18 ` [PATCH 3/6] arm64: dts: imx943-evk: add i2c io expander support Shengjiu Wang
2025-05-19 18:47   ` Frank Li
2025-05-15  5:18 ` [PATCH 4/6] arm64: dts: imx943-evk: add sound-wm8962 support Shengjiu Wang
2025-05-19 18:52   ` Frank Li
2025-05-15  5:18 ` [PATCH 5/6] arm64: dts: imx943-evk: add bt-sco sound card support Shengjiu Wang
2025-05-19 18:54   ` Frank Li
2025-05-15  5:19 ` [PATCH 6/6] arm64: dts: imx943-evk: Add PDM microphone " Shengjiu Wang
2025-05-19 19:09   ` Frank Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aCt8F+idwMI6OggH@lizhi-Precision-Tower-5810 \
    --to=frank.li@nxp.com \
    --cc=carlos.song@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=shengjiu.wang@gmail.com \
    --cc=shengjiu.wang@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).