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 <[email protected]>
CC: [email protected]
---
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@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";
--
2.25.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 <[email protected]>
Kindly consider this patch obsolete as it's not required.
Thanks for your time and patience.
Regards
Kuldeep