[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YrHDh6lzdZXj7HcQ@sirena.org.uk>
Date: Tue, 21 Jun 2022 14:11:35 +0100
From: Mark Brown <broonie@...nel.org>
To: Pierluigi Passaro <pierluigi.p@...iscite.com>
Cc: Alifer Willians de Moraes <alifer.m@...iscite.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Eran Matityahu <eran.m@...iscite.com>,
"festevam@...il.com" <festevam@...il.com>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
"nicoleotsuka@...il.com" <nicoleotsuka@...il.com>,
"patches@...nsource.cirrus.com" <patches@...nsource.cirrus.com>,
"perex@...ex.cz" <perex@...ex.cz>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"shengjiu.wang@...il.com" <shengjiu.wang@...il.com>,
"tiwai@...e.com" <tiwai@...e.com>,
"Xiubo.Lee@...il.com" <Xiubo.Lee@...il.com>
Subject: Re: [PATCH 4/4] ASoC: wm8904: add DMIC support
On Mon, Jun 20, 2022 at 07:53:56PM +0000, Pierluigi Passaro wrote:
> > This means that DMICDAT2 is not usefully selectable at runtime, you've
> > got IN1 as digital and IN2 as analogue, so while the DMIC/ADC switch is
> > useful the DMIC1/2 switch is not.
> A customer could have the following working configuration
> - pin 1: DMIC_CLK
> - pin 24: LINEIN2R
> - pin 25: DMICDAT2
> - pin 26: LINEIN2L
> - pin 27: DMICDAT1
> with no shared pins: here there's the chance to select DMIC1, DMIC2 and
> LINEIN2 at runtime: I can't find a reason for a fixed behavior.
> Can you please elaborate ?
So in that case the driver should offer the DMIC1/2 selection. The
driver should be looking at which pins are wired up as DMICs and only
registering controls that can actually be used in the system based on
the pins that are wired up.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists