Re: [PATCH] arm64: xilinx: dts: Add dma properties to fix dtbs_check warnings
pá 14. 1. 2022 v 12:44 odesílatel Michal Simek napsal: > > From: Shravya Kumbham > > Update dma name and add #dma-cells properties to fix dtbs_check > warnings. > > Signed-off-by: Shravya Kumbham > Signed-off-by: Michal Simek > --- > > arch/arm/dts/zynqmp.dtsi | 48 ++-- > 1 file changed, 32 insertions(+), 16 deletions(-) > > diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi > index 1331cec36f34..755a4ed2e515 100644 > --- a/arch/arm/dts/zynqmp.dtsi > +++ b/arch/arm/dts/zynqmp.dtsi > @@ -265,7 +265,7 @@ > }; > > /* GDMA */ > - fpd_dma_chan1: dma@fd50 { > + fpd_dma_chan1: dma-controller@fd50 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd50 0x0 0x1000>; > @@ -276,9 +276,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14e8>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan2: dma@fd51 { > + fpd_dma_chan2: dma-controller@fd51 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd51 0x0 0x1000>; > @@ -289,9 +290,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14e9>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan3: dma@fd52 { > + fpd_dma_chan3: dma-controller@fd52 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd52 0x0 0x1000>; > @@ -302,9 +304,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14ea>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan4: dma@fd53 { > + fpd_dma_chan4: dma-controller@fd53 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd53 0x0 0x1000>; > @@ -315,9 +318,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14eb>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan5: dma@fd54 { > + fpd_dma_chan5: dma-controller@fd54 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd54 0x0 0x1000>; > @@ -328,9 +332,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14ec>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan6: dma@fd55 { > + fpd_dma_chan6: dma-controller@fd55 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd55 0x0 0x1000>; > @@ -341,9 +346,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14ed>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan7: dma@fd56 { > + fpd_dma_chan7: dma-controller@fd56 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd56 0x0 0x1000>; > @@ -354,9 +360,10 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14ee>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > - fpd_dma_chan8: dma@fd57 { > + fpd_dma_chan8: dma-controller@fd57 { > status = "disabled"; > compatible = "xlnx,zynqmp-dma-1.0"; > reg = <0x0 0xfd57 0x0 0x1000>; > @@ -367,6 +374,7 @@ > #stream-id-cells = <1>; > iommus = <&smmu 0x14ef>; > power-domains = <&zynqmp_firmware PD_GDMA>; > + #dma-cells = <1>; > }; > > gic: interrupt-controller@f901 { > @@ -396,7 +404,7 @@ >
[PATCH] arm64: xilinx: dts: Add dma properties to fix dtbs_check warnings
From: Shravya Kumbham Update dma name and add #dma-cells properties to fix dtbs_check warnings. Signed-off-by: Shravya Kumbham Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 48 ++-- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 1331cec36f34..755a4ed2e515 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -265,7 +265,7 @@ }; /* GDMA */ - fpd_dma_chan1: dma@fd50 { + fpd_dma_chan1: dma-controller@fd50 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd50 0x0 0x1000>; @@ -276,9 +276,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14e8>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan2: dma@fd51 { + fpd_dma_chan2: dma-controller@fd51 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd51 0x0 0x1000>; @@ -289,9 +290,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14e9>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan3: dma@fd52 { + fpd_dma_chan3: dma-controller@fd52 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd52 0x0 0x1000>; @@ -302,9 +304,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14ea>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan4: dma@fd53 { + fpd_dma_chan4: dma-controller@fd53 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd53 0x0 0x1000>; @@ -315,9 +318,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14eb>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan5: dma@fd54 { + fpd_dma_chan5: dma-controller@fd54 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd54 0x0 0x1000>; @@ -328,9 +332,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14ec>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan6: dma@fd55 { + fpd_dma_chan6: dma-controller@fd55 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd55 0x0 0x1000>; @@ -341,9 +346,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14ed>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan7: dma@fd56 { + fpd_dma_chan7: dma-controller@fd56 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd56 0x0 0x1000>; @@ -354,9 +360,10 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14ee>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; - fpd_dma_chan8: dma@fd57 { + fpd_dma_chan8: dma-controller@fd57 { status = "disabled"; compatible = "xlnx,zynqmp-dma-1.0"; reg = <0x0 0xfd57 0x0 0x1000>; @@ -367,6 +374,7 @@ #stream-id-cells = <1>; iommus = <&smmu 0x14ef>; power-domains = <&zynqmp_firmware PD_GDMA>; + #dma-cells = <1>; }; gic: interrupt-controller@f901 { @@ -396,7 +404,7 @@ * These dma channels, Users should ensure that these dma * Channels are allowed for non secure access. */ - lpd_dma_chan1: dma@ffa8 { + lpd_dma_chan1: dma-controller@ffa8 {