All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Doug Anderson <dianders@chromium.org>
Cc: Mark Brown <broonie@kernel.org>,
	Sangbeom Kim <sbkim73@samsung.com>,
	alsa-devel@alsa-project.org,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Vincent Palatin <vpalatin@chromium.org>,
	Javier Martinez Canillas <javier.martinez@collabora.co.uk>,
	Tomasz Figa <tomasz.figa@gmail.com>,
	Kukjin Kim <kgene@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.de>, Olof Johansson <olof@lixom.net>
Subject: Re: [PATCH 5/6] ASoC: samsung: Extend Snow driver to support max98089
Date: Thu, 19 Feb 2015 18:56:25 +0100	[thread overview]
Message-ID: <54E623C9.7070001@suse.de> (raw)
In-Reply-To: <CAD=FV=WkieDSSB_-a6DtH1hmq6SyZk4NAR-eXQ11hxUDMTvRfg@mail.gmail.com>

Am 19.02.2015 um 18:44 schrieb Doug Anderson:
> On Thu, Feb 19, 2015 at 1:44 AM, Mark Brown <broonie@kernel.org> wrote:
>> On Wed, Feb 18, 2015 at 07:25:58PM +0100, Andreas Färber wrote:
>>
>>>  static const struct of_device_id snow_of_match[] = {
>>> +     { .compatible = "google,snow-audio-max98089", },
>>>       { .compatible = "google,snow-audio-max98090", },
>>>       { .compatible = "google,snow-audio-max98091", },
>>>       { .compatible = "google,snow-audio-max98095", },
>>
>> Since we completely ignore the CODEC in the property might it not be
>> better to just add a plain old snow-audio compatible and bind to that,
>> that way we don't need these driver updates?  Just the "snow" bit should
>> be enough to know it's one of this class of machines.
> 
> I think what you're suggesting is that here we should add a new
> compatible string "google,snow-audio" instead of adding
> "google,snow-audio-max98089" here.  Then the sound node in the spring
> DTS would look like:
> 
>   compatible = "google,snow-audio-max98089", "google,snow-audio";

If we want to be specific just in case, was it an active decision not to
use "google,peach-pi[t]-audio-max98..."?

Again, either way works for me.

Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)

WARNING: multiple messages have this Message-ID (diff)
From: afaerber@suse.de (Andreas Färber)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/6] ASoC: samsung: Extend Snow driver to support max98089
Date: Thu, 19 Feb 2015 18:56:25 +0100	[thread overview]
Message-ID: <54E623C9.7070001@suse.de> (raw)
In-Reply-To: <CAD=FV=WkieDSSB_-a6DtH1hmq6SyZk4NAR-eXQ11hxUDMTvRfg@mail.gmail.com>

