OSDN Git Service

ASoC: amd: Add support for enabling DMIC on acp6x via _DSD
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 11 Apr 2022 13:45:32 +0000 (08:45 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 11 Apr 2022 18:18:06 +0000 (19:18 +0100)
commit5426f506b58424f8ab2cd741bacf4b18b5fe578e
tree7b86c2433c2dd4546fb3c87fb865df030ce54873
parente521f087780d07731e8c950f2f34d08358c86bc9
ASoC: amd: Add support for enabling DMIC on acp6x via _DSD

Currently the acp6x machine driver requires a hardcoded list of systems
that physically have DMIC connected.

To avoid having to continually add to an evergrowing list of systems add
support for a _DSD that can advertise this.

OEMs can add this _DSD to their BIOS under the ACP device to automatically
add the device to this driver without requiring any driver modifications.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220411134532.13538-3-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c