16 Sep
2011
16 Sep
'11
6:47 p.m.
On Fri, Sep 16, 2011 at 11:33:38AM -0500, Timur Tabi wrote:
Mark Brown wrote:
Machine drivers are currently best placed to set constraints if the clocking is limited.
But how is the machine driver supposed to know what those sample rates are? It would need to know how which dividers that codec uses. That would mean that the machine driver has to be hard-codec with information on the internals of the codec.
You'd have to look at the CODEC datasheet and figure out what it's capable of given the clocks you're able to give it. Depending on the flexibility you've got and power you're willing to spend there may be no need to do anything as you may be able to generate any clocks the device may need (for example with devices that have FLLs).