]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: rockchip: remove #dma-cells from dma client nodes for rv1108
authorJohan Jonker <jbx6244@gmail.com>
Mon, 9 Mar 2020 13:40:20 +0000 (14:40 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 11 Mar 2020 09:08:48 +0000 (10:08 +0100)
When we combine spi-rockchip.yaml and
spi-controller.yaml and add 'additionalProperties: false'
it gives for example this error:

arch/arm/boot/dts/rv1108-evb.dt.yaml: spi@10270000:
'#dma-cells' does not match any of the regexes:
'^.*@[0-9a-f]+$', '^slave$'

'#dma-cells' are not used for dma clients, so remove them all.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/spi-rockchip.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200309134020.14935-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rv1108.dtsi

index c3621b3e6556b36466a5130ece56a11b87e9ed4b..8f8607ed721e9d735538092fd7b63c2fdedbaa1c 100644 (file)
                clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
                clock-names = "baudclk", "apb_pclk";
                dmas = <&pdma 6>, <&pdma 7>;
-               #dma-cells = <2>;
                pinctrl-names = "default";
                pinctrl-0 = <&uart2m0_xfer>;
                status = "disabled";
                clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
                clock-names = "baudclk", "apb_pclk";
                dmas = <&pdma 4>, <&pdma 5>;
-               #dma-cells = <2>;
                pinctrl-names = "default";
                pinctrl-0 = <&uart1_xfer>;
                status = "disabled";
                clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
                clock-names = "baudclk", "apb_pclk";
                dmas = <&pdma 2>, <&pdma 3>;
-               #dma-cells = <2>;
                pinctrl-names = "default";
                pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
                status = "disabled";
                clock-names = "spiclk", "apb_pclk";
                dmas = <&pdma 8>, <&pdma 9>;
                dma-names = "tx", "rx";
-               #dma-cells = <2>;
                #address-cells = <1>;
                #size-cells = <0>;
                status = "disabled";