[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190225164338.GB13898@sirena.org.uk>
Date: Mon, 25 Feb 2019 16:43:38 +0000
From: Mark Brown <broonie@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Sameer Pujar <spujar@...dia.com>, Takashi Iwai <tiwai@...e.de>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Olof Johansson <olof@...om.net>,
ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thierry Reding <treding@...dia.com>,
Liam Girdwood <lgirdwood@...il.com>,
DTML <devicetree@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>
Subject: Re: linux-next: manual merge of the sound tree with the arm-soc tree
On Mon, Feb 25, 2019 at 02:38:50PM +0100, Arnd Bergmann wrote:
> On Mon, Feb 25, 2019 at 12:24 PM Sameer Pujar <spujar@...dia.com> wrote:
> > The motivation for adding custom sound card name is following,
> > 1. When for boards, multiple HDMI/DP ports are exposed, it is sometimes
> > necessary to know the default port or any customization for that matter.
> > Audio userspace can distinguish based on the sound card names.
> > 2. Multiple sound cards can coexist for a platform, the indication of
> > particular
> > audio path is useful.
> > 3. It can help to customize audio paths.
> > Generally people use "*,model" property in DT to name the sound complex.
> > Ex: "samsung,model" [sound/soc/samsung/snow.c]
> > "rockchip,model" [sound/soc/rockchip/rockchip_rt5645.c]
It's also useful since sound cards can be electically identical but
prefer different configuration due to the plastics (eg, a smaller
speaker was fitted, different outputs have different labels or playing
the speaker at full volume causes some models to have unpleasant effects
while others handle it fine).
> My impression here is that the idea of passing a model name
> through DT is well established, but for new stuff, we probably
> want to standardize on plain "model" rather than "$vendor,model".
Yes.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists