ARM: dts: dm81xx: use new 'dma-channels/requests' properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 3 May 2022 06:52:01 +0000 (08:52 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 3 May 2022 07:11:44 +0000 (10:11 +0300)
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Message-Id: <20220503065201.51818-7-krzysztof.kozlowski@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dm814x.dtsi
arch/arm/boot/dts/dm816x.dtsi

index 7702e04..a926301 100644 (file)
                                interrupts = <17>;
                                interrupt-names = "glue";
                                #dma-cells = <2>;
+                               /* For backwards compatibility: */
                                #dma-channels = <30>;
+                               dma-channels = <30>;
                                #dma-requests = <256>;
+                               dma-requests = <256>;
                        };
                };
 
index a9e7274..eb0a95d 100644 (file)
                                interrupts = <17>;
                                interrupt-names = "glue";
                                #dma-cells = <2>;
+                               /* For backwards compatibility: */
                                #dma-channels = <30>;
+                               dma-channels = <30>;
                                #dma-requests = <256>;
+                               dma-requests = <256>;
                        };
                };