diff options
author | Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> | 2022-01-17 14:58:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-28 18:59:31 +0300 |
commit | 5a9f07a41522e1d16f2a43b1843e266434df0866 (patch) | |
tree | 0941fbb83aa991f13cb74609f1f4347863735293 /sound/soc/amd/mach-config.h | |
parent | def6dc25070342be2eb220cb1650a286ee29734d (diff) | |
download | linux-5a9f07a41522e1d16f2a43b1843e266434df0866.tar.xz |
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>
Diffstat (limited to 'sound/soc/amd/mach-config.h')
-rw-r--r-- | sound/soc/amd/mach-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/mach-config.h b/sound/soc/amd/mach-config.h index feb3756d9ac4..0a54567a2841 100644 --- a/sound/soc/amd/mach-config.h +++ b/sound/soc/amd/mach-config.h @@ -14,6 +14,7 @@ #define FLAG_AMD_SOF BIT(1) #define FLAG_AMD_SOF_ONLY_DMIC BIT(2) +#define FLAG_AMD_LEGACY BIT(3) #define ACP_PCI_DEV_ID 0x15E2 |