xref: /openbmc/linux/sound/soc/amd/Kconfig (revision 6e8f7cb4)
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
74fd0a7ec3SArnd Bergmann	select SND_AMD_ACP_CONFIG
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
85812a0525SArnd Bergmann	select SND_AMD_ACP_CONFIG
8619a628d8SLucas Tanure	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
8796792fddSVijendar Mukunda	help
8896792fddSVijendar Mukunda	  This option enables machine driver for Vangogh platform
8996792fddSVijendar Mukunda	  using NAU8821 and CS35L41 codecs.
9096792fddSVijendar Mukunda	  Say m if you have such a device.
9196792fddSVijendar Mukunda	  If unsure select "N".
9289728d97SVijendar Mukunda
9389728d97SVijendar Mukundaconfig SND_SOC_AMD_ACP6x
9489728d97SVijendar Mukunda	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
95bddcfb08SSyed Saba Kareem	select SND_AMD_ACP_CONFIG
9689728d97SVijendar Mukunda	depends on X86 && PCI
9789728d97SVijendar Mukunda	help
9889728d97SVijendar Mukunda	  This option enables Audio Coprocessor i.e ACP v6.x support on
9989728d97SVijendar Mukunda	  AMD Yellow Carp platform. By enabling this flag build will be
10089728d97SVijendar Mukunda	  triggered for ACP PCI driver, ACP PDM DMA driver.
10189728d97SVijendar Mukunda	  Say m if you have such a device.
10289728d97SVijendar Mukunda	  If unsure select "N".
103a80d7edaSVijendar Mukunda
104a80d7edaSVijendar Mukundaconfig SND_SOC_AMD_YC_MACH
105a80d7edaSVijendar Mukunda	tristate "AMD YC support for DMIC"
106a80d7edaSVijendar Mukunda	select SND_SOC_DMIC
107a80d7edaSVijendar Mukunda	depends on SND_SOC_AMD_ACP6x
108a80d7edaSVijendar Mukunda	help
109a80d7edaSVijendar Mukunda	  This option enables machine driver for Yellow Carp platform
110a80d7edaSVijendar Mukunda	  using dmic. ACP IP has PDM Decoder block with DMA controller.
111a80d7edaSVijendar Mukunda	  DMIC can be connected directly to ACP IP.
112a80d7edaSVijendar Mukunda	  Say m if you have such a device.
113a80d7edaSVijendar Mukunda	  If unsure select "N".
114e8e8c4a5SMark Brown
115f1bdd8d3SAjit Kumar Pandeyconfig SND_AMD_ACP_CONFIG
116f1bdd8d3SAjit Kumar Pandey	tristate "AMD ACP configuration selection"
117fb6c83caSPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
118f1bdd8d3SAjit Kumar Pandey	help
119f1bdd8d3SAjit Kumar Pandey	 This option adds an auto detection to determine which ACP
120f1bdd8d3SAjit Kumar Pandey	 driver modules to use
121f1bdd8d3SAjit Kumar Pandey
122623621a9SAjit Kumar Pandeysource "sound/soc/amd/acp/Kconfig"
1234fb35936SSyed Saba Kareem
1244fb35936SSyed Saba Kareemconfig SND_SOC_AMD_RPL_ACP6x
1254fb35936SSyed Saba Kareem        tristate "AMD Audio Coprocessor-v6.2 RPL support"
1264fb35936SSyed Saba Kareem        depends on X86 && PCI
1274fb35936SSyed Saba Kareem        help
128ced579dcSSyed Saba kareem          This option enables Audio Coprocessor i.e. ACP v6.2 support on
1294fb35936SSyed Saba Kareem          AMD RPL platform. By enabling this flag build will be
1304fb35936SSyed Saba Kareem          triggered for ACP PCI driver.
1314fb35936SSyed Saba Kareem          Say m if you have such a device.
1324fb35936SSyed Saba Kareem          If unsure select "N".
1331e436648SSyed Saba Kareem
1341e436648SSyed Saba Kareemconfig SND_SOC_AMD_PS
1354b192114Ssyed saba kareem        tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support"
136bddcfb08SSyed Saba Kareem	select SND_AMD_ACP_CONFIG
1371e436648SSyed Saba Kareem        depends on X86 && PCI && ACPI
1381e436648SSyed Saba Kareem        help
1394b192114Ssyed saba kareem          This option enables Audio Coprocessor i.e ACP v6.3 support on
1401e436648SSyed Saba Kareem          AMD Pink sardine platform. By enabling this flag build will be
141*6e8f7cb4SVijendar Mukunda          triggered for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire
142*6e8f7cb4SVijendar Mukunda          DMA driver.
1431e436648SSyed Saba Kareem          Say m if you have such a device.
1441e436648SSyed Saba Kareem          If unsure select "N".
1452a09cef6SSyed Saba Kareem
1462a09cef6SSyed Saba Kareemconfig SND_SOC_AMD_PS_MACH
1472a09cef6SSyed Saba Kareem        tristate "AMD PINK SARDINE support for DMIC"
1482a09cef6SSyed Saba Kareem        select SND_SOC_DMIC
1492a09cef6SSyed Saba Kareem        depends on SND_SOC_AMD_PS
1502a09cef6SSyed Saba Kareem        help
1512a09cef6SSyed Saba Kareem          This option enables machine driver for Pink Sardine platform
1522a09cef6SSyed Saba Kareem          using dmic. ACP IP has PDM Decoder block with DMA controller.
1532a09cef6SSyed Saba Kareem          DMIC can be connected directly to ACP IP.
1542a09cef6SSyed Saba Kareem          Say m if you have such a device.
1552a09cef6SSyed Saba Kareem          If unsure select "N".
156