From: David Brownell <david-b@pacbell.net>
To: "Lopez Cruz, Misael" <x0052729@ti.com>
Cc: "me@felipebalbi.com" <me@felipebalbi.com>,
Mark Brown <broonie@sirena.org.uk>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Configuring a TWL GPIO pin as an interrupt
Date: Sun, 22 Feb 2009 23:26:39 -0800 [thread overview]
Message-ID: <200902222326.39232.david-b@pacbell.net> (raw)
In-Reply-To: <2C7D3DF36ADFFC479B44490D912B616705D61AF093@dlee07.ent.ti.com>
On Sunday 22 February 2009, Lopez Cruz, Misael wrote:
> In the particular case of ALSA SoC, could the machine/board driver
> be a better place to handle all GPIO/IRQ configuration? That driver
> also contains only board specific code.
It'd be best of the ASoC stuff could sit with all the other
board-specfic init code, in arch/*/mach-*/board-*.c files,
but I understand those interfaces are not yet stable enough
to support that ... that's why they're in sound/soc/*/*.c
files instead.
In any case ... everything I said still stands. If you're
doing this for ASoC, you'll need some way to pass data
to the ASoC board-specific code from normal board-specific
code, since some of the relevant config data is not static.
The current ASoC model seems to be biased towards static
configurations. Notice how it's got to create its own
platform_device nodes ... it can't easily use the standard
mechanisms for associating platform_data or archdata with
those nodes, ditto clocks.
- dave
next prev parent reply other threads:[~2009-02-23 7:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-21 2:27 Configuring a TWL GPIO pin as an interrupt Lopez Cruz, Misael
2009-02-21 2:39 ` Felipe Balbi
2009-02-21 5:12 ` David Brownell
2009-02-23 6:07 ` Lopez Cruz, Misael
2009-02-23 7:26 ` David Brownell [this message]
2009-02-23 22:11 ` Lopez Cruz, Misael
2009-02-23 22:20 ` Mark Brown
2009-02-24 17:37 ` Lopez Cruz, Misael
2009-02-24 18:46 ` Mark Brown
2009-02-23 14:17 ` Mark Brown
2009-02-21 10:33 ` Koen Kooi
2009-02-22 20:35 ` Mark Brown
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=200902222326.39232.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=broonie@sirena.org.uk \
--cc=linux-omap@vger.kernel.org \
--cc=me@felipebalbi.com \
--cc=x0052729@ti.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.