]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: socfpga: drop useless 'dma-channels/requests' properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 30 Apr 2022 12:18:55 +0000 (14:18 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 4 May 2022 08:26:14 +0000 (10:26 +0200)
The pl330 DMA controller provides number of DMA channels and requests
through its registers, so duplicating this information (with a chance of
mistakes) in DTS is pointless.  Additionally the DTS used always wrong
property names which causes DT schema check failures - the bindings
documented 'dma-channels' and 'dma-requests' properties without leading
hash sign.

Reported-by: Rob Herring <robh@kernel.org>
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220430121902.59895-3-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/socfpga.dtsi
arch/arm/boot/dts/socfpga_arria10.dtsi

index b8c5dd7860cb25b01f0bfc4cd9bf3304f120ffe5..bfaef45bdd0444c433ab5114ab8f1c54ad0fd60a 100644 (file)
@@ -80,8 +80,6 @@ pdma: pdma@ffe01000 {
                                             <0 110 4>,
                                             <0 111 4>;
                                #dma-cells = <1>;
-                               #dma-channels = <8>;
-                               #dma-requests = <32>;
                                clocks = <&l4_main_clk>;
                                clock-names = "apb_pclk";
                                resets = <&rst DMA_RESET>;
index f1e50d2e623a37a3300b348a872bcca0925835e6..26bda2557fe811e188bbd17d8b0f5b966eb959c7 100644 (file)
@@ -73,8 +73,6 @@ pdma: pdma@ffda1000 {
                                             <0 90 IRQ_TYPE_LEVEL_HIGH>,
                                             <0 91 IRQ_TYPE_LEVEL_HIGH>;
                                #dma-cells = <1>;
-                               #dma-channels = <8>;
-                               #dma-requests = <32>;
                                clocks = <&l4_main_clk>;
                                clock-names = "apb_pclk";
                                resets = <&rst DMA_RESET>, <&rst DMA_OCP_RESET>;