Linux Tegra architecture development
 help / color / mirror / Atom feed
From: Tomeu Vizoso <tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Javier Martinez Canillas
	<javier.martinez-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>,
	sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org
Subject: Re: [PATCH] conf/ucm: GoogleNyan: Add configuration
Date: Wed, 14 Jan 2015 18:15:53 +0100	[thread overview]
Message-ID: <54B6A449.7040007@collabora.com> (raw)
In-Reply-To: <54B6A3E9.8010703-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

On 01/14/2015 06:14 PM, Stephen Warren wrote:
> On 01/14/2015 09:57 AM, Tomeu Vizoso wrote:
>> Taken from the ChromeOS sources, this configuration should apply to all
>> Nyan boards from Google, so far HP Chromebook 14 (nyan-blaze) and Acer
>> Chromebook 13 (nyan-big).
> 
> How does user-space correlate the files added here:
> 
>>   src/conf/ucm/GoogleNyan/GoogleNyan.conf |  5 ++
>>   src/conf/ucm/GoogleNyan/HiFi.conf       | 83 +++++++++++++++++++++++++++++++++
>>   src/conf/ucm/GoogleNyan/Makefile.am     |  4 ++
> 
> ... with the (DT-provided) ASoC card name, or DT compatible value:
> 
>          sound {
>                  compatible = "nvidia,tegra-audio-max98090-nyan-big",
>                               "nvidia,tegra-audio-max98090";
>                  nvidia,model = "Acer Chromebook 13";
> 
> I would have expected either the file/directory names in this repo to 
> match the ASoC card name that the kernel exposes (derived from the model 
> string above), or that the files here contain some kind of indexable 
> string that contains the kernel's ASoC card name. Is that not how the 
> UCM repo usually works?
> 
> Otherwise, generic distro UCM init scripts aren't possible; UCM setup 
> scripts would need a huge table mapping ASoC card name to UCM repo 
> file/directory name, which doesn't seem scalable.

Yeah, a corresponding patch is coming to the kernel soon.

Regards,

Tomeu

  parent reply	other threads:[~2015-01-14 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 16:57 [PATCH] conf/ucm: GoogleNyan: Add configuration Tomeu Vizoso
     [not found] ` <1421254638-14599-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-14 17:14   ` Stephen Warren
     [not found]     ` <54B6A3E9.8010703-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-01-14 17:15       ` Tomeu Vizoso [this message]
2015-01-14 17:41   ` Dylan Reid

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=54B6A449.7040007@collabora.com \
    --to=tomeu.vizoso-zgy8ohtn/8qb+jhodadfcq@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=javier.martinez-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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