From: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: vinod.koul@intel.com, mika.westerberg@linux.intel.com,
alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com,
Paulo Sergio <pstglia@gmail.com>
Subject: Re: WM5102 - Help to make baytrail machine driver work
Date: Wed, 10 May 2017 09:21:23 +0100 [thread overview]
Message-ID: <20170510082123.GK1594@localhost.localdomain> (raw)
In-Reply-To: <6615d589-9124-5f71-0d6d-e634caf2fdaa@linux.intel.com>
On Tue, May 09, 2017 at 09:57:14AM -0500, Pierre-Louis Bossart wrote:
> 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.
If you really want one I can ask about see if we can send you one
over?
Thanks,
Charles
next prev parent reply other threads:[~2017-05-10 8:20 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAJcYhpZU-6_AO_Gye1VttuvOP0Z2=wLuWGCOP7tBWc6DsuLU1g@mail.gmail.com>
2016-05-05 3:15 ` WM5102 - Help to make baytrail machine driver work Pierre-Louis Bossart
2016-05-07 3:40 ` Paulo Sergio
2016-05-05 9:11 ` Charles Keepax
2016-05-07 3:19 ` Paulo Sergio
2016-05-08 11:44 ` Paulo Sergio
2016-05-09 14:22 ` Charles Keepax
2016-05-13 2:54 ` Paulo Sergio
2016-05-13 11:41 ` Charles Keepax
2016-05-14 23:14 ` Paulo Sergio
2016-05-15 10:13 ` Charles Keepax
[not found] ` <CAJcYhpaFiDrMYmbS1cUWL=ix-L2crjnNekpCXjjdHVThwp2Xag@mail.gmail.com>
[not found] ` <20170508082422.GJ1594@localhost.localdomain>
2017-05-09 0:57 ` Paulo Sergio
2017-05-09 3:15 ` Pierre-Louis Bossart
2017-05-09 14:45 ` Paulo Sergio
2017-05-09 14:57 ` Pierre-Louis Bossart
2017-05-10 8:21 ` Charles Keepax [this message]
2017-05-13 5:11 ` Paulo Sergio
2017-05-15 12:02 ` Charles Keepax
2017-05-15 12:44 ` Pierre-Louis Bossart
2017-05-15 13:10 ` Paulo Sergio
2017-05-18 12:49 ` Paulo Sergio
2017-05-18 14:58 ` Pierre-Louis Bossart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170510082123.GK1594@localhost.localdomain \
--to=ckeepax@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=mika.westerberg@linux.intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=pstglia@gmail.com \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).