Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b29ca22 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Revert "arm64: dts: marvell: add dma-mask in crypto nodes for 7k/8k"



As I found by chance while merging another patch, the usage of
a dma-mask in this DT node is wrong for multiple reasons:

- dma-masks are a Linux specific concept, not a general
  hardware feature
- In DT, we use the "dma-ranges" property to describe how DMA
  addresses related between devices.
- The 40-bit mask appears to be completely unnecessary here, as
  the SoC cannot address that much memory anyway, so simply
  asking for a 64-bit mask (as supported by the device) should
  succeed anyway.

The patch to remove the parsing of the property is getting merged
through the crypto tree.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 9b308813
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -270,7 +270,6 @@
				interrupt-names = "mem", "ring0", "ring1",
				"ring2", "ring3", "eip";
				clocks = <&cpm_clk 1 26>;
				dma-mask = <0xff 0xffffffff>;
			};
		};

+0 −1
Original line number Diff line number Diff line
@@ -261,7 +261,6 @@
				interrupt-names = "mem", "ring0", "ring1",
						  "ring2", "ring3", "eip";
				clocks = <&cps_clk 1 26>;
				dma-mask = <0xff 0xffffffff>;
				/*
				 * The cryptographic engine found on the cp110
				 * master is enabled by default at the SoC