xref: /openbmc/linux/sound/soc/amd/Kconfig (revision f94fa840)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27c31335aSMaruthi Srinivas Bayyavarapuconfig SND_SOC_AMD_ACP
37c31335aSMaruthi Srinivas Bayyavarapu	tristate "AMD Audio Coprocessor support"
47c31335aSMaruthi Srinivas Bayyavarapu	help
57c31335aSMaruthi Srinivas Bayyavarapu	 This option enables ACP DMA support on AMD platform.
6566a1847SAkshu Agrawal
7608a300fSAkshu Agrawalconfig SND_SOC_AMD_CZ_DA7219MX98357_MACH
87e71b48fSVijendar Mukunda	tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
9281ddf62SAjit Kumar Pandey	select CLK_FIXED_FCH
10608a300fSAkshu Agrawal	select SND_SOC_DA7219
117e71b48fSVijendar Mukunda	select SND_SOC_RT5682_I2C
12608a300fSAkshu Agrawal	select SND_SOC_MAX98357A
13608a300fSAkshu Agrawal	select SND_SOC_ADAU7002
14c183fec1SAkshu Agrawal	select REGULATOR
15d463ceadSVijendar Mukunda	depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
16608a300fSAkshu Agrawal	help
177e71b48fSVijendar Mukunda	 This option enables machine driver for DA7219, RT5682 and MAX9835.
18608a300fSAkshu Agrawal
19566a1847SAkshu Agrawalconfig SND_SOC_AMD_CZ_RT5645_MACH
20566a1847SAkshu Agrawal	tristate "AMD CZ support for RT5645"
21566a1847SAkshu Agrawal	select SND_SOC_RT5645
22566a1847SAkshu Agrawal	depends on SND_SOC_AMD_ACP && I2C
23566a1847SAkshu Agrawal	help
24566a1847SAkshu Agrawal	 This option enables machine driver for rt5645.
25818ba93bSVijendar Mukunda
26*f94fa840SVijendar Mukundaconfig SND_SOC_AMD_ST_ES8336_MACH
27*f94fa840SVijendar Mukunda	tristate "AMD ST support for ES8336"
28*f94fa840SVijendar Mukunda	select SND_SOC_ACPI
29*f94fa840SVijendar Mukunda	select SND_SOC_ES8316
30*f94fa840SVijendar Mukunda	depends on SND_SOC_AMD_ACP
31*f94fa840SVijendar Mukunda	depends on ACPI || COMPILE_TEST
32*f94fa840SVijendar Mukunda	depends on I2C || COMPILE_TEST
33*f94fa840SVijendar Mukunda	help
34*f94fa840SVijendar Mukunda	 This option enables machine driver for Jadeite platform
35*f94fa840SVijendar Mukunda	 using es8336 codec.
36*f94fa840SVijendar Mukunda	 Say m if you have such a device.
37*f94fa840SVijendar Mukunda	 If unsure select "N".
38*f94fa840SVijendar Mukunda
39818ba93bSVijendar Mukundaconfig SND_SOC_AMD_ACP3x
40818ba93bSVijendar Mukunda	tristate "AMD Audio Coprocessor-v3.x support"
411c4fb245SVijendar Mukunda	depends on X86 && PCI
42818ba93bSVijendar Mukunda	help
43818ba93bSVijendar Mukunda	 This option enables ACP v3.x I2S support on AMD platform
446b8e4e7dSAkshu Agrawal
456b8e4e7dSAkshu Agrawalconfig SND_SOC_AMD_RV_RT5682_MACH
466b8e4e7dSAkshu Agrawal	tristate "AMD RV support for RT5682"
47281ddf62SAjit Kumar Pandey	select CLK_FIXED_FCH
48a50067d4SArnd Bergmann	select SND_SOC_RT5682_I2C
496b8e4e7dSAkshu Agrawal	select SND_SOC_MAX98357A
506b8e4e7dSAkshu Agrawal	select SND_SOC_CROS_EC_CODEC
516b8e4e7dSAkshu Agrawal	select I2C_CROS_EC_TUNNEL
52414e3cabSRavulapati Vishnu vardhan rao	select SND_SOC_RT1015
5326e33ed9SVijendar Mukunda	select SND_SOC_RT1015P
545c7dee44SJulian Braha	depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
556b8e4e7dSAkshu Agrawal	help
566b8e4e7dSAkshu Agrawal	 This option enables machine driver for RT5682 and MAX9835.
57c15f258eSVijendar Mukunda
58c15f258eSVijendar Mukundaconfig SND_SOC_AMD_RENOIR
59c15f258eSVijendar Mukunda	tristate "AMD Audio Coprocessor - Renoir support"
602d7d9f36SAjit Kumar Pandey	select SND_AMD_ACP_CONFIG
61c15f258eSVijendar Mukunda	depends on X86 && PCI
62c15f258eSVijendar Mukunda	help
63c15f258eSVijendar Mukunda	 This option enables ACP support for Renoir platform
641d377666SVijendar Mukunda
651d377666SVijendar Mukundaconfig SND_SOC_AMD_RENOIR_MACH
661d377666SVijendar Mukunda	tristate "AMD Renoir support for DMIC"
671d377666SVijendar Mukunda	select SND_SOC_DMIC
685c7dee44SJulian Braha	depends on SND_SOC_AMD_RENOIR && GPIOLIB
691d377666SVijendar Mukunda	help
701d377666SVijendar Mukunda	 This option enables machine driver for DMIC
7108413fcaSVijendar Mukunda
7208413fcaSVijendar Mukundaconfig SND_SOC_AMD_ACP5x
7308413fcaSVijendar Mukunda	tristate "AMD Audio Coprocessor-v5.x I2S support"
7408413fcaSVijendar Mukunda	depends on X86 && PCI
7508413fcaSVijendar Mukunda	help
7608413fcaSVijendar Mukunda	 This option enables ACP v5.x support on AMD platform
7708413fcaSVijendar Mukunda
7808413fcaSVijendar Mukunda	 By enabling this flag build will trigger for ACP PCI driver,
7908413fcaSVijendar Mukunda	 ACP DMA driver, CPU DAI driver.
8096792fddSVijendar Mukunda
8196792fddSVijendar Mukundaconfig SND_SOC_AMD_VANGOGH_MACH
8296792fddSVijendar Mukunda	tristate "AMD Vangogh support for NAU8821 CS35L41"
8396792fddSVijendar Mukunda	select SND_SOC_NAU8821
8496792fddSVijendar Mukunda	select SND_SOC_CS35L41_SPI
8519a628d8SLucas Tanure	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
8696792fddSVijendar Mukunda	help
8796792fddSVijendar Mukunda	  This option enables machine driver for Vangogh platform
8896792fddSVijendar Mukunda	  using NAU8821 and CS35L41 codecs.
8996792fddSVijendar Mukunda	  Say m if you have such a device.
9096792fddSVijendar Mukunda	  If unsure select "N".
9189728d97SVijendar Mukunda
9289728d97SVijendar Mukundaconfig SND_SOC_AMD_ACP6x
9389728d97SVijendar Mukunda	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
9489728d97SVijendar Mukunda	depends on X86 && PCI
9589728d97SVijendar Mukunda	help
9689728d97SVijendar Mukunda	  This option enables Audio Coprocessor i.e ACP v6.x support on
9789728d97SVijendar Mukunda	  AMD Yellow Carp platform. By enabling this flag build will be
9889728d97SVijendar Mukunda	  triggered for ACP PCI driver, ACP PDM DMA driver.
9989728d97SVijendar Mukunda	  Say m if you have such a device.
10089728d97SVijendar Mukunda	  If unsure select "N".
101a80d7edaSVijendar Mukunda
102a80d7edaSVijendar Mukundaconfig SND_SOC_AMD_YC_MACH
103a80d7edaSVijendar Mukunda	tristate "AMD YC support for DMIC"
104a80d7edaSVijendar Mukunda	select SND_SOC_DMIC
105a80d7edaSVijendar Mukunda	depends on SND_SOC_AMD_ACP6x
106a80d7edaSVijendar Mukunda	help
107a80d7edaSVijendar Mukunda	  This option enables machine driver for Yellow Carp platform
108a80d7edaSVijendar Mukunda	  using dmic. ACP IP has PDM Decoder block with DMA controller.
109a80d7edaSVijendar Mukunda	  DMIC can be connected directly to ACP IP.
110a80d7edaSVijendar Mukunda	  Say m if you have such a device.
111a80d7edaSVijendar Mukunda	  If unsure select "N".
112e8e8c4a5SMark Brown
113f1bdd8d3SAjit Kumar Pandeyconfig SND_AMD_ACP_CONFIG
114f1bdd8d3SAjit Kumar Pandey	tristate "AMD ACP configuration selection"
115fb6c83caSPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
116f1bdd8d3SAjit Kumar Pandey	help
117f1bdd8d3SAjit Kumar Pandey	 This option adds an auto detection to determine which ACP
118f1bdd8d3SAjit Kumar Pandey	 driver modules to use
119f1bdd8d3SAjit Kumar Pandey
120623621a9SAjit Kumar Pandeysource "sound/soc/amd/acp/Kconfig"
121