162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig SND_SOC_AMD_ACP
362306a36Sopenharmony_ci	tristate "AMD Audio Coprocessor support"
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	 This option enables ACP DMA support on AMD platform.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciconfig SND_SOC_AMD_CZ_DA7219MX98357_MACH
862306a36Sopenharmony_ci	tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
962306a36Sopenharmony_ci	select CLK_FIXED_FCH
1062306a36Sopenharmony_ci	select SND_SOC_DA7219
1162306a36Sopenharmony_ci	select SND_SOC_RT5682_I2C
1262306a36Sopenharmony_ci	select SND_SOC_MAX98357A
1362306a36Sopenharmony_ci	select SND_SOC_ADAU7002
1462306a36Sopenharmony_ci	select REGULATOR
1562306a36Sopenharmony_ci	depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	 This option enables machine driver for DA7219, RT5682 and MAX9835.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig SND_SOC_AMD_CZ_RT5645_MACH
2062306a36Sopenharmony_ci	tristate "AMD CZ support for RT5645"
2162306a36Sopenharmony_ci	select SND_SOC_RT5645
2262306a36Sopenharmony_ci	depends on SND_SOC_AMD_ACP && I2C
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	 This option enables machine driver for rt5645.
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ciconfig SND_SOC_AMD_ST_ES8336_MACH
2762306a36Sopenharmony_ci	tristate "AMD ST support for ES8336"
2862306a36Sopenharmony_ci	select SND_SOC_ACPI if ACPI
2962306a36Sopenharmony_ci	select SND_SOC_ES8316
3062306a36Sopenharmony_ci	depends on SND_SOC_AMD_ACP && ACPI
3162306a36Sopenharmony_ci	depends on I2C
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	 This option enables machine driver for Jadeite platform
3462306a36Sopenharmony_ci	 using es8336 codec.
3562306a36Sopenharmony_ci	 Say m if you have such a device.
3662306a36Sopenharmony_ci	 If unsure select "N".
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig SND_SOC_AMD_ACP3x
3962306a36Sopenharmony_ci	tristate "AMD Audio Coprocessor-v3.x support"
4062306a36Sopenharmony_ci	depends on X86 && PCI
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	 This option enables ACP v3.x I2S support on AMD platform
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ciconfig SND_SOC_AMD_RV_RT5682_MACH
4562306a36Sopenharmony_ci	tristate "AMD RV support for RT5682"
4662306a36Sopenharmony_ci	select CLK_FIXED_FCH
4762306a36Sopenharmony_ci	select SND_SOC_RT5682_I2C
4862306a36Sopenharmony_ci	select SND_SOC_MAX98357A
4962306a36Sopenharmony_ci	select SND_SOC_CROS_EC_CODEC
5062306a36Sopenharmony_ci	select I2C_CROS_EC_TUNNEL
5162306a36Sopenharmony_ci	select SND_SOC_RT1015
5262306a36Sopenharmony_ci	select SND_SOC_RT1015P
5362306a36Sopenharmony_ci	depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
5462306a36Sopenharmony_ci	help
5562306a36Sopenharmony_ci	 This option enables machine driver for RT5682 and MAX9835.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciconfig SND_SOC_AMD_RENOIR
5862306a36Sopenharmony_ci	tristate "AMD Audio Coprocessor - Renoir support"
5962306a36Sopenharmony_ci	select SND_AMD_ACP_CONFIG
6062306a36Sopenharmony_ci	depends on X86 && PCI
6162306a36Sopenharmony_ci	help
6262306a36Sopenharmony_ci	 This option enables ACP support for Renoir platform
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciconfig SND_SOC_AMD_RENOIR_MACH
6562306a36Sopenharmony_ci	tristate "AMD Renoir support for DMIC"
6662306a36Sopenharmony_ci	select SND_SOC_DMIC
6762306a36Sopenharmony_ci	depends on SND_SOC_AMD_RENOIR && GPIOLIB
6862306a36Sopenharmony_ci	help
6962306a36Sopenharmony_ci	 This option enables machine driver for DMIC
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ciconfig SND_SOC_AMD_ACP5x
7262306a36Sopenharmony_ci	tristate "AMD Audio Coprocessor-v5.x I2S support"
7362306a36Sopenharmony_ci	depends on X86 && PCI
7462306a36Sopenharmony_ci	select SND_AMD_ACP_CONFIG
7562306a36Sopenharmony_ci	help
7662306a36Sopenharmony_ci	 This option enables ACP v5.x support on AMD platform
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ci	 By enabling this flag build will trigger for ACP PCI driver,
7962306a36Sopenharmony_ci	 ACP DMA driver, CPU DAI driver.
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciconfig SND_SOC_AMD_VANGOGH_MACH
8262306a36Sopenharmony_ci	tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388"
8362306a36Sopenharmony_ci	select SND_SOC_NAU8821
8462306a36Sopenharmony_ci	select SND_SOC_CS35L41_SPI
8562306a36Sopenharmony_ci	select SND_SOC_MAX98388
8662306a36Sopenharmony_ci	select SND_AMD_ACP_CONFIG
8762306a36Sopenharmony_ci	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
8862306a36Sopenharmony_ci	help
8962306a36Sopenharmony_ci	  This option enables machine driver for Vangogh platform
9062306a36Sopenharmony_ci	  using NAU8821 and either CS35L41 or MAX98388 codecs.
9162306a36Sopenharmony_ci	  Say m if you have such a device.
9262306a36Sopenharmony_ci	  If unsure select "N".
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ciconfig SND_SOC_AMD_ACP6x
9562306a36Sopenharmony_ci	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
9662306a36Sopenharmony_ci	select SND_AMD_ACP_CONFIG
9762306a36Sopenharmony_ci	depends on X86 && PCI
9862306a36Sopenharmony_ci	help
9962306a36Sopenharmony_ci	  This option enables Audio Coprocessor i.e ACP v6.x support on
10062306a36Sopenharmony_ci	  AMD Yellow Carp platform. By enabling this flag build will be
10162306a36Sopenharmony_ci	  triggered for ACP PCI driver, ACP PDM DMA driver.
10262306a36Sopenharmony_ci	  Say m if you have such a device.
10362306a36Sopenharmony_ci	  If unsure select "N".
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ciconfig SND_SOC_AMD_YC_MACH
10662306a36Sopenharmony_ci	tristate "AMD YC support for DMIC"
10762306a36Sopenharmony_ci	select SND_SOC_DMIC
10862306a36Sopenharmony_ci	depends on SND_SOC_AMD_ACP6x
10962306a36Sopenharmony_ci	help
11062306a36Sopenharmony_ci	  This option enables machine driver for Yellow Carp platform
11162306a36Sopenharmony_ci	  using dmic. ACP IP has PDM Decoder block with DMA controller.
11262306a36Sopenharmony_ci	  DMIC can be connected directly to ACP IP.
11362306a36Sopenharmony_ci	  Say m if you have such a device.
11462306a36Sopenharmony_ci	  If unsure select "N".
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ciconfig SND_AMD_ACP_CONFIG
11762306a36Sopenharmony_ci	tristate "AMD ACP configuration selection"
11862306a36Sopenharmony_ci	select SND_SOC_ACPI if ACPI
11962306a36Sopenharmony_ci	help
12062306a36Sopenharmony_ci	 This option adds an auto detection to determine which ACP
12162306a36Sopenharmony_ci	 driver modules to use
12262306a36Sopenharmony_ci
12362306a36Sopenharmony_cisource "sound/soc/amd/acp/Kconfig"
12462306a36Sopenharmony_ci
12562306a36Sopenharmony_ciconfig SND_SOC_AMD_RPL_ACP6x
12662306a36Sopenharmony_ci        tristate "AMD Audio Coprocessor-v6.2 RPL support"
12762306a36Sopenharmony_ci        depends on X86 && PCI
12862306a36Sopenharmony_ci        help
12962306a36Sopenharmony_ci          This option enables Audio Coprocessor i.e. ACP v6.2 support on
13062306a36Sopenharmony_ci          AMD RPL platform. By enabling this flag build will be
13162306a36Sopenharmony_ci          triggered for ACP PCI driver.
13262306a36Sopenharmony_ci          Say m if you have such a device.
13362306a36Sopenharmony_ci          If unsure select "N".
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciconfig SND_SOC_AMD_PS
13662306a36Sopenharmony_ci        tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support"
13762306a36Sopenharmony_ci	select SND_AMD_ACP_CONFIG
13862306a36Sopenharmony_ci        depends on X86 && PCI && ACPI
13962306a36Sopenharmony_ci        help
14062306a36Sopenharmony_ci          This option enables Audio Coprocessor i.e ACP v6.3 support on
14162306a36Sopenharmony_ci          AMD Pink sardine platform. By enabling this flag build will be
14262306a36Sopenharmony_ci          triggered for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire
14362306a36Sopenharmony_ci          DMA driver.
14462306a36Sopenharmony_ci          Say m if you have such a device.
14562306a36Sopenharmony_ci          If unsure select "N".
14662306a36Sopenharmony_ci
14762306a36Sopenharmony_ciconfig SND_SOC_AMD_PS_MACH
14862306a36Sopenharmony_ci        tristate "AMD PINK SARDINE support for DMIC"
14962306a36Sopenharmony_ci        select SND_SOC_DMIC
15062306a36Sopenharmony_ci        depends on SND_SOC_AMD_PS
15162306a36Sopenharmony_ci        help
15262306a36Sopenharmony_ci          This option enables machine driver for Pink Sardine platform
15362306a36Sopenharmony_ci          using dmic. ACP IP has PDM Decoder block with DMA controller.
15462306a36Sopenharmony_ci          DMIC can be connected directly to ACP IP.
15562306a36Sopenharmony_ci          Say m if you have such a device.
15662306a36Sopenharmony_ci          If unsure select "N".
157