linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma: sdma: Add imx25 compatible
@ 2014-02-16 19:10 Markus Pargmann
  2014-02-17  2:22 ` Shawn Guo
  2014-02-18 11:41 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Pargmann @ 2014-02-16 19:10 UTC (permalink / raw)
  To: linux-arm-kernel

imx25 did not work without a firmware previously.

This patch adds a DT compatible to pass the correct data with the
default script addresses for imx25.

Add imx25 compatible to the list of compatibles in the binding
documentation.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 16 ++++++++++------
 drivers/dma/imx-sdma.c                                 |  1 +
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt
index 68b83ec..ee9be99 100644
--- a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt
+++ b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt
@@ -1,12 +1,16 @@
 * Freescale Smart Direct Memory Access (SDMA) Controller for i.MX
 
 Required properties:
-- compatible : Should be "fsl,imx31-sdma", "fsl,imx31-to1-sdma",
-  "fsl,imx31-to2-sdma", "fsl,imx35-sdma", "fsl,imx35-to1-sdma",
-  "fsl,imx35-to2-sdma", "fsl,imx51-sdma", "fsl,imx53-sdma" or
-  "fsl,imx6q-sdma". The -to variants should be preferred since they
-  allow to determnine the correct ROM script addresses needed for
-  the driver to work without additional firmware.
+- compatible : Should be one of
+      "fsl,imx25-sdma"
+      "fsl,imx31-sdma", "fsl,imx31-to1-sdma", "fsl,imx31-to2-sdma"
+      "fsl,imx35-sdma", "fsl,imx35-to1-sdma", "fsl,imx35-to2-sdma"
+      "fsl,imx51-sdma"
+      "fsl,imx53-sdma"
+      "fsl,imx6q-sdma"
+  The -to variants should be preferred since they allow to determnine the
+  correct ROM script addresses needed for the driver to work without additional
+  firmware.
 - reg : Should contain SDMA registers location and length
 - interrupts : Should contain SDMA interrupt
 - #dma-cells : Must be <3>.
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index bdefc10..ce2ad7f 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -449,6 +449,7 @@ static const struct of_device_id sdma_dt_ids[] = {
 	{ .compatible = "fsl,imx51-sdma", .data = &sdma_imx51, },
 	{ .compatible = "fsl,imx35-sdma", .data = &sdma_imx35, },
 	{ .compatible = "fsl,imx31-sdma", .data = &sdma_imx31, },
+	{ .compatible = "fsl,imx25-sdma", .data = &sdma_imx25, },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, sdma_dt_ids);
-- 
1.8.5.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] dma: sdma: Add imx25 compatible
  2014-02-16 19:10 [PATCH] dma: sdma: Add imx25 compatible Markus Pargmann
@ 2014-02-17  2:22 ` Shawn Guo
  2014-02-18 11:41 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2014-02-17  2:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Feb 16, 2014 at 08:10:55PM +0100, Markus Pargmann wrote:
> imx25 did not work without a firmware previously.
> 
> This patch adds a DT compatible to pass the correct data with the
> default script addresses for imx25.
> 
> Add imx25 compatible to the list of compatibles in the binding
> documentation.
> 
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>

Acked-by: Shawn Guo <shawn.guo@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] dma: sdma: Add imx25 compatible
  2014-02-16 19:10 [PATCH] dma: sdma: Add imx25 compatible Markus Pargmann
  2014-02-17  2:22 ` Shawn Guo
@ 2014-02-18 11:41 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2014-02-18 11:41 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Feb 16, 2014 at 08:10:55PM +0100, Markus Pargmann wrote:
> imx25 did not work without a firmware previously.
> 
> This patch adds a DT compatible to pass the correct data with the
> default script addresses for imx25.
> 
> Add imx25 compatible to the list of compatibles in the binding
> documentation.
> 
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>

Applie,d thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-18 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-16 19:10 [PATCH] dma: sdma: Add imx25 compatible Markus Pargmann
2014-02-17  2:22 ` Shawn Guo
2014-02-18 11:41 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).