]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16645274c8ad971319e6775ed1e5a59b7d6359af
tree0941fbb83aa991f13cb74609f1f4347863735293
parenta655c7a91f01e475132949bc62b1c3e52bdfa6ef
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