All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 3/4] ASoC: simple-card: add multi-CODECs in DT
Date: Mon, 10 Nov 2014 10:05:26 +0100	[thread overview]
Message-ID: <20141110100526.76790f55@armhf> (raw)
In-Reply-To: <3271244.uSgBKXChSS@wuerfel>

On Mon, 10 Nov 2014 09:39:57 +0100
Arnd Bergmann <arnd@arndb.de> wrote:

> On Sunday 09 November 2014 12:22:21 Jean-Francois Moine wrote:
> > -- sound-dai                            : phandle and port of CPU/CODEC
> > +either
> > +  - sound-dai                          : phandle and port of CPU/CODEC
> > +or
> > +  - sound-dais                         : list of phandle and port of CODECs
> 
> Is it really necessary to change the property name here? I woudl think
> that you can make it all work more consistently with just the existing
> 'sound-dai' property, just extend it to allow multiple codecs

This was an idea from Benoit Cousson:

 "Something like that:

   sound-dais = <&spdif_codec 1>, <&hdmi 0>;

 That being said, it will require changing the name with a plural form,"

As I coded it, both names are accepted for a single or many codecs.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

WARNING: multiple messages have this Message-ID (diff)
From: Jean-Francois Moine <moinejf-GANU6spQydw@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: Liam Girdwood <lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v4 3/4] ASoC: simple-card: add multi-CODECs in DT
Date: Mon, 10 Nov 2014 10:05:26 +0100	[thread overview]
Message-ID: <20141110100526.76790f55@armhf> (raw)
In-Reply-To: <3271244.uSgBKXChSS@wuerfel>

On Mon, 10 Nov 2014 09:39:57 +0100
Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org> wrote:

> On Sunday 09 November 2014 12:22:21 Jean-Francois Moine wrote:
> > -- sound-dai                            : phandle and port of CPU/CODEC
> > +either
> > +  - sound-dai                          : phandle and port of CPU/CODEC
> > +or
> > +  - sound-dais                         : list of phandle and port of CODECs
> 
> Is it really necessary to change the property name here? I woudl think
> that you can make it all work more consistently with just the existing
> 'sound-dai' property, just extend it to allow multiple codecs

This was an idea from Benoit Cousson:

 "Something like that:

   sound-dais = <&spdif_codec 1>, <&hdmi 0>;

 That being said, it will require changing the name with a plural form,"

As I coded it, both names are accepted for a single or many codecs.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2014-11-10  9:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10  7:48 [PATCH v4 0/4] ASoC: simple-card: Add multi-CODEC support Jean-Francois Moine
2014-11-10  7:48 ` Jean-Francois Moine
2014-11-08 19:06 ` [PATCH v4 1/4] ASoC: core: add multi-codec support in DT Jean-Francois Moine
2014-11-09  9:12 ` [PATCH v4 2/4] ASoC: simple-card: Remove useless function argument Jean-Francois Moine
2014-11-09 11:22 ` [PATCH v4 3/4] ASoC: simple-card: add multi-CODECs in DT Jean-Francois Moine
2014-11-10  8:39   ` Arnd Bergmann
2014-11-10  8:39     ` Arnd Bergmann
2014-11-10  9:05     ` Jean-Francois Moine [this message]
2014-11-10  9:05       ` Jean-Francois Moine
2014-11-10  9:04       ` Arnd Bergmann
2014-11-09 11:26 ` [PATCH v4 4/4] ASoC: simple-card: Remove useless check Jean-Francois Moine

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=20141110100526.76790f55@armhf \
    --to=moinejf@free.fr \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.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.