diff options
author | Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> | 2021-10-19 12:39:34 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-20 11:12:53 +0100 |
commit | d4c750f2c7d44b5b39e197308bc3f510205bba4b (patch) | |
tree | 88f4e34b53a85a6e71dc9bc1081fcce3be95ad52 /sound/soc/amd/acp/Kconfig | |
parent | e646b51f5dd5e92bcb159cb932aa540451ac803f (diff) | |
download | linux-stable-d4c750f2c7d44b5b39e197308bc3f510205bba4b.tar.gz linux-stable-d4c750f2c7d44b5b39e197308bc3f510205bba4b.tar.bz2 linux-stable-d4c750f2c7d44b5b39e197308bc3f510205bba4b.zip |
ASoC: amd: acp: Add generic machine driver support for ACP cards
We have machines with different audio endpoints configurations
across various distributions. We need to support multiple sound
cards for different combinations of I2S instance and codecs hw.
Now we also need to support SOF-DSP endpoints based sound cards.
All such card combinations slightly differs in terms of machine
ops callback. This patch adds ACP generic machine driver module
that exposes method to create ACP cards dai links and define new
ops for audio endpoints configurations. Initially we have added
dailink support for RT5682 and RT1019 codec connection with ACP
I2S_SP instance. We will add newer codecs in this module to use
this for all AMD's ACP block sound cards supports in future.
Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20211019070938.5076-5-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp/Kconfig')
-rw-r--r-- | sound/soc/amd/acp/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/amd/acp/Kconfig b/sound/soc/amd/acp/Kconfig index e01822ff0694..7ce43e393643 100644 --- a/sound/soc/amd/acp/Kconfig +++ b/sound/soc/amd/acp/Kconfig @@ -25,3 +25,13 @@ config SND_AMD_ASOC_RENOIR depends on X86 && PCI help This option enables Renoir I2S support on AMD platform. + +config SND_SOC_AMD_MACH_COMMON + tristate + select CLK_FIXED_FCH + select SND_SOC_RT5682_I2C + select SND_SOC_DMIC + select SND_SOC_RT1019 + depends on X86 && PCI && I2C + help + This option enables common Machine driver module for ACP. |