[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zh6eJ7njMmoKCu8Y@lizhi-Precision-Tower-5810>
Date: Tue, 16 Apr 2024 11:49:59 -0400
From: Frank Li <Frank.li@....com>
To: "Peng Fan (OSS)" <peng.fan@....nxp.com>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, devicetree@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Peng Fan <peng.fan@....com>
Subject: Re: [PATCH 02/11] arm64: dts: imx93: add dma support for lpspi[1..8]
On Tue, Apr 16, 2024 at 11:26:38PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@....com>
>
> Add dma support for lpspi[1..8]
>
> Signed-off-by: Peng Fan <peng.fan@....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 5c08e8787989..00f2526c4011 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
#include <dt-bindings/dma/fsl-edma.h>
> @@ -344,6 +344,8 @@ lpspi1: spi@...60000 {
> clocks = <&clk IMX93_CLK_LPSPI1_GATE>,
> <&clk IMX93_CLK_BUS_AON>;
> clock-names = "per", "ipg";
> + dmas = <&edma1 11 0 0>, <&edma1 12 0 1>;
> + dma-names = "tx", "rx";
1: should be FSL_EDMA_RX
> status = "disabled";
> };
>
> @@ -356,6 +358,8 @@ lpspi2: spi@...70000 {
> clocks = <&clk IMX93_CLK_LPSPI2_GATE>,
> <&clk IMX93_CLK_BUS_AON>;
> clock-names = "per", "ipg";
> + dmas = <&edma1 13 0 0>, <&edma1 14 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
> @@ -724,6 +728,8 @@ lpspi3: spi@...50000 {
> clocks = <&clk IMX93_CLK_LPSPI3_GATE>,
> <&clk IMX93_CLK_BUS_WAKEUP>;
> clock-names = "per", "ipg";
> + dmas = <&edma2 12 0 0>, <&edma2 13 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
> @@ -736,6 +742,8 @@ lpspi4: spi@...60000 {
> clocks = <&clk IMX93_CLK_LPSPI4_GATE>,
> <&clk IMX93_CLK_BUS_WAKEUP>;
> clock-names = "per", "ipg";
> + dmas = <&edma2 14 0 0>, <&edma2 15 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
> @@ -945,6 +953,8 @@ lpspi5: spi@...f0000 {
> clocks = <&clk IMX93_CLK_LPSPI5_GATE>,
> <&clk IMX93_CLK_BUS_WAKEUP>;
> clock-names = "per", "ipg";
> + dmas = <&edma2 79 0 0>, <&edma2 80 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
> @@ -957,6 +967,8 @@ lpspi6: spi@...00000 {
> clocks = <&clk IMX93_CLK_LPSPI6_GATE>,
> <&clk IMX93_CLK_BUS_WAKEUP>;
> clock-names = "per", "ipg";
> + dmas = <&edma2 81 0 0>, <&edma2 82 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
> @@ -969,6 +981,8 @@ lpspi7: spi@...10000 {
> clocks = <&clk IMX93_CLK_LPSPI7_GATE>,
> <&clk IMX93_CLK_BUS_WAKEUP>;
> clock-names = "per", "ipg";
> + dmas = <&edma2 83 0 0>, <&edma2 84 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
> @@ -981,6 +995,8 @@ lpspi8: spi@...20000 {
> clocks = <&clk IMX93_CLK_LPSPI8_GATE>,
> <&clk IMX93_CLK_BUS_WAKEUP>;
> clock-names = "per", "ipg";
> + dmas = <&edma2 85 0 0>, <&edma2 86 0 1>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
>
>
> --
> 2.37.1
>
Powered by blists - more mailing lists