ASoC: mediatek: mt8186-rt5682: Modify machine driver for two DMICs case
authorAjye Huang <ajye_huang@compal.corp-partner.google.com>
Wed, 2 Nov 2022 12:59:36 +0000 (20:59 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 3 Nov 2022 13:25:49 +0000 (13:25 +0000)
commite14657c0f0022e02c8f25fa9c56afae3d3db9e77
tree47d695317e1fdb425c07461523fa40d9eb170e4c
parentf8639c385f7e8325b73c83a6ec0865f8c036e1ad
ASoC: mediatek: mt8186-rt5682: Modify machine driver for two DMICs case

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-gpios" property is used for a mixer control to switch
the dmic signal source between the Front and Rear Dmic.

Refer to this one as an example,
commit 3cfbf07c6d27
("ASoC: qcom: sc7180: Modify machine driver for 2mic")

Signed-off-by: Ajye Huang <ajye_huang@compal.corp-partner.google.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221102125936.2176748-3-ajye_huang@compal.corp-partner.google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c