xref: /openbmc/linux/sound/soc/amd/Kconfig (revision fb6c83ca)
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
26818ba93bSVijendar Mukundaconfig SND_SOC_AMD_ACP3x
27818ba93bSVijendar Mukunda	tristate "AMD Audio Coprocessor-v3.x support"
281c4fb245SVijendar Mukunda	depends on X86 && PCI
29818ba93bSVijendar Mukunda	help
30818ba93bSVijendar Mukunda	 This option enables ACP v3.x I2S support on AMD platform
316b8e4e7dSAkshu Agrawal
326b8e4e7dSAkshu Agrawalconfig SND_SOC_AMD_RV_RT5682_MACH
336b8e4e7dSAkshu Agrawal	tristate "AMD RV support for RT5682"
34281ddf62SAjit Kumar Pandey	select CLK_FIXED_FCH
35a50067d4SArnd Bergmann	select SND_SOC_RT5682_I2C
366b8e4e7dSAkshu Agrawal	select SND_SOC_MAX98357A
376b8e4e7dSAkshu Agrawal	select SND_SOC_CROS_EC_CODEC
386b8e4e7dSAkshu Agrawal	select I2C_CROS_EC_TUNNEL
39414e3cabSRavulapati Vishnu vardhan rao	select SND_SOC_RT1015
4026e33ed9SVijendar Mukunda	select SND_SOC_RT1015P
415c7dee44SJulian Braha	depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
426b8e4e7dSAkshu Agrawal	help
436b8e4e7dSAkshu Agrawal	 This option enables machine driver for RT5682 and MAX9835.
44c15f258eSVijendar Mukunda
45c15f258eSVijendar Mukundaconfig SND_SOC_AMD_RENOIR
46c15f258eSVijendar Mukunda	tristate "AMD Audio Coprocessor - Renoir support"
47c15f258eSVijendar Mukunda	depends on X86 && PCI
48c15f258eSVijendar Mukunda	help
49c15f258eSVijendar Mukunda	 This option enables ACP support for Renoir platform
501d377666SVijendar Mukunda
511d377666SVijendar Mukundaconfig SND_SOC_AMD_RENOIR_MACH
521d377666SVijendar Mukunda	tristate "AMD Renoir support for DMIC"
531d377666SVijendar Mukunda	select SND_SOC_DMIC
545c7dee44SJulian Braha	depends on SND_SOC_AMD_RENOIR && GPIOLIB
551d377666SVijendar Mukunda	help
561d377666SVijendar Mukunda	 This option enables machine driver for DMIC
5708413fcaSVijendar Mukunda
5808413fcaSVijendar Mukundaconfig SND_SOC_AMD_ACP5x
5908413fcaSVijendar Mukunda	tristate "AMD Audio Coprocessor-v5.x I2S support"
6008413fcaSVijendar Mukunda	depends on X86 && PCI
6108413fcaSVijendar Mukunda	help
6208413fcaSVijendar Mukunda	 This option enables ACP v5.x support on AMD platform
6308413fcaSVijendar Mukunda
6408413fcaSVijendar Mukunda	 By enabling this flag build will trigger for ACP PCI driver,
6508413fcaSVijendar Mukunda	 ACP DMA driver, CPU DAI driver.
6696792fddSVijendar Mukunda
6796792fddSVijendar Mukundaconfig SND_SOC_AMD_VANGOGH_MACH
6896792fddSVijendar Mukunda	tristate "AMD Vangogh support for NAU8821 CS35L41"
6996792fddSVijendar Mukunda	select SND_SOC_NAU8821
7096792fddSVijendar Mukunda	select SND_SOC_CS35L41_SPI
7119a628d8SLucas Tanure	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
7296792fddSVijendar Mukunda	help
7396792fddSVijendar Mukunda	  This option enables machine driver for Vangogh platform
7496792fddSVijendar Mukunda	  using NAU8821 and CS35L41 codecs.
7596792fddSVijendar Mukunda	  Say m if you have such a device.
7696792fddSVijendar Mukunda	  If unsure select "N".
7789728d97SVijendar Mukunda
7889728d97SVijendar Mukundaconfig SND_SOC_AMD_ACP6x
7989728d97SVijendar Mukunda	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
8089728d97SVijendar Mukunda	depends on X86 && PCI
8189728d97SVijendar Mukunda	help
8289728d97SVijendar Mukunda	  This option enables Audio Coprocessor i.e ACP v6.x support on
8389728d97SVijendar Mukunda	  AMD Yellow Carp platform. By enabling this flag build will be
8489728d97SVijendar Mukunda	  triggered for ACP PCI driver, ACP PDM DMA driver.
8589728d97SVijendar Mukunda	  Say m if you have such a device.
8689728d97SVijendar Mukunda	  If unsure select "N".
87a80d7edaSVijendar Mukunda
88a80d7edaSVijendar Mukundaconfig SND_SOC_AMD_YC_MACH
89a80d7edaSVijendar Mukunda	tristate "AMD YC support for DMIC"
90a80d7edaSVijendar Mukunda	select SND_SOC_DMIC
91a80d7edaSVijendar Mukunda	depends on SND_SOC_AMD_ACP6x
92a80d7edaSVijendar Mukunda	help
93a80d7edaSVijendar Mukunda	  This option enables machine driver for Yellow Carp platform
94a80d7edaSVijendar Mukunda	  using dmic. ACP IP has PDM Decoder block with DMA controller.
95a80d7edaSVijendar Mukunda	  DMIC can be connected directly to ACP IP.
96a80d7edaSVijendar Mukunda	  Say m if you have such a device.
97a80d7edaSVijendar Mukunda	  If unsure select "N".
98e8e8c4a5SMark Brown
99f1bdd8d3SAjit Kumar Pandeyconfig SND_AMD_ACP_CONFIG
100f1bdd8d3SAjit Kumar Pandey	tristate "AMD ACP configuration selection"
101*fb6c83caSPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
102f1bdd8d3SAjit Kumar Pandey	help
103f1bdd8d3SAjit Kumar Pandey	 This option adds an auto detection to determine which ACP
104f1bdd8d3SAjit Kumar Pandey	 driver modules to use
105f1bdd8d3SAjit Kumar Pandey
106623621a9SAjit Kumar Pandeysource "sound/soc/amd/acp/Kconfig"
107