]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: vfxxx: Fix the order of the DMA entries
authorFabio Estevam <festevam@denx.de>
Thu, 20 Feb 2025 12:48:09 +0000 (09:48 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Mar 2025 01:54:57 +0000 (09:54 +0800)
According to fsl,dspi.yaml the expected order for describing the dmas
and dma-names properties is "tx" first, followed by "rx".

Adjust it acordingly to fix the following dt-schema warnings:

spi@4002c000: dma-names:0: 'tx' was expected
spi@4002c000: dma-names:1: 'rx' was expected

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/vf/vfxxx.dtsi

index 6334ad4aec4b980fefbd867301d281d2239e8747..597f20be82f1ee044e14bfaf3bd05cff37a8ad39 100644 (file)
                                clocks = <&clks VF610_CLK_DSPI0>;
                                clock-names = "dspi";
                                spi-num-chipselects = <6>;
-                               dmas = <&edma1 1 12>, <&edma1 1 13>;
-                               dma-names = "rx", "tx";
+                               dmas = <&edma1 1 13>, <&edma1 1 12>;
+                               dma-names = "tx", "rx";
                                status = "disabled";
                        };
 
                                clocks = <&clks VF610_CLK_DSPI1>;
                                clock-names = "dspi";
                                spi-num-chipselects = <4>;
-                               dmas = <&edma1 1 14>, <&edma1 1 15>;
-                               dma-names = "rx", "tx";
+                               dmas = <&edma1 1 15>, <&edma1 1 14>;
+                               dma-names = "tx", "rx";
                                status = "disabled";
                        };
 
                                clocks = <&clks VF610_CLK_DSPI2>;
                                clock-names = "dspi";
                                spi-num-chipselects = <2>;
-                               dmas = <&edma1 0 10>,
-                                       <&edma1 0 11>;
-                               dma-names = "rx", "tx";
+                               dmas = <&edma1 0 11>, <&edma1 0 10>;
+                               dma-names = "tx", "rx";
                                status = "disabled";
                        };
 
                                clocks = <&clks VF610_CLK_DSPI3>;
                                clock-names = "dspi";
                                spi-num-chipselects = <2>;
-                               dmas = <&edma1 0 12>, <&edma1 0 13>;
-                               dma-names = "rx", "tx";
+                               dmas = <&edma1 0 13>, <&edma1 0 12>;
+                               dma-names = "tx", "rx";
                                status = "disabled";
                        };