19 Mar
2009
19 Mar
'09
8:09 p.m.
On Thu, Mar 19, 2009 at 10:38:03AM -0700, Kevin Hilman wrote:
CLK(NULL, "mcasp0" &mcasp0_clk), CLK(NULL, "mcasp1", &mcasp1_clk),
Exactly.
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.