From: Peter Ujfalusi <peter.ujfalusi@nokia.com>
To: ext Jarkko Nikula <jhnikula@gmail.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"broonie@opensource.wolfsonmicro.com"
<broonie@opensource.wolfsonmicro.com>,
"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>
Subject: Re: [PATCH] ASoC: omap-mcbsp: Add support for Left Justified format
Date: Fri, 19 Mar 2010 12:17:01 +0200 [thread overview]
Message-ID: <201003191217.01548.peter.ujfalusi@nokia.com> (raw)
In-Reply-To: <20100319121308.a43db48d.jhnikula@gmail.com>
On Friday 19 March 2010 12:13:08 ext Jarkko Nikula wrote:
> On Fri, 19 Mar 2010 12:00:03 +0200
>
> Peter Ujfalusi <peter.ujfalusi@nokia.com> wrote:
> > Now with:
> > /* Left justified */
> > fmt = SND_SOC_DAIFMT_LEFT_J |
> >
> > SND_SOC_DAIFMT_NB_IF |
> >
> > SND_SOC_DAIFMT_CBM_CFM;
> >
> > The data line has data when the FS is high (when FS is low, that data
> > line has 0). So this is correct Left Justified.
> >
> > At least it seams that McBSP is actually shifting out the data at the
> > correct place, when it is slave..
> >
> > Oh, and I can not explain why this is working, but I do trust on my
> > scope, and it shows me that it is correct :o
>
> For me it looks it's working because of NB_IF so try again with
> NB_NF :-)
Oh yes :D
You know, I was looking at the diff between the I2S and LEFT_J polarities, but
did not noticed NF vs IF...
Yes, you are right, I need to invert the FS in a similar fashion as we do with
the DSP modes.
Thanks for spotting it, I'll send the fixed patch with inverting the FS in case
of LEFT_J
--
Péter
prev parent reply other threads:[~2010-03-19 10:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 9:11 [PATCH] ASoC: omap-mcbsp: Add support for Left Justified format Peter Ujfalusi
2010-03-19 9:28 ` Jarkko Nikula
2010-03-19 10:00 ` Peter Ujfalusi
2010-03-19 10:13 ` Jarkko Nikula
2010-03-19 10:17 ` Peter Ujfalusi [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=201003191217.01548.peter.ujfalusi@nokia.com \
--to=peter.ujfalusi@nokia.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=jhnikula@gmail.com \
--cc=lrg@slimlogic.co.uk \
/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.