ARM: dts: s5pv210: drop useless 'dma-channels/requests' properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 30 Apr 2022 12:18:59 +0000 (14:18 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 4 May 2022 08:23:15 +0000 (10:23 +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-7-krzysztof.kozlowski@linaro.org
arch/arm/boot/dts/s5pv210.dtsi

index ac281f4..f1b85aa 100644 (file)
                        clocks = <&clocks CLK_PDMA0>;
                        clock-names = "apb_pclk";
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <32>;
                };
 
                pdma1: dma-controller@e0a00000 {
                        clocks = <&clocks CLK_PDMA1>;
                        clock-names = "apb_pclk";
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <32>;
                };
 
                adc: adc@e1700000 {
                        clocks = <&clocks CLK_MDMA>;
                        clock-names = "apb_pclk";
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <1>;
                };
 
                rotator: rotator@fa300000 {