From: Timur Tabi <timur@freescale.com>
To: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Question on snd_soc_dai_link
Date: Tue, 29 May 2007 09:36:03 -0500 [thread overview]
Message-ID: <465C3A53.10902@freescale.com> (raw)
In-Reply-To: <1180448356.5816.145.camel@a10072.wolfsonmicro.main>
Liam Girdwood wrote:
> This maps the WM8731 codec to an imaginary PowerPC 5200 based machine
> using PSC3 for I2S audio. It would be preferable to only probe the
> parent device and not the children, although I'm not sure if this is
> possible using this model. ASoC works on other SoC by being a platform
> device.
Yeah, getting a cross-platform driver to work on PowerPC and non-PowerPC architectures is ... difficult.
>
> Please let me know if I'm way off here. The device tree looks like an
> elegant solution for machine initialisation/description.
I'm going to study this and run it by others in my department (we handle all the Linux architectural issues for Freescale SOCs). I can tell you that you're very close, but it will require some tweaks. Off the top of my head, I see a few problems:
1) The I2C addresses are specified in a separate I2C node
2) I don't know much about the 5200, but on my part, the DMA operations are provided by the I2S device. We don't use the generic DMA engine.
3) The register mapping for the I2S device normally occurs inside the SOC node, not here. We'd probably need to use some kind of cross-link to represent that.
next prev parent reply other threads:[~2007-05-29 14:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-25 21:55 Question on snd_soc_dai_link Timur Tabi
2007-05-28 12:19 ` Liam Girdwood
2007-05-29 1:36 ` Timur Tabi
2007-05-29 14:19 ` Liam Girdwood
2007-05-29 14:36 ` Timur Tabi [this message]
2007-05-29 14:51 ` Liam Girdwood
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=465C3A53.10902@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=lg@opensource.wolfsonmicro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).