linux/sound/soc/amd
Ajit Kumar Pandey f1bdd8d385
ASoC: amd: Add module to determine ACP configuration
ACP hw block configuration differs across various distributions
and hence it's required to register different drivers module for
distributions. For now we support three ACP drivers:

* ACP without SOF use case
* ACP with SOF use case
* ACP with SOF use case for DMIC and non SOF for I2S endpoints

As all above driver registers with common PCI ID for ACP hw block
we need code to determine ACP configuration and auto select driver
module. This patch expose function that return configuration flag
based on dmi checks for a system. ACP driver module probe register
platform device based on such configuration flag to avoid conflict
with other ACP drivers probed for same PCI ID.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20211117093734.17407-8-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-11-17 17:35:50 +00:00
..
acp ASoC: amd: acp: select CONFIG_SND_SOC_ACPI 2021-10-29 14:57:16 +01:00
include
raven Merge some cs42l42 patches into asoc-5.15 2021-08-06 01:46:24 +01:00
renoir Merge some cs42l42 patches into asoc-5.15 2021-08-06 01:46:24 +01:00
vangogh ASoC: amd: enable vangogh platform machine driver build 2021-10-15 16:10:55 +01:00
yc ASoC: amd: enable Yellow Carp platform machine driver build 2021-10-18 21:11:47 +01:00
acp3x-rt5682-max9836.c ASoC: amd: Use dev_probe_err helper 2021-07-23 14:52:50 +01:00
acp-config.c ASoC: amd: Add module to determine ACP configuration 2021-11-17 17:35:50 +00:00
acp-da7219-max98357a.c ASoC: amd: acp: declare and add prefix to 'bt_uart_enable' symbol 2021-09-13 01:59:03 +01:00
acp-pcm-dma.c ASoC: amd: acp: declare and add prefix to 'bt_uart_enable' symbol 2021-09-13 01:59:03 +01:00
acp-rt5645.c ASoC: amd: acp-rt5645: Constify static snd_soc_ops 2021-10-05 13:09:58 +01:00
acp.h ASoC: amd: acp: declare and add prefix to 'bt_uart_enable' symbol 2021-09-13 01:59:03 +01:00
Kconfig ASoC: amd: Add module to determine ACP configuration 2021-11-17 17:35:50 +00:00
mach-config.h ASoC: amd: Add module to determine ACP configuration 2021-11-17 17:35:50 +00:00
Makefile ASoC: amd: Add module to determine ACP configuration 2021-11-17 17:35:50 +00:00