Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Markus Pargmann and committed by
Vinod Koul
63edea16 e9baa9d9

+11 -6
+10 -6
Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt
··· 1 1 * Freescale Smart Direct Memory Access (SDMA) Controller for i.MX 2 2 3 3 Required properties: 4 - - compatible : Should be "fsl,imx31-sdma", "fsl,imx31-to1-sdma", 5 - "fsl,imx31-to2-sdma", "fsl,imx35-sdma", "fsl,imx35-to1-sdma", 6 - "fsl,imx35-to2-sdma", "fsl,imx51-sdma", "fsl,imx53-sdma" or 7 - "fsl,imx6q-sdma". The -to variants should be preferred since they 8 - allow to determnine the correct ROM script addresses needed for 9 - the driver to work without additional firmware. 4 + - compatible : Should be one of 5 + "fsl,imx25-sdma" 6 + "fsl,imx31-sdma", "fsl,imx31-to1-sdma", "fsl,imx31-to2-sdma" 7 + "fsl,imx35-sdma", "fsl,imx35-to1-sdma", "fsl,imx35-to2-sdma" 8 + "fsl,imx51-sdma" 9 + "fsl,imx53-sdma" 10 + "fsl,imx6q-sdma" 11 + The -to variants should be preferred since they allow to determnine the 12 + correct ROM script addresses needed for the driver to work without additional 13 + firmware. 10 14 - reg : Should contain SDMA registers location and length 11 15 - interrupts : Should contain SDMA interrupt 12 16 - #dma-cells : Must be <3>.
+1
drivers/dma/imx-sdma.c
··· 449 449 { .compatible = "fsl,imx51-sdma", .data = &sdma_imx51, }, 450 450 { .compatible = "fsl,imx35-sdma", .data = &sdma_imx35, }, 451 451 { .compatible = "fsl,imx31-sdma", .data = &sdma_imx31, }, 452 + { .compatible = "fsl,imx25-sdma", .data = &sdma_imx25, }, 452 453 { /* sentinel */ } 453 454 }; 454 455 MODULE_DEVICE_TABLE(of, sdma_dt_ids);