[PATCH v3 09/11] ASoC: fsl: remove the fatal error checking on codec-handle
Shawn Guo
shawn.guo at linaro.org
Thu Mar 15 23:53:05 EDT 2012
On Fri, Mar 16, 2012 at 03:44:43AM +0000, Tabi Timur-B04825 wrote:
> Shawn Guo wrote:
> >> >
> > Something like "fsl-pcm-audio", but different from "fsl-pcm-audio"
> > will be instantiated as a hardware block by device tree,
> > "imx-pcm-audio" is pretty much like a ASoC wrapper for calling
> > dmaengine driver. So there is no hardware block presenting this
> > "device" in device tree, and we need to instantiate it from cpu DAI
> > driver as Mark suggested.
>
> Wait, is this the DMA controller? Because on PowerPC, we have device tree
> nodes for the DMA controller. Why don't you have one on i.MX?
>
We do have a DMA controller node for IMX.
sdma at 83fb0000 {
compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
reg = <0x83fb0000 0x4000>;
interrupts = <6>;
};
But it's instantiated as a dmaengine device backed by dmaengine driver
drivers/dma/imx-dma.c. "imx-pcm-audio" will just be an ASoC dmaengine
client using dmaengine API.
--
Regards,
Shawn
More information about the linux-arm-kernel
mailing list