arm64: dts: fsd: drop useless 'dma-channels/requests' properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 30 Apr 2022 12:19:02 +0000 (14:19 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 4 May 2022 08:22:19 +0000 (10:22 +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-10-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/tesla/fsd.dtsi

index 10c217a..af39655 100644 (file)
                        reg = <0x0 0x10100000 0x0 0x1000>;
                        interrupts = <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>;
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <32>;
                        clocks = <&clock_imem IMEM_DMA0_IPCLKPORT_ACLK>;
                        clock-names = "apb_pclk";
                        iommus = <&smmu_imem 0x800 0x0>;
                        reg = <0x0 0x10110000 0x0 0x1000>;
                        interrupts = <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <32>;
                        clocks = <&clock_imem IMEM_DMA1_IPCLKPORT_ACLK>;
                        clock-names = "apb_pclk";
                        iommus = <&smmu_imem 0x801 0x0>;
                        reg = <0x0 0x14280000 0x0 0x1000>;
                        interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <32>;
                        clocks = <&clock_peric PERIC_DMA0_IPCLKPORT_ACLK>;
                        clock-names = "apb_pclk";
                        iommus = <&smmu_peric 0x2 0x0>;
                        reg = <0x0 0x14290000 0x0 0x1000>;
                        interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
                        #dma-cells = <1>;
-                       #dma-channels = <8>;
-                       #dma-requests = <32>;
                        clocks = <&clock_peric PERIC_DMA1_IPCLKPORT_ACLK>;
                        clock-names = "apb_pclk";
                        iommus = <&smmu_peric 0x1 0x0>;