xref: /openbmc/linux/sound/soc/amd/Kconfig (revision bddcfb08)
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
26f94fa840SVijendar Mukundaconfig SND_SOC_AMD_ST_ES8336_MACH
27f94fa840SVijendar Mukunda	tristate "AMD ST support for ES8336"
28ab34403dSVijendar Mukunda	select SND_SOC_ACPI if ACPI
29f94fa840SVijendar Mukunda	select SND_SOC_ES8316
30ab34403dSVijendar Mukunda	depends on SND_SOC_AMD_ACP && ACPI
311795c16aSRandy Dunlap	depends on I2C
32f94fa840SVijendar Mukunda	help
33f94fa840SVijendar Mukunda	 This option enables machine driver for Jadeite platform
34f94fa840SVijendar Mukunda	 using es8336 codec.
35f94fa840SVijendar Mukunda	 Say m if you have such a device.
36f94fa840SVijendar Mukunda	 If unsure select "N".
37f94fa840SVijendar Mukunda
38818ba93bSVijendar Mukundaconfig SND_SOC_AMD_ACP3x
39818ba93bSVijendar Mukunda	tristate "AMD Audio Coprocessor-v3.x support"
401c4fb245SVijendar Mukunda	depends on X86 && PCI
41818ba93bSVijendar Mukunda	help
42818ba93bSVijendar Mukunda	 This option enables ACP v3.x I2S support on AMD platform
436b8e4e7dSAkshu Agrawal
446b8e4e7dSAkshu Agrawalconfig SND_SOC_AMD_RV_RT5682_MACH
456b8e4e7dSAkshu Agrawal	tristate "AMD RV support for RT5682"
46281ddf62SAjit Kumar Pandey	select CLK_FIXED_FCH
47a50067d4SArnd Bergmann	select SND_SOC_RT5682_I2C
486b8e4e7dSAkshu Agrawal	select SND_SOC_MAX98357A
496b8e4e7dSAkshu Agrawal	select SND_SOC_CROS_EC_CODEC
506b8e4e7dSAkshu Agrawal	select I2C_CROS_EC_TUNNEL
51414e3cabSRavulapati Vishnu vardhan rao	select SND_SOC_RT1015
5226e33ed9SVijendar Mukunda	select SND_SOC_RT1015P
535c7dee44SJulian Braha	depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
546b8e4e7dSAkshu Agrawal	help
556b8e4e7dSAkshu Agrawal	 This option enables machine driver for RT5682 and MAX9835.
56c15f258eSVijendar Mukunda
57c15f258eSVijendar Mukundaconfig SND_SOC_AMD_RENOIR
58c15f258eSVijendar Mukunda	tristate "AMD Audio Coprocessor - Renoir support"
592d7d9f36SAjit Kumar Pandey	select SND_AMD_ACP_CONFIG
60c15f258eSVijendar Mukunda	depends on X86 && PCI
61c15f258eSVijendar Mukunda	help
62c15f258eSVijendar Mukunda	 This option enables ACP support for Renoir platform
631d377666SVijendar Mukunda
641d377666SVijendar Mukundaconfig SND_SOC_AMD_RENOIR_MACH
651d377666SVijendar Mukunda	tristate "AMD Renoir support for DMIC"
661d377666SVijendar Mukunda	select SND_SOC_DMIC
675c7dee44SJulian Braha	depends on SND_SOC_AMD_RENOIR && GPIOLIB
681d377666SVijendar Mukunda	help
691d377666SVijendar Mukunda	 This option enables machine driver for DMIC
7008413fcaSVijendar Mukunda
7108413fcaSVijendar Mukundaconfig SND_SOC_AMD_ACP5x
7208413fcaSVijendar Mukunda	tristate "AMD Audio Coprocessor-v5.x I2S support"
7308413fcaSVijendar Mukunda	depends on X86 && PCI
7408413fcaSVijendar Mukunda	help
7508413fcaSVijendar Mukunda	 This option enables ACP v5.x support on AMD platform
7608413fcaSVijendar Mukunda
7708413fcaSVijendar Mukunda	 By enabling this flag build will trigger for ACP PCI driver,
7808413fcaSVijendar Mukunda	 ACP DMA driver, CPU DAI driver.
7996792fddSVijendar Mukunda
8096792fddSVijendar Mukundaconfig SND_SOC_AMD_VANGOGH_MACH
8196792fddSVijendar Mukunda	tristate "AMD Vangogh support for NAU8821 CS35L41"
8296792fddSVijendar Mukunda	select SND_SOC_NAU8821
8396792fddSVijendar Mukunda	select SND_SOC_CS35L41_SPI
8419a628d8SLucas Tanure	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
8596792fddSVijendar Mukunda	help
8696792fddSVijendar Mukunda	  This option enables machine driver for Vangogh platform
8796792fddSVijendar Mukunda	  using NAU8821 and CS35L41 codecs.
8896792fddSVijendar Mukunda	  Say m if you have such a device.
8996792fddSVijendar Mukunda	  If unsure select "N".
9089728d97SVijendar Mukunda
9189728d97SVijendar Mukundaconfig SND_SOC_AMD_ACP6x
9289728d97SVijendar Mukunda	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
93*bddcfb08SSyed Saba Kareem	select SND_AMD_ACP_CONFIG
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"
1214fb35936SSyed Saba Kareem
1224fb35936SSyed Saba Kareemconfig SND_SOC_AMD_RPL_ACP6x
1234fb35936SSyed Saba Kareem        tristate "AMD Audio Coprocessor-v6.2 RPL support"
1244fb35936SSyed Saba Kareem        depends on X86 && PCI
1254fb35936SSyed Saba Kareem        help
126ced579dcSSyed Saba kareem          This option enables Audio Coprocessor i.e. ACP v6.2 support on
1274fb35936SSyed Saba Kareem          AMD RPL platform. By enabling this flag build will be
1284fb35936SSyed Saba Kareem          triggered for ACP PCI driver.
1294fb35936SSyed Saba Kareem          Say m if you have such a device.
1304fb35936SSyed Saba Kareem          If unsure select "N".
1311e436648SSyed Saba Kareem
1321e436648SSyed Saba Kareemconfig SND_SOC_AMD_PS
1334b192114Ssyed saba kareem        tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support"
134*bddcfb08SSyed Saba Kareem	select SND_AMD_ACP_CONFIG
1351e436648SSyed Saba Kareem        depends on X86 && PCI && ACPI
1361e436648SSyed Saba Kareem        help
1374b192114Ssyed saba kareem          This option enables Audio Coprocessor i.e ACP v6.3 support on
1381e436648SSyed Saba Kareem          AMD Pink sardine platform. By enabling this flag build will be
1391e436648SSyed Saba Kareem          triggered for ACP PCI driver, ACP PDM DMA driver.
1401e436648SSyed Saba Kareem          Say m if you have such a device.
1411e436648SSyed Saba Kareem          If unsure select "N".
1422a09cef6SSyed Saba Kareem
1432a09cef6SSyed Saba Kareemconfig SND_SOC_AMD_PS_MACH
1442a09cef6SSyed Saba Kareem        tristate "AMD PINK SARDINE support for DMIC"
1452a09cef6SSyed Saba Kareem        select SND_SOC_DMIC
1462a09cef6SSyed Saba Kareem        depends on SND_SOC_AMD_PS
1472a09cef6SSyed Saba Kareem        help
1482a09cef6SSyed Saba Kareem          This option enables machine driver for Pink Sardine platform
1492a09cef6SSyed Saba Kareem          using dmic. ACP IP has PDM Decoder block with DMA controller.
1502a09cef6SSyed Saba Kareem          DMIC can be connected directly to ACP IP.
1512a09cef6SSyed Saba Kareem          Say m if you have such a device.
1522a09cef6SSyed Saba Kareem          If unsure select "N".
153