Re: [v4 2/2] arm64: dts: ls1028a: Update edma compatible to fit eDMA driver
From: Shawn Guo
Date: Wed Dec 11 2019 - 21:20:07 EST
On Wed, Dec 11, 2019 at 08:09:39AM +0000, Peng Ma wrote:
> The eDMA of LS1028A soc has a little bit different from others, So we
> should distinguish them in driver by compatible.
>
> Signed-off-by: Peng Ma <peng.ma@xxxxxxx>
> ---
> Changed for v4
> - Add new change patch
>
> Documentation/devicetree/bindings/dma/fsl-edma.txt | 1 +
Please have bindings change as a separate patch.
Shawn
> arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/dma/fsl-edma.txt b/Documentation/devicetree/bindings/dma/fsl-edma.txt
> index 29dd3ccb1235..e77b08ebcd06 100644
> --- a/Documentation/devicetree/bindings/dma/fsl-edma.txt
> +++ b/Documentation/devicetree/bindings/dma/fsl-edma.txt
> @@ -10,6 +10,7 @@ Required properties:
> - compatible :
> - "fsl,vf610-edma" for eDMA used similar to that on Vybrid vf610 SoC
> - "fsl,imx7ulp-edma" for eDMA2 used similar to that on i.mx7ulp
> + - "fsl,fsl,ls1028a-edma" for eDMA used similar to that on Vybrid vf610 SoC
> - reg : Specifies base physical address(s) and size of the eDMA registers.
> The 1st region is eDMA control register's address and size.
> The 2nd and the 3rd regions are programmable channel multiplexing
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> index 8e8a77eb596a..b3716a89fa0d 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> @@ -316,7 +316,7 @@
>
> edma0: dma-controller@22c0000 {
> #dma-cells = <2>;
> - compatible = "fsl,vf610-edma";
> + compatible = "fsl,ls1028a-edma";
> reg = <0x0 0x22c0000 0x0 0x10000>,
> <0x0 0x22d0000 0x0 0x10000>,
> <0x0 0x22e0000 0x0 0x10000>;
> --
> 2.17.1
>