Unverified Commit 286b8073 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Arnd Bergmann
Browse files

ARM: dts: pxa: use new 'dma-channels/requests' properties



The '#dma-channels' and '#dma-requests' properties were deprecated in
favor of these defined by generic dma-common DT bindings.  Add new
properties while keeping old ones for backwards compatibility.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220516142857.6419-2-krzysztof.kozlowski@linaro.org

'
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 526f3f3b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -275,7 +275,9 @@
				compatible = "marvell,pdma-1.0";
				reg = <0xd4000000 0x10000>;
				interrupts = <48>;
				/* For backwards compatibility: */
				#dma-channels = <16>;
				dma-channels = <16>;
				status = "disabled";
			};

+4 −1
Original line number Diff line number Diff line
@@ -38,9 +38,12 @@
			compatible = "marvell,pdma-1.0";
			reg = <0x40000000 0x10000>;
			interrupts = <25>;
			#dma-channels = <16>;
			#dma-cells = <2>;
			/* For backwards compatibility: */
			#dma-channels = <16>;
			dma-channels = <16>;
			#dma-requests = <40>;
			dma-requests = <40>;
			status = "okay";
		};

+4 −1
Original line number Diff line number Diff line
@@ -12,9 +12,12 @@
			compatible = "marvell,pdma-1.0";
			reg = <0x40000000 0x10000>;
			interrupts = <25>;
			#dma-channels = <32>;
			#dma-cells = <2>;
			/* For backwards compatibility: */
			#dma-channels = <32>;
			dma-channels = <32>;
			#dma-requests = <75>;
			dma-requests = <75>;
			status = "okay";
		};

+4 −1
Original line number Diff line number Diff line
@@ -122,9 +122,12 @@
			compatible = "marvell,pdma-1.0";
			reg = <0x40000000 0x10000>;
			interrupts = <25>;
			#dma-channels = <32>;
			#dma-cells = <2>;
			/* For backwards compatibility: */
			#dma-channels = <32>;
			dma-channels = <32>;
			#dma-requests = <100>;
			dma-requests = <100>;
			status = "okay";
		};