Re: [PATCH v4 5/5] imx8mq.dtsi: add the sdma nodes

From: Lucas Stach
Date: Fri Jan 25 2019 - 04:38:36 EST


Am Donnerstag, den 24.01.2019, 19:55 -0700 schrieb Angus Ainslie (Purism):
> Add the sdma nodes to the base devicetree for the imx8mq
>
> Signed-off-by: Angus Ainslie (Purism) <angus@xxxxxxxx>

One nit below, with that fixed:

Reviewed-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>

You might need to split this patch out from the series and send it to
Shawn separately after the dmaengine changes have been accepted.

regards,
Lucas

> ---
> Âarch/arm64/boot/dts/freescale/imx8mq.dtsi | 28 +++++++++++++++++++++++
> Â1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> index c0402375e7c1..f0cd3675ead0 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -336,6 +336,17 @@
> > Â clocks = <&clk IMX8MQ_CLK_WDOG3_ROOT>;
> > Â status = "disabled";
> > Â };
> +
> > > + sdma2: sdma@302c0000 {
> > + compatible = "fsl,imx8mq-sdma", "fsl,imx7d-sdma";
> > + reg = <0x302c0000 0x10000>;
> > + interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&clk IMX8MQ_CLK_SDMA2_ROOT>,
> + <&clk IMX8MQ_CLK_SDMA2_ROOT>;

Some spaces to align the second clock reference as in the rest of this
file, please.

> + clock-names = "ipg", "ahb";
> > + #dma-cells = <3>;
> > + fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
> > + };
> > Â };
> Â
> > Â bus@30400000 { /* AIPS2 */
> @@ -370,6 +381,8 @@
> > Â clocks = <&clk IMX8MQ_CLK_UART3_ROOT>,
> > Â ÂÂÂÂÂÂÂÂÂ<&clk IMX8MQ_CLK_UART3_ROOT>;
> > Â clock-names = "ipg", "per";
> > + dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>;
> > + dma-names = "rx", "tx";
> > Â status = "disabled";
> > Â };
> Â
> @@ -381,6 +394,8 @@
> > Â clocks = <&clk IMX8MQ_CLK_UART2_ROOT>,
> > Â ÂÂÂÂÂÂÂÂÂ<&clk IMX8MQ_CLK_UART2_ROOT>;
> > Â clock-names = "ipg", "per";
> > + dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>;
> > + dma-names = "rx", "tx";
> > Â status = "disabled";
> > Â };
> Â
> @@ -432,6 +447,8 @@
> > Â clocks = <&clk IMX8MQ_CLK_UART4_ROOT>,
> > Â ÂÂÂÂÂÂÂÂÂ<&clk IMX8MQ_CLK_UART4_ROOT>;
> > Â clock-names = "ipg", "per";
> > + dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>;
> > + dma-names = "rx", "tx";
> > Â status = "disabled";
> > Â };
> Â
> @@ -465,6 +482,17 @@
> > Â status = "disabled";
> > Â };
> Â
> > > + sdma1: sdma@30bd0000 {
> > + compatible = "fsl,imx8mq-sdma", "fsl,imx7d-sdma";
> > + reg = <0x30bd0000 0x10000>;
> > + interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&clk IMX8MQ_CLK_SDMA1_ROOT>,
> > + <&clk IMX8MQ_CLK_AHB>;
> > + clock-names = "ipg", "ahb";
> > + #dma-cells = <3>;
> > + fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
> > + };
> +
> > > Â fec1: ethernet@30be0000 {
> > Â compatible = "fsl,imx8mq-fec", "fsl,imx6sx-fec";
> > Â reg = <0x30be0000 0x10000>;