All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Frank Li <Frank.li@nxp.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	NXP Linux Team <linux-imx@nxp.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] arm64: dts: imx8: Fix lpuart DMA channel order
Date: Tue, 06 Feb 2024 08:50:22 +0100	[thread overview]
Message-ID: <3282920.44csPzL39Z@steina-w> (raw)
In-Reply-To: <ZbfdsY8MkQrIzOqG@lizhi-Precision-Tower-5810>

Hi,

Am Montag, 29. Januar 2024, 18:17:37 CET schrieb Frank Li:
> On Tue, Dec 19, 2023 at 01:34:39PM +0100, Alexander Stein wrote:
> > Bindings say DMA channels are in order Rx, Tx. Adjust the DT nodes
> > accordingly.
> > 
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > ---
> > 
> >  arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi index
> > a180893ac81e..0f48796e32b2 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > @@ -93,8 +93,8 @@ lpuart0: serial@5a060000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_0 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_0>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 9 0 0>, <&edma2 8 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 8 0 0>, <&edma2 9 0 1>;
> 
> edma device bind header file already merged.
> Please include <dt-binding/dma/fsl-edma.h>
> 
> Change "1" to "FSL_EDMA_RX".

Thanks, I was not aware of that change. Meanwhile I noticed in my patch the 
flags were not switched as well.

Best regards,
Alexander

> Frank
> 
> >  		status = "disabled";
> >  	
> >  	};
> > 
> > @@ -107,8 +107,8 @@ lpuart1: serial@5a070000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_1 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_1>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 11 0 0>, <&edma2 10 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 10 0 0>, <&edma2 11 0 1>;
> > 
> >  		status = "disabled";
> >  	
> >  	};
> > 
> > @@ -121,8 +121,8 @@ lpuart2: serial@5a080000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_2 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_2>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 13 0 0>, <&edma2 12 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 12 0 0>, <&edma2 13 0 1>;
> > 
> >  		status = "disabled";
> >  	
> >  	};
> > 
> > @@ -135,8 +135,8 @@ lpuart3: serial@5a090000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_3 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_3>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 15 0 0>, <&edma2 14 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 14 0 0>, <&edma2 15 0 1>;
> > 
> >  		status = "disabled";
> >  	
> >  	};


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



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

WARNING: multiple messages have this Message-ID (diff)
From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Frank Li <Frank.li@nxp.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	NXP Linux Team <linux-imx@nxp.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] arm64: dts: imx8: Fix lpuart DMA channel order
Date: Tue, 06 Feb 2024 08:50:22 +0100	[thread overview]
Message-ID: <3282920.44csPzL39Z@steina-w> (raw)
In-Reply-To: <ZbfdsY8MkQrIzOqG@lizhi-Precision-Tower-5810>

Hi,

Am Montag, 29. Januar 2024, 18:17:37 CET schrieb Frank Li:
> On Tue, Dec 19, 2023 at 01:34:39PM +0100, Alexander Stein wrote:
> > Bindings say DMA channels are in order Rx, Tx. Adjust the DT nodes
> > accordingly.
> > 
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > ---
> > 
> >  arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi index
> > a180893ac81e..0f48796e32b2 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > @@ -93,8 +93,8 @@ lpuart0: serial@5a060000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_0 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_0>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 9 0 0>, <&edma2 8 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 8 0 0>, <&edma2 9 0 1>;
> 
> edma device bind header file already merged.
> Please include <dt-binding/dma/fsl-edma.h>
> 
> Change "1" to "FSL_EDMA_RX".

Thanks, I was not aware of that change. Meanwhile I noticed in my patch the 
flags were not switched as well.

Best regards,
Alexander

> Frank
> 
> >  		status = "disabled";
> >  	
> >  	};
> > 
> > @@ -107,8 +107,8 @@ lpuart1: serial@5a070000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_1 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_1>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 11 0 0>, <&edma2 10 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 10 0 0>, <&edma2 11 0 1>;
> > 
> >  		status = "disabled";
> >  	
> >  	};
> > 
> > @@ -121,8 +121,8 @@ lpuart2: serial@5a080000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_2 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_2>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 13 0 0>, <&edma2 12 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 12 0 0>, <&edma2 13 0 1>;
> > 
> >  		status = "disabled";
> >  	
> >  	};
> > 
> > @@ -135,8 +135,8 @@ lpuart3: serial@5a090000 {
> > 
> >  		assigned-clocks = <&clk IMX_SC_R_UART_3 
IMX_SC_PM_CLK_PER>;
> >  		assigned-clock-rates = <80000000>;
> >  		power-domains = <&pd IMX_SC_R_UART_3>;
> > 
> > -		dma-names = "tx","rx";
> > -		dmas = <&edma2 15 0 0>, <&edma2 14 0 1>;
> > +		dma-names = "rx", "tx";
> > +		dmas = <&edma2 14 0 0>, <&edma2 15 0 1>;
> > 
> >  		status = "disabled";
> >  	
> >  	};


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



  reply	other threads:[~2024-02-06  7:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 12:34 [PATCH 1/2] arm64: dts: freescale: imx8-ss-dma: Fix edma3's location Alexander Stein
2023-12-19 12:34 ` Alexander Stein
2023-12-19 12:34 ` [PATCH 2/2] arm64: dts: imx8: Fix lpuart DMA channel order Alexander Stein
2023-12-19 12:34   ` Alexander Stein
2024-01-29 17:17   ` Frank Li
2024-01-29 17:17     ` Frank Li
2024-02-06  7:50     ` Alexander Stein [this message]
2024-02-06  7:50       ` Alexander Stein

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=3282920.44csPzL39Z@steina-w \
    --to=alexander.stein@ew.tq-group.com \
    --cc=Frank.li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.