Skip to contentSkip to conversation

dma: sdma: Add imx25 compatible

PATCH New Markus Pargmann 3 participants 3 messages Feb 16, 2014 – Feb 18, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma: sdma: Add imx25 compatible

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.

---
 Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 16 ++++++++++------
 drivers/dma/imx-sdma.c                                 |  1 +
 2 files changed, 11 insertions(+), 6 deletions(-)
Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt +10 -6
index 68b83ec..ee9be99 100644
@@ -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>.
drivers/dma/imx-sdma.c +1 -0
index bdefc10..ce2ad7f 100644
@@ -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);
Signature · 1 line
1.8.5.3
#1 lore raw

PATCH 1/1 dma: sdma: Add imx25 compatible

Quoted 9 lines · Markus Pargmann

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.

#2 lore raw

PATCH 1/1 dma: sdma: Add imx25 compatible

In reply to Markus Pargmann
Quoted 9 lines · Markus Pargmann

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.

Applie,d thanks

Signature · 1 line
~Vinod