On Monday 13 July 2009, Kevin Hilman wrote:
> grepping in sound/soc for clk_get, all the users of clk_get have
> hard-coded clock names, which is exactly what we do not want for
> DaVinci.
>
> The problem we have on DaVinci is trying to use the same driver across
> multiple SoCs that may have different clock names. Or have multiple
> instances of the driver with different clock names on the same SoC.
I've lost something here ...
c = clk_get(device, "logical_name");
should work regardless of the physical name used by the clock(s)
on a given platform, yes?
The last time I looked at ASoc, the problem I recall was that
the device wasn't a standard platform device; it had to be an
ASoC-created thing. And that's where the problems came from:
there was no hook make sure the lookup above returned the right
clock, since the device was unknown to the clock tree.
Either that should help clarify something, or else it should
sow more confusion. I hope the former. ;)
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source