From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: [PATCH] ASoC: tlv320aic3x: Correct S24_3LE support
Date: Fri, 13 Dec 2013 15:57:24 +0200 [thread overview]
Message-ID: <52AB1244.5010506@ti.com> (raw)
In-Reply-To: <20131213133444.GZ11044@sirena.org.uk>
On 12/13/2013 03:34 PM, Mark Brown wrote:
> On Fri, Dec 13, 2013 at 03:29:33PM +0200, Peter Ujfalusi wrote:
>> On 12/13/2013 03:04 PM, Mark Brown wrote:
>
>>> This should be adding the case for the new format rather than replacing
>>> the old one shouldn't it? They ought to turn out the same on the AIF so
>>> the CODECs shouldn't care about the difference, ideally the core would
>>> hide the difference from them.
>
>> Not really since the codec has only field to specify the data format. The
>> codec can not support S24_LE (S24_LE is basically S32_LE msbits==24) since we
>> can not say to the codec to ignore the 8bit over the 24 bits of real data.
>> In case of S24_3LE the I2S bus will have 24 clocks/per channel which can not
>> be used to stream S24_LE either.
>
> No, I'd expect the wire behaviour to be identical for any 24 bit samples
> (that's certainly what most drivers are written for). The memory layout
> differences shouldn't be visible to CODEC drivers.
We can not change the HW... for example:
twl4030/twl5030: 32 clock cycle/channel and 24 bits used out of that.
tlv320aic3106: 24 clock cycle/channel for 24 bit audio.
The wire behavior is different and this need to be known by the CPU side as well.
--
Péter
next prev parent reply other threads:[~2013-12-13 13:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-13 12:58 [PATCH] ASoC: tlv320aic3x: Correct S24_3LE support Peter Ujfalusi
2013-12-13 13:04 ` Mark Brown
2013-12-13 13:29 ` Peter Ujfalusi
2013-12-13 13:34 ` Mark Brown
2013-12-13 13:41 ` Takashi Iwai
2013-12-13 13:50 ` Mark Brown
2013-12-13 13:57 ` Peter Ujfalusi [this message]
2013-12-13 14:18 ` Mark Brown
2013-12-13 14:31 ` Peter Ujfalusi
2013-12-13 18:29 ` Mark Brown
2013-12-13 13:42 ` Lars-Peter Clausen
2013-12-13 13:49 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2014-06-06 13:05 Peter Ujfalusi
2014-06-09 20:24 ` Mark Brown
2014-06-23 13:01 ` Peter Ujfalusi
2014-06-23 15:18 ` Mark Brown
2014-06-24 6:23 ` Peter Ujfalusi
2014-06-24 9:18 ` Mark Brown
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=52AB1244.5010506@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.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).