diff mbox series

[1/3] ARM: dts: at91: sama7g5: Swap `rx` and `tx` for `i2c` nodes

Message ID 20220309120714.51393-2-sergiu.moga@microchip.com
State Superseded
Headers show
Series dt-bindings: i2c: convert i2c-at91 to json-schema | expand

Commit Message

Sergiu Moga March 9, 2022, 12:07 p.m. UTC
Swap `rx` and `tx` for the `dma-names` property of the `i2c` nodes
in order to maintain consistency across Microchip/Atmel SoC files.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
---
 arch/arm/boot/dts/sama7g5.dtsi | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Comments

Tudor Ambarus March 9, 2022, 1:11 p.m. UTC | #1
On 3/9/22 14:07, Sergiu Moga wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Swap `rx` and `tx` for the `dma-names` property of the `i2c` nodes
> in order to maintain consistency across Microchip/Atmel SoC files.
> 
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>

Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>

> ---
>  arch/arm/boot/dts/sama7g5.dtsi | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
> index 4decd3a91a76..f691c8f08d04 100644
> --- a/arch/arm/boot/dts/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/sama7g5.dtsi
> @@ -601,9 +601,9 @@ i2c1: i2c@600 {
>                                 #size-cells = <0>;
>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
>                                 atmel,fifo-size = <32>;
> -                               dmas = <&dma0 AT91_XDMAC_DT_PERID(7)>,
> -                                       <&dma0 AT91_XDMAC_DT_PERID(8)>;
> -                               dma-names = "rx", "tx";
> +                               dmas = <&dma0 AT91_XDMAC_DT_PERID(8)>,
> +                                       <&dma0 AT91_XDMAC_DT_PERID(7)>;
> +                               dma-names = "tx", "rx";
>                                 status = "disabled";
>                         };
>                 };
> @@ -786,9 +786,9 @@ i2c8: i2c@600 {
>                                 #size-cells = <0>;
>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 46>;
>                                 atmel,fifo-size = <32>;
> -                               dmas = <&dma0 AT91_XDMAC_DT_PERID(21)>,
> -                                       <&dma0 AT91_XDMAC_DT_PERID(22)>;
> -                               dma-names = "rx", "tx";
> +                               dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>,
> +                                       <&dma0 AT91_XDMAC_DT_PERID(21)>;
> +                               dma-names = "tx", "rx";
>                                 status = "disabled";
>                         };
>                 };
> @@ -810,9 +810,9 @@ i2c9: i2c@600 {
>                                 #size-cells = <0>;
>                                 clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
>                                 atmel,fifo-size = <32>;
> -                               dmas = <&dma0 AT91_XDMAC_DT_PERID(23)>,
> -                                       <&dma0 AT91_XDMAC_DT_PERID(24)>;
> -                               dma-names = "rx", "tx";
> +                               dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>,
> +                                       <&dma0 AT91_XDMAC_DT_PERID(23)>;
> +                               dma-names = "tx", "rx";
>                                 status = "disabled";
>                         };
>                 };
> --
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index 4decd3a91a76..f691c8f08d04 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -601,9 +601,9 @@  i2c1: i2c@600 {
 				#size-cells = <0>;
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
 				atmel,fifo-size = <32>;
-				dmas = <&dma0 AT91_XDMAC_DT_PERID(7)>,
-					<&dma0 AT91_XDMAC_DT_PERID(8)>;
-				dma-names = "rx", "tx";
+				dmas = <&dma0 AT91_XDMAC_DT_PERID(8)>,
+					<&dma0 AT91_XDMAC_DT_PERID(7)>;
+				dma-names = "tx", "rx";
 				status = "disabled";
 			};
 		};
@@ -786,9 +786,9 @@  i2c8: i2c@600 {
 				#size-cells = <0>;
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 46>;
 				atmel,fifo-size = <32>;
-				dmas = <&dma0 AT91_XDMAC_DT_PERID(21)>,
-					<&dma0 AT91_XDMAC_DT_PERID(22)>;
-				dma-names = "rx", "tx";
+				dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>,
+					<&dma0 AT91_XDMAC_DT_PERID(21)>;
+				dma-names = "tx", "rx";
 				status = "disabled";
 			};
 		};
@@ -810,9 +810,9 @@  i2c9: i2c@600 {
 				#size-cells = <0>;
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
 				atmel,fifo-size = <32>;
-				dmas = <&dma0 AT91_XDMAC_DT_PERID(23)>,
-					<&dma0 AT91_XDMAC_DT_PERID(24)>;
-				dma-names = "rx", "tx";
+				dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>,
+					<&dma0 AT91_XDMAC_DT_PERID(23)>;
+				dma-names = "tx", "rx";
 				status = "disabled";
 			};
 		};