From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Michael Pogrebinsky <michael.pogrebinsky@daqri.com>,
alsa-devel@alsa-project.org
Cc: John Hawley <john.hawley@intel.com>
Subject: Re: ASoC Sound Driver I2S over LPE, Intel Baytrail SoC. MinnowBoard Max
Date: Tue, 10 Nov 2015 12:53:56 -0600 [thread overview]
Message-ID: <56423D44.60505@linux.intel.com> (raw)
In-Reply-To: <CAGOuWmvw39beNdaLgdBGXk9rNWw9vwbFfQNSBw50KLYpGa_AHA@mail.gmail.com>
Hi Michael,
> I have the MinnowBoard Max with Baytrail Atom (ValleyView) SoC.
> I'm attempting to write an Alsa (ASoC) driver for my sound card to
> work with this board.
> PCM should work through I2S for this sound card I have.
Good to hear. There are several folks in Intel trying to enable I2S over
the low-speed connector for 3rd party enablement or help 'makers'. This
is still work-in-progress but we can already share some elements of
information based on our own experience:
1. the default 0.82 firmware doesn't enable the I2S pins, we are
currently using a DSDT override to configure them.
2. the audio codec needs to be registered as a child of I2C6 (it's
typically I2C2 on regular baytrail platforms). this is also part of the
DSDT override.
3. since we need to support multiple audio codecs, we'd like to add a
mechanism to add information in the SSDT table to be able to boot the
same kernel and select the right drivers. Alternatively you will have to
use the DSDT override method until this mechanism is ready.
4. there is no MCLK on existing MinnowBoards, so your codec will have to
drive its PLL from the BLCK. newer versions of the MinnowBoard Turbot
will support an MCLK but they are in pre-production stage and to the
best of my knowledge not available commercially yet.
5. to get the best long-term support you really want to use the newer
DPCM-based driver/firmware for e.g 24-bit, TDM and deep-buffer support.
We have a set of patches that have not been published upstream yet but
if you are interested you can look at my github
https://github.com/plbossart/sound/tree/minnow-v4.3-24bit. In theory if
you take this code and change the DSDT to support your _HID just like it
was done for the rt5651 the drivers should load and register a sound card.
Disclaimer: there is no official support on this branch and
rebases/fixes may happen at any time. the code will be submitted
upstream when ready.
If you provide more information on which codec you are trying to link to
we can help further.
-Pierre
next prev parent reply other threads:[~2015-11-10 18:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-10 1:31 ASoC Sound Driver I2S over LPE, Intel Baytrail SoC. MinnowBoard Max Michael Pogrebinsky
2015-11-10 18:53 ` Pierre-Louis Bossart [this message]
2015-11-10 19:59 ` Michael Pogrebinsky
2015-11-11 2:18 ` Michael Pogrebinsky
2015-11-11 15:50 ` Pierre-Louis Bossart
2015-11-11 17:53 ` Michael Pogrebinsky
2017-10-02 16:14 ` Nicola Lunghi
2017-10-02 18:22 ` 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=56423D44.60505@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=john.hawley@intel.com \
--cc=michael.pogrebinsky@daqri.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).