diff mbox series

[v3,01/14] ARM: dts: at91: sama7g5: Swap rx and tx for spi11

Message ID 20220913142205.162399-2-sergiu.moga@microchip.com
State Accepted
Commit 944ec7d1a39eb9a9127148395105a970ce32b61e
Headers show
Series Make atmel serial driver aware of GCLK | expand

Commit Message

Sergiu Moga Sept. 13, 2022, 2:21 p.m. UTC
Swap the rx and tx of the DMA related DT properties of the spi11 node
in order to maintain consistency across Microchip/Atmel SoC files.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
---


v1 -> v2:
- Nothing, this patch was not here before


v2 -> v3:
- Nothing, this was previously [PATCH 2]



 arch/arm/boot/dts/sama7g5.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Claudiu Beznea Sept. 16, 2022, 8:13 a.m. UTC | #1
On 13.09.2022 17:21, Sergiu Moga wrote:
> Swap the rx and tx of the DMA related DT properties of the spi11 node
> in order to maintain consistency across Microchip/Atmel SoC files.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>

Applied to at91-dt, thanks!

> ---
> 
> 
> v1 -> v2:
> - Nothing, this patch was not here before
> 
> 
> v2 -> v3:
> - Nothing, this was previously [PATCH 2]
> 
> 
> 
>  arch/arm/boot/dts/sama7g5.dtsi | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
> index bb6d71e6dfeb..249f9c640b6c 100644
> --- a/arch/arm/boot/dts/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/sama7g5.dtsi
> @@ -866,9 +866,9 @@ spi11: spi@400 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
>  				atmel,fifo-size = <32>;
> -				dmas = <&dma0 AT91_XDMAC_DT_PERID(27)>,
> -					    <&dma0 AT91_XDMAC_DT_PERID(28)>;
> -				dma-names = "rx", "tx";
> +				dmas = <&dma0 AT91_XDMAC_DT_PERID(28)>,
> +					    <&dma0 AT91_XDMAC_DT_PERID(27)>;
> +				dma-names = "tx", "rx";
>  				status = "disabled";
>  			};
>  		};
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index bb6d71e6dfeb..249f9c640b6c 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -866,9 +866,9 @@  spi11: spi@400 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				atmel,fifo-size = <32>;
-				dmas = <&dma0 AT91_XDMAC_DT_PERID(27)>,
-					    <&dma0 AT91_XDMAC_DT_PERID(28)>;
-				dma-names = "rx", "tx";
+				dmas = <&dma0 AT91_XDMAC_DT_PERID(28)>,
+					    <&dma0 AT91_XDMAC_DT_PERID(27)>;
+				dma-names = "tx", "rx";
 				status = "disabled";
 			};
 		};