From: Lars-Peter Clausen <lars@metafoo.de>
To: Kuninori Morimoto <kuninori.morimoto.gx@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>,
Simon <horms@verge.net.au>, Liam Girdwood <lgirdwood@gmail.com>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Subject: Re: Question about SND_SOC_DAIFMT_xB_xF
Date: Thu, 31 Jul 2014 09:42:01 +0200 [thread overview]
Message-ID: <53D9F349.8030903@metafoo.de> (raw)
In-Reply-To: <87oaw6uw0r.wl%kuninori.morimoto.gx@gmail.com>
On 07/31/2014 04:01 AM, Kuninori Morimoto wrote:
> r example, if some data format requests that data is sent from "rising edge",
> but HW send data from "falling edge" in default setting.
> This case, HW should use inverted edge.
> Then, should HW send it by SND_SOC_DAIFMT_NB_NF (= based on required format) ?
> or SND_SOC_DAIFMT_NB_IF (= based on default HW behavior) ?
The same set of settings passed to snd_soc_dai_set_fmt() must for all
drivers result in the same waveforms. Otherwise interoperability is pretty
hard to archive. This means the clock invert settings are always be relative
to the selected DAI format (I2S, LJ, RJ, ...). The hardware default of the
specific IP that the driver was written for does not matter in this case.
next prev parent reply other threads:[~2014-07-31 7:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-31 2:01 Question about SND_SOC_DAIFMT_xB_xF Kuninori Morimoto
2014-07-31 7:42 ` Lars-Peter Clausen [this message]
2014-07-31 7:45 ` Kuninori Morimoto
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=53D9F349.8030903@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=horms@verge.net.au \
--cc=kuninori.morimoto.gx@gmail.com \
--cc=kuninori.morimoto.gx@renesas.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.