diff mbox series

[v2,2/3] ARM: dts: da850: use new 'dma-channels' property

Message ID 20220516142857.6419-3-krzysztof.kozlowski@linaro.org (mailing list archive)
State Accepted
Commit 22a798d7b234c651f05cd37b487ac8071d0f4936
Headers show
Series arm/arm64: dts: cleanups for dma-channels | expand

Commit Message

Krzysztof Kozlowski May 16, 2022, 2:28 p.m. UTC
The '#dma-channels' property was deprecated in favor of one defined by
generic dma-common DT bindings.  Add new property while keeping old one
for backwards compatibility.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/da850.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index c3942b4e82ad..0386376fa486 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -679,7 +679,9 @@  cppi41dma: dma-controller@201000 {
 					    "scheduler", "queuemgr";
 				interrupts = <58>;
 				#dma-cells = <2>;
+				/* For backwards compatibility: */
 				#dma-channels = <4>;
+				dma-channels = <4>;
 				power-domains = <&psc1 1>;
 				status = "okay";
 			};