Am 19.02.2015 um 18:44 schrieb Doug Anderson:
> On Thu, Feb 19, 2015 at 1:44 AM, Mark Brown <broonie@kernel.org> wrote:
>> On Wed, Feb 18, 2015 at 07:25:58PM +0100, Andreas F?rber wrote:
>>
>>>  static const struct of_device_id snow_of_match[] = {
>>> +     { .compatible = "google,snow-audio-max98089", },
>>>       { .compatible = "google,snow-audio-max98090", },
>>>       { .compatible = "google,snow-audio-max98091", },
>>>       { .compatible = "google,snow-audio-max98095", },
>>
>> Since we completely ignore the CODEC in the property might it not be
>> better to just add a plain old snow-audio compatible and bind to that,
>> that way we don't need these driver updates?  Just the "snow" bit should
>> be enough to know it's one of this class of machines.
> 
> I think what you're suggesting is that here we should add a new
> compatible string "google,snow-audio" instead of adding
> "google,snow-audio-max98089" here.  Then the sound node in the spring
> DTS would look like:
> 
>   compatible = "google,snow-audio-max98089", "google,snow-audio";

If we want to be specific just in case, was it an active decision not to
use "google,peach-pi[t]-audio-max98..."?

Again, either way works for me.

Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG N?rnberg)

  reply	other threads:[~2015-02-19 17:56 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18 18:25 [PATCH 0/6] ASoC: samsung: Spring sound support Andreas Färber
2015-02-18 18:25 ` Andreas Färber
2015-02-18 18:25 ` Andreas Färber
2015-02-18 18:25 ` [PATCH 1/6] ASoC: max98088: Document DT bindings Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-19 13:55   ` Javier Martinez Canillas
2015-02-19 13:55     ` Javier Martinez Canillas
2015-02-19 14:13     ` Andreas Färber
2015-02-19 14:13       ` Andreas Färber
2015-02-19 17:48       ` Doug Anderson
2015-02-19 17:48         ` Doug Anderson
2015-02-19 18:40         ` Andreas Färber
2015-02-19 18:40           ` Andreas Färber
2015-02-19 18:54           ` Andreas Färber
2015-02-19 18:54             ` Andreas Färber
2015-02-19 20:48             ` Javier Martinez Canillas
2015-02-19 20:48               ` Javier Martinez Canillas
2015-02-20  0:36               ` Andreas Färber
2015-02-20  0:36                 ` Andreas Färber
2015-02-20 12:12                 ` Sylwester Nawrocki
2015-02-20 12:12                   ` Sylwester Nawrocki
2015-02-23 16:46                   ` Javier Martinez Canillas
2015-02-23 16:46                     ` Javier Martinez Canillas
2015-02-18 18:25 ` [PATCH 2/6] ASoC: max98088: Add " Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-18 19:08   ` Sergei Shtylyov
2015-02-18 19:08     ` Sergei Shtylyov
2015-02-18 19:17     ` Andreas Färber
2015-02-18 19:17       ` Andreas Färber
2015-02-19 19:18   ` [PATCH] ASoC: max98088: Add master clock handling Andreas Färber
2015-02-19 19:18     ` Andreas Färber
2015-02-20  3:27     ` [alsa-devel] " Tushar Behera
2015-02-20  3:27       ` Tushar Behera
2015-02-23  8:29       ` Javier Martinez Canillas
2015-02-23  8:29         ` Javier Martinez Canillas
     [not found]         ` <54EAE4DF.3040607-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
2015-02-23 12:23           ` Andreas Färber
2015-02-23 12:23             ` Andreas Färber
2015-02-23 12:23             ` Andreas Färber
2015-02-18 18:25 ` [PATCH 3/6] ARM: dts: Add max98089 to exynos5250-spring Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-18 18:25 ` [PATCH 4/6] ASoC: samsung: Document binding for max98089 based Snow driver Andreas Färber
2015-02-18 18:25   ` Andreas Färber
     [not found]   ` <1424283959-16289-5-git-send-email-afaerber-l3A5Bk7waGM@public.gmane.org>
2015-02-19  3:49     ` [alsa-devel] " Tushar Behera
2015-02-19  3:49       ` Tushar Behera
2015-02-19  3:49       ` Tushar Behera
2015-02-18 18:25 ` [PATCH 5/6] ASoC: samsung: Extend Snow driver to support max98089 Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-19  9:44   ` Mark Brown
2015-02-19  9:44     ` Mark Brown
2015-02-19  9:44     ` Mark Brown
2015-02-19 12:33     ` Andreas Färber
2015-02-19 12:33       ` Andreas Färber
     [not found]     ` <20150219094425.GB3198-bheZrs9scGb3/WHNxyQH9YN0K6Il/+VY@public.gmane.org>
2015-02-19 17:44       ` Doug Anderson
2015-02-19 17:44         ` Doug Anderson
2015-02-19 17:44         ` Doug Anderson
2015-02-19 17:56         ` Andreas Färber [this message]
2015-02-19 17:56           ` Andreas Färber
     [not found]           ` <54E623C9.7070001-l3A5Bk7waGM@public.gmane.org>
2015-02-19 19:01             ` Doug Anderson
2015-02-19 19:01               ` Doug Anderson
2015-02-19 19:01               ` Doug Anderson
2015-02-21  2:40         ` Mark Brown
2015-02-21  2:40           ` Mark Brown
2015-02-18 18:25 ` [PATCH 6/6] ARM: dts: Add sound support to exynos5250-spring Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-18 18:25   ` Andreas Färber
2015-02-19 14:05   ` Javier Martinez Canillas
2015-02-19 14:05     ` Javier Martinez Canillas

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=54E623C9.7070001@suse.de \
    --to=afaerber@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=javier.martinez@collabora.co.uk \
    --cc=kgene@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=perex@perex.cz \
    --cc=sbkim73@samsung.com \
    --cc=tiwai@suse.de \
    --cc=tomasz.figa@gmail.com \
    --cc=vpalatin@chromium.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 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.