[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a7275ee4-c6ec-c0e8-c49d-dec9ca367d9f@linux.intel.com>
Date: Fri, 28 Oct 2022 13:44:37 +0200
From: Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>
To: Ajye Huang <ajye_huang@...pal.corp-partner.google.com>,
linux-kernel@...r.kernel.org
Cc: robh@...nel.org, alsa-devel@...a-project.org,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
devicetree@...r.kernel.org,
angelogioacchino.delregno@...labora.corp-partner.google.com,
Shengjiu Wang <shengjiu.wang@....com>,
Liam Girdwood <lgirdwood@...il.com>,
Takashi Iwai <tiwai@...e.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Brown <broonie@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
Subject: Re: [PATCH v1 2/2] ASoC: dmic: Add optional dmic selection
On 10/28/2022 12:24 PM, Ajye Huang wrote:
> Having two DMICs, a front DMIC and a rear DMIC,
> but only host audio input AUX port0 is used for these two Dmics.
> A "dmic_sel-gpios" property is used for a mixer control to switch
> the dmic signal source between the Front and Rear Dmic.
>
> usage: amixer -c0 cset name='Dmic Mux' 'FrontMic'
> usage: amixer -c0 cset name='Dmic Mux' 'RearMic'
>
> Refer to this one as an example,
> commit 3cfbf07c6d27
> ("ASoC: qcom: sc7180: Modify machine driver for 2mic")
>
> Signed-off-by: Ajye Huang <ajye_huang@...pal.corp-partner.google.com>
> ---
I'm very suspicious of this patchset. As it is you add kcontrol which
won't take effect on most platforms making use of DMIC. It feels to me
that it is something you want to handle on machine driver side instead.
Powered by blists - more mailing lists