Re: [PATCH] Minor WM8580 enhancements.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 6, 2009 at 10:22 AM, MarkBrown<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:> On Sun, Sep 06, 2009 at 09:09:41AM +0900, jassi brar wrote:>>> +     case WM8580_MCLKRATIO:>> +     case WM8580_BCLKRATIO:>> There should be no need for machine drivers to configure any of this,> there's already enough information in the CODEC driver to figure out> this configuration without their help.Not all combinations of BFS and RFS are possible at all LRCLK valuesfor CPU_DAI, not for Samsung SoCs those I am aware of.So, i think the machine driver, as a link between Codec and Cpu Dai, has thejob of figuring out values for BFS and RFS that are compatible to_both_ the CPU and the CODEC.If CODEC driver, with disregard to the CPU, chooses values forBCLK/MCLK-Ratio that are incompatiblewith CPU, i don't know how that will work out.Please correct, if i am missing something.
> As mentioned previously this driver could use a bit of modernisation in> general, including with regard to clocking, which I had already been> planning to do as part of working on the SMDK boards.  As a result of> some work on another chip with a very similar clocking structure I have> a rough draft of what needs doing for the clocks already.  This is part> of why in my earlier mail I had recommended focusing on the CPU DAI> drivers for now - the lack of them is the biggest obstacle to getting> that work cleaned up and tested.I get your recommendation, but i am already in the middle ofsubmitting I2S machinedriver for 6410-WM8580 mainline and that is one of the tasks i am assigned.Ofcourse, after 6410-wm8580 driver is all up and available to ourusers, i can switch to AC97._______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux