lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220312180615.68929-3-singh.kuldeep87k@gmail.com>
Date:   Sat, 12 Mar 2022 23:36:15 +0530
From:   Kuldeep Singh <singh.kuldeep87k@...il.com>
To:     soc@...nel.org, Arnd Bergmann <arnd@...db.de>,
        Rob Herring <robh+dt@...nel.org>,
        Vladimir Zapolskiy <vz@...ia.com>
Cc:     linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] ARM: dts: lpc18xx: Update SPI dma properties

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@...il.com>
CC: soc@...nel.org
---
 arch/arm/boot/dts/lpc18xx.dtsi | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

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@...83000 {
 			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@...c5000 {
 			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";
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