From: Dan O'Donovan <dan@emutex.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Vinod Koul <vinod.koul@intel.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: CherryTrail SST firmware limitations query
Date: Thu, 28 Jan 2016 21:20:57 +0000 [thread overview]
Message-ID: <56AA8639.3030806@emutex.com> (raw)
In-Reply-To: <56AA5872.3020809@linux.intel.com>
On 01/28/2016 06:05 PM, Pierre-Louis Bossart wrote:
>
>>>> Are there any other limitations that I may need to be aware of in
>>>> the firmware (or in the SSP back-end driver) when attempting to
>>>> connect a new codec (TI PCM5122 initially) to SSP0.
>>> Bigger pole will be getting the firmware. Usually we support I2S and
>>> TDM
>>> modes
>> Thanks very much for your reply, Vinod! That probably explains why I'm
>> seeing clock signals from SSP0 but no audio data.
>> Can you tell me who I could contact to request SST firmware for CHT with
>> SSP0 support?
>
> This doesn't make sense to me. To the best of my knowledge the
> firmware does support SSP0 but in a limited configuration compared to
> SSP0. It should work for regular 48kHz audio in I2S mode but not in
> TDM mode. If you see clock signals on SSP0 and no data then it's
> probably because the DSP routing controls are incorrect.
> The best fix would be to use SSP2 really to get all the functionality.
>
Hi Pierre-Louis,
I've configured SSP0 for 48kHz audio in I2S mode, and I think the
routing is correct (but would appreciate confirmation):
[Stream:'Headset Playback' -> 'media1_in'] -> ['media0_out mix 0' ->
'media0_out' -> 'pcm0_in'] -> ['codec_out0 mix 0' -> 'codec_out0'] ->
[Stream:'ssp0 Tx']
To see the clocks on SSP0, I found that I had to replace 'SSP_CODEC' (3)
with 0 wherever it was used in sound/soc/intel/atom/sst-atom-controls.c
Unfortunately, our board is about to go into mass production so my
chances of getting it changed to SSP2 are very slim. Do you think it
might be possible for us to get SSP0 working for I2S audio?
prev parent reply other threads:[~2016-01-28 21:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <56A162A1.1070602@emutex.com>
2016-01-21 23:10 ` CherryTrail SST firmware limitations query Dan O'Donovan
2016-01-28 16:24 ` Vinod Koul
2016-01-28 17:23 ` Dan O'Donovan
2016-01-28 18:05 ` Pierre-Louis Bossart
2016-01-28 21:20 ` Dan O'Donovan [this message]
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=56AA8639.3030806@emutex.com \
--to=dan@emutex.com \
--cc=alsa-devel@alsa-project.org \
--cc=pierre-louis.bossart@linux.intel.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).