All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@sirena.org.uk>
To: Daniel Ribeiro <drwyrm@gmail.com>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lrg@kernel.org>
Subject: Re: ASoC: pxa2xx-ssp
Date: Thu, 30 Oct 2008 12:06:34 +0000	[thread overview]
Message-ID: <20081030120634.GD5747@sirena.org.uk> (raw)
In-Reply-To: <1225366817.12583.28.camel@brutus>

On Thu, Oct 30, 2008 at 09:40:17AM -0200, Daniel Ribeiro wrote:

> 	Here are my test results for stereo S16_LE audio:

> 	set_tdm_slot(cpu_dai, 1, 2), SSCR0_Datasize(16):
> 	Only left channel works.

> 	set_tdm_slot(cpu_dai, 2, 2), SSCR0_Datasize(16):
> 	No I/O.

Could you expand on what you mean by "No I/O" here - do you get silent
output or does DMA not work either?

> 	set_tdm_slot(cpu_dai, 3, 2), SSCR0_Datasize(16):
> 	Only left channel works.

> 	set_tdm_slot(cpu_dai, 1, 1), SSCR0_Datasize(16) | SSCR0_EDSS:
> 	Both channels work.

Just a thought, but you should also be able to get things working by
adding a constraint on the format in your machine driver to force use of
32 bit - see things like the WM8903 driver for examples of how to this.
Ideally that shouldn't be required, though.

> 	On my board CLK and FRM are driven by the codec, pxa is slave. I have
> no specs for the codec, only a 2.4 kernel driver that works with
> (SSCR0_Datasize(16) | SSCR0_EDSS | SSCR0_SlotsPerFrm(1)).

Which codec is this?  Could you post the driver?

BTW, your mail client is doing some really strange indentation here
and indenting the first line of each paragraph by a tab which looks like
how some other clients do quotation.

  reply	other threads:[~2008-10-30 12:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24  0:54 ASoC: pxa2xx-ssp Daniel Ribeiro
2008-10-24 15:54 ` Liam Girdwood
2008-10-24 18:14   ` Mark Brown
2008-10-25  5:32   ` Daniel Ribeiro
2008-10-27 12:47     ` Mark Brown
2008-10-27 13:19       ` Daniel Ribeiro
2008-10-27 13:44         ` Mark Brown
2008-10-30 11:40           ` Daniel Ribeiro
2008-10-30 12:06             ` Mark Brown [this message]
2008-10-30 12:24               ` Daniel Ribeiro

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=20081030120634.GD5747@sirena.org.uk \
    --to=broonie@sirena.org.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=drwyrm@gmail.com \
    --cc=lrg@kernel.org \
    /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.