Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Geoffrey Wossum <geoffrey@pager.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: AT32AP7000 (AVR32) + WM8510
Date: Thu, 22 May 2008 23:48:41 +0100	[thread overview]
Message-ID: <20080522224840.GA31117@sirena.org.uk> (raw)
In-Reply-To: <200805221457.41748.geoffrey@pager.net>

On Thu, May 22, 2008 at 02:57:41PM -0500, Geoffrey Wossum wrote:

> Looks like it should work to me.  Note that I do hear a pop from the speaker 
> the first time I try to play a file.  Here's a dump of the registers while 
> I'm trying to play a file with aplay.  I'm combing through them right now to 
> see if I can find anything that looks off.

Yes, it looks like the output paths are OK from the DAPM point of view.

> Wish I had known about this register dump earlier today.  I added code to do 
> the same thing with debugfs.

I'll have a look at it at some point, but not right now :) .  I should
also have asked you if you could post your machine driver - if you'd
rather post it off-list that'd be fine.

> > I'll need to check this out in more detail - the WM8510 is a mono codec
> > so it can only play one channel.

> Not sure about this either, since I can't get it to play anything yet.  But it 
> looks from the WM8510 data sheet that even though the WM8510 is mono, it 
> expects a stereo I2S stream, and just ignores one of the channels based on 
> the value of DACLRSWAP register bit.

Indeed, the main thing I need to check is to confirm what is normally
done with mono channels - in any case, the codec should at least make
some noise providing the rates are correct and there's stereo data.

I take it the digital audio looks fine with a scope - clocks at the
correct rate, sensible looking data and so on?

  reply	other threads:[~2008-05-22 22:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-22 16:20 AT32AP7000 (AVR32) + WM8510 Geoffrey Wossum
2008-05-22 19:46 ` Mark Brown
2008-05-22 19:57   ` Geoffrey Wossum
2008-05-22 22:48     ` Mark Brown [this message]
2008-05-22 23:11       ` Geoffrey Wossum
2008-05-23 22:56         ` Geoffrey Wossum
2008-05-26  9:45           ` Mark Brown
2008-05-27 15:16             ` Geoffrey Wossum
2008-05-27 18:45               ` Mark Brown
2008-05-27 22:26                 ` Geoffrey Wossum

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=20080522224840.GA31117@sirena.org.uk \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=geoffrey@pager.net \
    /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