We are using legacy way of exposing dais and DMA configuration that requires separate driver modules for various ACP SOC with almost similar hw configuration. Moreover the legacy approach requires separate I2S and DMA module platform devices registration and need machine specific quirk to control various I2S endpoints. Add generic dai driver and platform driver for I2S controller on ACP hw block. This common framework can be used by various ACP platform devices that shares common specs. Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> Link: https://lore.kernel.org/r/20211019070938.5076-2-AjitKumar.Pandey@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
79 lines
2.2 KiB
Plaintext
79 lines
2.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config SND_SOC_AMD_ACP
|
|
tristate "AMD Audio Coprocessor support"
|
|
help
|
|
This option enables ACP DMA support on AMD platform.
|
|
|
|
config SND_SOC_AMD_CZ_DA7219MX98357_MACH
|
|
tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
|
|
select CLK_FIXED_FCH
|
|
select SND_SOC_DA7219
|
|
select SND_SOC_RT5682_I2C
|
|
select SND_SOC_MAX98357A
|
|
select SND_SOC_ADAU7002
|
|
select REGULATOR
|
|
depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
|
|
help
|
|
This option enables machine driver for DA7219, RT5682 and MAX9835.
|
|
|
|
config SND_SOC_AMD_CZ_RT5645_MACH
|
|
tristate "AMD CZ support for RT5645"
|
|
select SND_SOC_RT5645
|
|
depends on SND_SOC_AMD_ACP && I2C
|
|
help
|
|
This option enables machine driver for rt5645.
|
|
|
|
config SND_SOC_AMD_ACP3x
|
|
tristate "AMD Audio Coprocessor-v3.x support"
|
|
depends on X86 && PCI
|
|
help
|
|
This option enables ACP v3.x I2S support on AMD platform
|
|
|
|
config SND_SOC_AMD_RV_RT5682_MACH
|
|
tristate "AMD RV support for RT5682"
|
|
select CLK_FIXED_FCH
|
|
select SND_SOC_RT5682_I2C
|
|
select SND_SOC_MAX98357A
|
|
select SND_SOC_CROS_EC_CODEC
|
|
select I2C_CROS_EC_TUNNEL
|
|
select SND_SOC_RT1015
|
|
select SND_SOC_RT1015P
|
|
depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC
|
|
help
|
|
This option enables machine driver for RT5682 and MAX9835.
|
|
|
|
config SND_SOC_AMD_RENOIR
|
|
tristate "AMD Audio Coprocessor - Renoir support"
|
|
depends on X86 && PCI
|
|
help
|
|
This option enables ACP support for Renoir platform
|
|
|
|
config SND_SOC_AMD_RENOIR_MACH
|
|
tristate "AMD Renoir support for DMIC"
|
|
select SND_SOC_DMIC
|
|
depends on SND_SOC_AMD_RENOIR
|
|
help
|
|
This option enables machine driver for DMIC
|
|
|
|
config SND_SOC_AMD_ACP5x
|
|
tristate "AMD Audio Coprocessor-v5.x I2S support"
|
|
depends on X86 && PCI
|
|
help
|
|
This option enables ACP v5.x support on AMD platform
|
|
|
|
By enabling this flag build will trigger for ACP PCI driver,
|
|
ACP DMA driver, CPU DAI driver.
|
|
|
|
config SND_SOC_AMD_VANGOGH_MACH
|
|
tristate "AMD Vangogh support for NAU8821 CS35L41"
|
|
select SND_SOC_NAU8821
|
|
select SND_SOC_CS35L41_SPI
|
|
depends on SND_SOC_AMD_ACP5x && I2C
|
|
help
|
|
This option enables machine driver for Vangogh platform
|
|
using NAU8821 and CS35L41 codecs.
|
|
Say m if you have such a device.
|
|
If unsure select "N".
|
|
|
|
source "sound/soc/amd/acp/Kconfig"
|