From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Stephen Warren <swarren@nvidia.com>
Cc: Julian Scheel <julian@jusst.de>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"Liam Girdwood (lrg@ti.com)" <lrg@ti.com>
Subject: Re: tegra_wm8903 dapm_nc_pins
Date: Wed, 19 Oct 2011 17:34:43 +0100 [thread overview]
Message-ID: <20111019163443.GB4275@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <74CDBE0F657A3D45AFBB94109FB122FF173D51BE29@HQMAIL01.nvidia.com>
On Wed, Oct 19, 2011 at 09:12:46AM -0700, Stephen Warren wrote:
> I believe the idea was to keep as much as possible of the audio related
> information in the audio drivers rather than in board files. The GPIO
> IDs are in platform data since the audio driver can't reach into the
> mach-tegra gpio_names header since it's not public.
Well, it's also that the model the stack has is that all this stuff is
going to be in board files.
> What I'd like to see in the nc_pins case is the DAPM core automatically
> perform these calls based on which pins the codec has which aren't
> mentioned in card->dapm_routes; I haven't investigated whether that's
> actually possible without breaking unrelated boards though.
This wouldn't be too hard to do but needs to be entirely optional,
just wiring the CODEC driver in should be enough. Keeping things
powered down is an optimisation, getting audio out is critical
functionality.
> If you were to move the nc_pins list into platform data, you'd end up
> wanting to move the snd_soc_dapm_route tables too, and perhaps even
> tegra_wm8903_controls[] and maybe more.
> Eventually, I see most of these tables moving into device-tree, with
> the only thing hard-coded into tegra_wm8903.c being all the clock and
> format setup code.
Until someone decides to connect MCLK somewhere else...
next prev parent reply other threads:[~2011-10-19 16:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 15:29 tegra_wm8903 dapm_nc_pins Julian Scheel
2011-10-19 16:12 ` Stephen Warren
2011-10-19 16:34 ` Mark Brown [this message]
2011-10-20 5:27 ` Julian Scheel
2011-10-20 15:53 ` Stephen Warren
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=20111019163443.GB4275@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=julian@jusst.de \
--cc=lrg@ti.com \
--cc=swarren@nvidia.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 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.