[alsa-devel] [PATCH 0/3] Tegra: Add internal speaker support
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed Jan 19 12:30:42 CET 2011
On Tue, Jan 18, 2011 at 04:43:33PM -0800, Colin Cross wrote:
> On Tue, Jan 18, 2011 at 4:29 PM, Stephen Warren <swarren at nvidia.com> wrote:
> > I'll go read up on gpiolib some more to see how those API-level numbers get
> > mapped to a specific controller and GPIO number.
> They usually come in through platform data from the board file. See
> Olof's recent Tegra sdhci patches for an example. Tegra GPIO names
> are defined in arch/arm/mach-tegra/gpio-names.h.
Yup, and gpiolib also supports automatic assignment of numbers if you
specify -1 as the base number though that's a lot less useful within the
kernel.
More information about the Alsa-devel
mailing list