diff mbox series

[2/2] ARM: dts: lpc18xx: Update SPI dma properties

Message ID 20220312180615.68929-3-singh.kuldeep87k@gmail.com (mailing list archive)
State Changes Requested
Headers show
Series More DT fixes for arm,pl022 | expand

Commit Message

Kuldeep Singh March 12, 2022, 6:06 p.m. UTC
SPI pl022 describes dma-names as RX,TX.
Reorder dmas and dma-names properties to follow specified convention.
And while at it, also fix entries order within dma pairs.

Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
CC: soc@kernel.org
---
 arch/arm/boot/dts/lpc18xx.dtsi | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

Comments

Kuldeep Singh March 23, 2022, 5:52 p.m. UTC | #1
On Sat, Mar 12, 2022 at 11:36:15PM +0530, Kuldeep Singh wrote:
> SPI pl022 describes dma-names as RX,TX.
> Reorder dmas and dma-names properties to follow specified convention.
> And while at it, also fix entries order within dma pairs.
> 
> Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>

Kindly consider this patch obsolete as it's not required.
Thanks for your time and patience.

Regards
Kuldeep
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi
index 10b8249b8ab6..b3070cc927b7 100644
--- a/arch/arm/boot/dts/lpc18xx.dtsi
+++ b/arch/arm/boot/dts/lpc18xx.dtsi
@@ -317,8 +317,7 @@  ssp0: spi@40083000 {
 			clocks = <&ccu2 CLK_APB0_SSP0>, <&ccu1 CLK_CPU_SSP0>;
 			clock-names = "sspclk", "apb_pclk";
 			resets = <&rgu 50>;
-			dmas = <&dmamux  9 0 2
-				&dmamux 10 0 2>;
+			dmas = <&dmamux  10 0 2>, <&dmamux 9 0 2>;
 			dma-names = "rx", "tx";
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -424,16 +423,12 @@  ssp1: spi@400c5000 {
 			clocks = <&ccu2 CLK_APB2_SSP1>, <&ccu1 CLK_CPU_SSP1>;
 			clock-names = "sspclk", "apb_pclk";
 			resets = <&rgu 51>;
-			dmas = <&dmamux 11 2 2
-				&dmamux 12 2 2
-				&dmamux  3 3 2
-				&dmamux  4 3 2
-				&dmamux  5 2 2
-				&dmamux  6 2 2
-				&dmamux 13 2 2
-				&dmamux 14 2 2>;
-			dma-names = "rx", "tx", "tx", "rx",
-				    "tx", "rx", "rx", "tx";
+			dmas = <&dmamux 12 2 2>, <&dmamux 11 2 2>,
+					<&dmamux  4 3 2>, <&dmamux  3 3 2>,
+					<&dmamux  6 2 2>, <&dmamux  5 2 2>,
+					<&dmamux 14 2 2>, <&dmamux 13 2 2>;
+			dma-names = "rx", "tx", "rx", "tx",
+						"rx", "tx", "rx", "tx";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";