arm64: dts: juno: Drop useless 'dma-channels/requests' properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 30 Apr 2022 12:18:57 +0000 (14:18 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Sat, 30 Apr 2022 19:11:01 +0000 (20:11 +0100)
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.

Another reason is that the number of requests also does not seem right
(should be 8).

Link: https://lore.kernel.org/r/20220430121902.59895-5-krzysztof.kozlowski@linaro.org
Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/juno-base.dtsi

index 4f40a5c..065381c 100644 (file)
                compatible = "arm,pl330", "arm,primecell";
                reg = <0x0 0x7ff00000 0 0x1000>;
                #dma-cells = <1>;
-               #dma-channels = <8>;
-               #dma-requests = <32>;
                interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
                             <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
                             <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,