Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: max98090/91: adding DAPM routing for digital output for max98091

Each route connects two widgets, so in this patch, the widget "AIFOUT2L"
audio interface output left secondary mic and "AIFOUT2R" audio interface
output right secondary mic is connected to "SHDN" and also to "SDIEN".
Route with "SHDN" as source is required because "SHDN" controls the
shutdown and must be ON for codec to operate. Therefore, "AIFOUT2L" and
"AIFOUT2R" must be active when "SHDN" is ON. Route with "SDIEN"
is required as serial interface logic must be enabled, that means
serial port must be enabled, which ensures I2S/TDM clocks and serial data
lines are running. This is also the case with audio interface outputs
"AIFOUTL" and "AIFOUTR" in primary mic.

Signed-off-by: Sharique Mohammad <sharq0406@gmail.com>
Link: https://patch.msgid.link/20251023142044.2247989-1-sharq0406@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Sharique Mohammad and committed by
Mark Brown
2528c15f 310bf433

+5
+5
sound/soc/codecs/max98090.c
··· 1436 1436 {"DMIC4", NULL, "DMIC4_ENA"}, 1437 1437 {"DMIC3", NULL, "DMIC34_HPF"}, 1438 1438 {"DMIC4", NULL, "DMIC34_HPF"}, 1439 + 1440 + {"AIFOUT2L", NULL, "SHDN"}, 1441 + {"AIFOUT2R", NULL, "SHDN"}, 1442 + {"AIFOUT2L", NULL, "SDOEN"}, 1443 + {"AIFOUT2R", NULL, "SDOEN"}, 1439 1444 }; 1440 1445 1441 1446 static int max98090_add_widgets(struct snd_soc_component *component)