ASoC: amd: acp: Add generic PCI driver module for ACP device
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Mon, 17 Jan 2022 11:58:51 +0000 (17:28 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 15:59:31 +0000 (15:59 +0000)
commit5a9f07a41522e1d16f2a43b1843e266434df0866
tree0941fbb83aa991f13cb74609f1f4347863735293
parentdef6dc25070342be2eb220cb1650a286ee29734d
ASoC: amd: acp: Add generic PCI driver module for ACP device

Audio Co-processor or ACP IP block on AMD's SOC is connected via
PCI bus interface, hence needs to be register as a PCI device. We
have same PCI device ID across multiple SOC's but with different
revision id for PCI hw. Add a generic PCI driver module for ACP
that registers ACP as a PCI device and also register a platform
device based on pci revision id. Any SOC's specific configuration
for ACP block will be done in platform driver probe. We have added
an initial support for ACP revision id 3 or ACP3X device.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20220117115854.455995-4-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/Kconfig
sound/soc/amd/acp/Makefile
sound/soc/amd/acp/acp-pci.c [new file with mode: 0644]
sound/soc/amd/acp/amd.h
sound/soc/amd/mach-config.h