Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@nxp.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH v2 02/12] arm64: dts: imx93: add dma support for lpi2c[1..8]
Date: Fri, 19 Apr 2024 10:27:24 -0400	[thread overview]
Message-ID: <ZiJ/TPhNspL4Qi6Z@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20240419-imx93-dts-4-13-v2-2-9076e1d7d399@nxp.com>

On Fri, Apr 19, 2024 at 11:36:57AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> Add dma support for lpi2c[1..8].
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

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

> ---
>  arch/arm64/boot/dts/freescale/imx93.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index 42bbe491a29b..93c1d0fae291 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -317,6 +317,8 @@ lpi2c1: i2c@44340000 {
>  				clocks = <&clk IMX93_CLK_LPI2C1_GATE>,
>  					 <&clk IMX93_CLK_BUS_AON>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma1 7 0 0>, <&edma1 8 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -329,6 +331,8 @@ lpi2c2: i2c@44350000 {
>  				clocks = <&clk IMX93_CLK_LPI2C2_GATE>,
>  					 <&clk IMX93_CLK_BUS_AON>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma1 9 0 0>, <&edma1 10 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -693,6 +697,8 @@ lpi2c3: i2c@42530000 {
>  				clocks = <&clk IMX93_CLK_LPI2C3_GATE>,
>  					 <&clk IMX93_CLK_BUS_WAKEUP>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma2 8 0 0>, <&edma2 9 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -705,6 +711,8 @@ lpi2c4: i2c@42540000 {
>  				clocks = <&clk IMX93_CLK_LPI2C4_GATE>,
>  					 <&clk IMX93_CLK_BUS_WAKEUP>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma2 10 0 0>, <&edma2 11 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -882,6 +890,8 @@ lpi2c5: i2c@426b0000 {
>  				clocks = <&clk IMX93_CLK_LPI2C5_GATE>,
>  					 <&clk IMX93_CLK_BUS_WAKEUP>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma2 71 0 0>, <&edma2 72 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -894,6 +904,8 @@ lpi2c6: i2c@426c0000 {
>  				clocks = <&clk IMX93_CLK_LPI2C6_GATE>,
>  					 <&clk IMX93_CLK_BUS_WAKEUP>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma2 73 0 0>, <&edma2 74 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -906,6 +918,8 @@ lpi2c7: i2c@426d0000 {
>  				clocks = <&clk IMX93_CLK_LPI2C7_GATE>,
>  					 <&clk IMX93_CLK_BUS_WAKEUP>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma2 75 0 0>, <&edma2 76 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> @@ -918,6 +932,8 @@ lpi2c8: i2c@426e0000 {
>  				clocks = <&clk IMX93_CLK_LPI2C8_GATE>,
>  					 <&clk IMX93_CLK_BUS_WAKEUP>;
>  				clock-names = "per", "ipg";
> +				dmas = <&edma2 77 0 0>, <&edma2 78 0 FSL_EDMA_RX>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  
> 
> -- 
> 2.37.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2024-04-19 14:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-19  3:36 [PATCH v2 00/12] arm64: dts: imx93: various update Peng Fan (OSS)
2024-04-19  3:36 ` [PATCH v2 01/12] arm64: dts: imx93: use FSL_EDMA_RX for rx channel Peng Fan (OSS)
2024-04-19 14:26   ` Frank Li
2024-04-19  3:36 ` [PATCH v2 02/12] arm64: dts: imx93: add dma support for lpi2c[1..8] Peng Fan (OSS)
2024-04-19 14:27   ` Frank Li [this message]
2024-04-19  3:36 ` [PATCH v2 03/12] arm64: dts: imx93: add dma support for lpspi[1..8] Peng Fan (OSS)
2024-04-19 14:28   ` Frank Li
2024-04-19  3:36 ` [PATCH v2 04/12] arm64: dts: imx93: assign usdhc[1..3] root clock to 400MHz Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 05/12] arm64: dts: imx93: add nvmem property for fec1 Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 06/12] arm64: dts: imx93: add nvmem property for eqos Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 07/12] arm64: dts: imx93-11x11-evk: update resource table address Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 08/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for eqos and fec Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 09/12] arm64: dts: imx93-11x11-evk: add different usdhc pinctrl for different timing usage Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 10/12] arm64: dts: imx93-11x11-evk: add sleep pinctrl for sdhc2 Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 11/12] arm64: dts: imx93-11x11-evk: add reset gpios for ethernet PHYs Peng Fan (OSS)
2024-04-19  3:37 ` [PATCH v2 12/12] arm64: defconfig: build in OCOTP ELE Peng Fan (OSS)
2024-04-19 13:43   ` Krzysztof Kozlowski
2024-04-22  2:07     ` Peng Fan
2024-04-22  6:17 ` [PATCH v2 00/12] arm64: dts: imx93: various update Peng Fan
2024-04-25  7:03 ` Shawn Guo

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=ZiJ/TPhNspL4Qi6Z@lizhi-Precision-Tower-5810 \
    --to=frank.li@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=peng.fan@nxp.com \
    --cc=peng.fan@oss.nxp.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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