On 5/9/17 9:45 AM, Paulo Sergio wrote:
How are you setting up the I2S? As in which side is master, what format are you using? Also do you see any over/underflow error, does the system complain with "Error playing sample".
The only part where I2S is explicity used on machine driver is this setting on backend DAI (SSP0-Codec)
dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS,
And after setting the routes using routes mentioned on [3], I have no errors, but no sound
Note: Based on Lenovo code, I concluded this device uses ssp0, so I'm using a fw file "fw_sst_0f28_ssp0.bin" posted another thread. Could use the hacks used on kernel 4.11, but as I'm still testing with kernel 4.4, using this fw would make things easier
nope. I don't know how many issues we've fixed since 4.4 but it's not a matter of just swapping out one firmware with another. You'll have better luck with plain vanilla 4.11 + regular firmware and restarting modifying one of the latest machine drivers.
Ok, I'll use 4.11 and post the results later
Should I have any special care about I2S other than setting the format um backend DAI? Some module should be loaded?
Things to look for - SSP routing: has to be SSP0 on baytrail-CR - number of slots: 2 or 4. if 4 then use DSP mode - DAI format - MCLK
If I can get my hands on a WM5102 eval board I might be able to help with a MinnowMax board.