Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: alsa-devel@alsa-project.org
Cc: Peter Wurmsdobler <peter@wurmsdobler.org>
Subject: Re: Digital Audio Multiplexer of the i.MX27 processor
Date: Wed, 28 May 2008 10:42:53 +0200	[thread overview]
Message-ID: <200805281042.54104.jbe@pengutronix.de> (raw)
In-Reply-To: <483C9330.6040402@wurmsdobler.org>

Peter,

On Wednesday 28 May 2008 01:03, Peter Wurmsdobler wrote:
> > does anybody understand the DAM unit in the i.MX27 processor?
>
> Not that I really understand the AUDMUX unit, but the current Freescale
> BSP (19 Dec 2007) contains an audio/alsa driver which makes use of the
> AUDMUX, or DAM, in order to route audio streams to/from the mx27's SSI1
> and SSI2 to the PMIC's SSIs. PMIC is a the power management and audio
> chip which is on the ADS board. Unfortunately I do not have the file
> with me, it is called ./sound/arm/mxc-pmic-alsa.c I believe.
>
> I will be back in office next week, maybe we can have a chat then, if it
> is not too late.

Yes, I know this file. And I'm using the code from this file to setup my DAM 
hardware. But I'm not sure if I connect the right ports in the right way to 
each other. My external PMIC is connected to the processor's SSI1_* pins. And 
it provides i2s clock and frame signal. But the internal SSI unit does not 
send any data, so I believe it does not get these signals from the PMIC.

BTW: The last instruction in the DAM code in sound/arm/mxc-pmic-alsa.c is:
  writel(AUD_MUX_CONF, IO_ADDRESS(AUDMUX_BASE_ADDR) + 0x38);
but the last valid register in the DAM unit is at AUDMUX_BASE_ADDR + 0x1C....

Juergen
-- 
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9

  reply	other threads:[~2008-05-28  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27 15:13 Digital Audio Multiplexer of the i.MX27 processor Juergen Beisert
2008-05-27 23:03 ` Peter Wurmsdobler
2008-05-28  8:42   ` Juergen Beisert [this message]
2008-05-30  8:57 ` Aditya Shankar
2008-05-30  9:17   ` Juergen Beisert

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=200805281042.54104.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=peter@wurmsdobler.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox