[alsa-devel] [PATCH 6/9] ARM: DaVinci: ASoC: Adds McASP clock support for TI DM646X processor

Mark Brown broonie at sirena.org.uk
Thu Mar 19 20:09:43 CET 2009

On Thu, Mar 19, 2009 at 10:38:03AM -0700, Kevin Hilman wrote:

>     CLK(NULL, "mcasp0" &mcasp0_clk),
>     CLK(NULL, "mcasp1", &mcasp1_clk),


> The platform code can do a clk_get(<physcial name>) and pass that
> clk in with the platform data.

There should be no need to do this - the McASP DAI driver can just be a
regular platform device, probe as normal and register the DAI with the
ASoC core once it has done so.  This is, in fact, the preferred method
for doing this though support for htis is recent so only one CPU DAI
driver does it so far.

More information about the Alsa-devel mailing list