[PATCH v2 6/9] ARM: dts: s5pv210: drop useless 'dma-channels/requests' properties

From: Krzysztof Kozlowski
Date: Sat Apr 30 2022 - 08:19:56 EST


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@xxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
arch/arm/boot/dts/s5pv210.dtsi | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi
index ac281f42e8f5..f1b85aae8842 100644
--- a/arch/arm/boot/dts/s5pv210.dtsi
+++ b/arch/arm/boot/dts/s5pv210.dtsi
@@ -125,8 +125,6 @@ pdma0: dma-controller@e0900000 {
clocks = <&clocks CLK_PDMA0>;
clock-names = "apb_pclk";
#dma-cells = <1>;
- #dma-channels = <8>;
- #dma-requests = <32>;
};

pdma1: dma-controller@e0a00000 {
@@ -137,8 +135,6 @@ pdma1: dma-controller@e0a00000 {
clocks = <&clocks CLK_PDMA1>;
clock-names = "apb_pclk";
#dma-cells = <1>;
- #dma-channels = <8>;
- #dma-requests = <32>;
};

adc: adc@e1700000 {
@@ -526,8 +522,6 @@ mdma1: dma-controller@fa200000 {
clocks = <&clocks CLK_MDMA>;
clock-names = "apb_pclk";
#dma-cells = <1>;
- #dma-channels = <8>;
- #dma-requests = <1>;
};

rotator: rotator@fa300000 {
--
2.32.0