xref: /linux/sound/soc/amd/Kconfig (revision 517363b4949e4442dfe54b281ef5a8bbfafa3bbb)
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
82dba22efdSCristian Ciocaltea	tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388"
8396792fddSVijendar Mukunda	select SND_SOC_NAU8821
8496792fddSVijendar Mukunda	select SND_SOC_CS35L41_SPI
85dba22efdSCristian Ciocaltea	select SND_SOC_MAX98388
86812a0525SArnd Bergmann	select SND_AMD_ACP_CONFIG
8719a628d8SLucas Tanure	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
8896792fddSVijendar Mukunda	help
8996792fddSVijendar Mukunda	  This option enables machine driver for Vangogh platform
90dba22efdSCristian Ciocaltea	  using NAU8821 and either CS35L41 or MAX98388 codecs.
9196792fddSVijendar Mukunda	  Say m if you have such a device.
9296792fddSVijendar Mukunda	  If unsure select "N".
9389728d97SVijendar Mukunda
9489728d97SVijendar Mukundaconfig SND_SOC_AMD_ACP6x
9589728d97SVijendar Mukunda	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
96bddcfb08SSyed Saba Kareem	select SND_AMD_ACP_CONFIG
9789728d97SVijendar Mukunda	depends on X86 && PCI
9889728d97SVijendar Mukunda	help
9989728d97SVijendar Mukunda	  This option enables Audio Coprocessor i.e ACP v6.x support on
10089728d97SVijendar Mukunda	  AMD Yellow Carp platform. By enabling this flag build will be
10189728d97SVijendar Mukunda	  triggered for ACP PCI driver, ACP PDM DMA driver.
10289728d97SVijendar Mukunda	  Say m if you have such a device.
10389728d97SVijendar Mukunda	  If unsure select "N".
104a80d7edaSVijendar Mukunda
105a80d7edaSVijendar Mukundaconfig SND_SOC_AMD_YC_MACH
106a80d7edaSVijendar Mukunda	tristate "AMD YC support for DMIC"
107a80d7edaSVijendar Mukunda	select SND_SOC_DMIC
108a80d7edaSVijendar Mukunda	depends on SND_SOC_AMD_ACP6x
109a80d7edaSVijendar Mukunda	help
110a80d7edaSVijendar Mukunda	  This option enables machine driver for Yellow Carp platform
111a80d7edaSVijendar Mukunda	  using dmic. ACP IP has PDM Decoder block with DMA controller.
112a80d7edaSVijendar Mukunda	  DMIC can be connected directly to ACP IP.
113a80d7edaSVijendar Mukunda	  Say m if you have such a device.
114a80d7edaSVijendar Mukunda	  If unsure select "N".
115e8e8c4a5SMark Brown
116f1bdd8d3SAjit Kumar Pandeyconfig SND_AMD_ACP_CONFIG
117f1bdd8d3SAjit Kumar Pandey	tristate "AMD ACP configuration selection"
118fb6c83caSPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
119f1bdd8d3SAjit Kumar Pandey	help
120f1bdd8d3SAjit Kumar Pandey	 This option adds an auto detection to determine which ACP
121f1bdd8d3SAjit Kumar Pandey	 driver modules to use
122f1bdd8d3SAjit Kumar Pandey
123623621a9SAjit Kumar Pandeysource "sound/soc/amd/acp/Kconfig"
1244fb35936SSyed Saba Kareem
1254fb35936SSyed Saba Kareemconfig SND_SOC_AMD_RPL_ACP6x
1264fb35936SSyed Saba Kareem        tristate "AMD Audio Coprocessor-v6.2 RPL support"
1274fb35936SSyed Saba Kareem        depends on X86 && PCI
1284fb35936SSyed Saba Kareem        help
129ced579dcSSyed Saba kareem          This option enables Audio Coprocessor i.e. ACP v6.2 support on
1304fb35936SSyed Saba Kareem          AMD RPL platform. By enabling this flag build will be
1314fb35936SSyed Saba Kareem          triggered for ACP PCI driver.
1324fb35936SSyed Saba Kareem          Say m if you have such a device.
1334fb35936SSyed Saba Kareem          If unsure select "N".
1341e436648SSyed Saba Kareem
13556437a56SVijendar Mukundaconfig SND_SOC_AMD_ACP63_TOPLEVEL
13656437a56SVijendar Mukunda	tristate "support for AMD platforms with ACP version >= 6.3"
13756437a56SVijendar Mukunda	default SND_AMD_ACP_CONFIG
13856437a56SVijendar Mukunda	depends on SND_AMD_ACP_CONFIG
13956437a56SVijendar Mukunda	depends on SOUNDWIRE_AMD || !SOUNDWIRE_AMD
14056437a56SVijendar Mukunda	depends on X86 || COMPILE_TEST
14156437a56SVijendar Mukunda	help
14256437a56SVijendar Mukunda	  This adds support for AMD platforms with ACP version >= 6.3.
14356437a56SVijendar Mukunda	  Say Y if you have such a device.
14456437a56SVijendar Mukunda	  If unsure select "N".
14556437a56SVijendar Mukunda
14656437a56SVijendar Mukundaif SND_SOC_AMD_ACP63_TOPLEVEL
14756437a56SVijendar Mukunda
1480386d765SVijendar Mukundaconfig SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
1490386d765SVijendar Mukunda	tristate
1500386d765SVijendar Mukunda	select SND_AMD_SOUNDWIRE_ACPI if ACPI
1510386d765SVijendar Mukunda
1520386d765SVijendar Mukundaconfig SND_SOC_AMD_SOUNDWIRE
1530386d765SVijendar Mukunda	tristate "Support for SoundWire based AMD platforms"
1540386d765SVijendar Mukunda	default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
1550386d765SVijendar Mukunda	depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
156a806793fSVijendar Mukunda	depends on ACPI
157a806793fSVijendar Mukunda	depends on SOUNDWIRE_AMD
1580386d765SVijendar Mukunda	help
1590386d765SVijendar Mukunda	  This adds support for SoundWire for AMD platforms.
1600386d765SVijendar Mukunda	  Say Y if you want to enable SoundWire links with SOF.
1610386d765SVijendar Mukunda	  If unsure select "N".
1620386d765SVijendar Mukunda
1631e436648SSyed Saba Kareemconfig SND_SOC_AMD_PS
1644b192114Ssyed saba kareem        tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support"
1650386d765SVijendar Mukunda	select SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
166*0109ee00SMario Limonciello	select SND_SOC_ACPI_AMD_MATCH
1671e436648SSyed Saba Kareem        depends on X86 && PCI && ACPI
1681e436648SSyed Saba Kareem        help
1694b192114Ssyed saba kareem          This option enables Audio Coprocessor i.e ACP v6.3 support on
1701e436648SSyed Saba Kareem          AMD Pink sardine platform. By enabling this flag build will be
1716e8f7cb4SVijendar Mukunda          triggered for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire
1726e8f7cb4SVijendar Mukunda          DMA driver.
1731e436648SSyed Saba Kareem          Say m if you have such a device.
1741e436648SSyed Saba Kareem          If unsure select "N".
1752a09cef6SSyed Saba Kareem
1762a09cef6SSyed Saba Kareemconfig SND_SOC_AMD_PS_MACH
1772a09cef6SSyed Saba Kareem        tristate "AMD PINK SARDINE support for DMIC"
1782a09cef6SSyed Saba Kareem        select SND_SOC_DMIC
1792a09cef6SSyed Saba Kareem        depends on SND_SOC_AMD_PS
1802a09cef6SSyed Saba Kareem        help
1812a09cef6SSyed Saba Kareem          This option enables machine driver for Pink Sardine platform
1822a09cef6SSyed Saba Kareem          using dmic. ACP IP has PDM Decoder block with DMA controller.
1832a09cef6SSyed Saba Kareem          DMIC can be connected directly to ACP IP.
1842a09cef6SSyed Saba Kareem          Say m if you have such a device.
1852a09cef6SSyed Saba Kareem          If unsure select "N".
18656437a56SVijendar Mukunda
18756437a56SVijendar Mukundaendif
188