| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
menu "AMD" |
| 3 |
|
| 4 |
config SND_SOC_AMD_ACP |
| 5 |
tristate "AMD Audio Coprocessor support" |
| 6 |
help |
| 7 |
This option enables ACP DMA support on AMD platform. |
| 8 |
|
| 9 |
config SND_SOC_AMD_CZ_DA7219MX98357_MACH |
| 10 |
tristate "AMD CZ support for DA7219, RT5682 and MAX9835" |
| 11 |
select SND_SOC_DA7219 |
| 12 |
select SND_SOC_RT5682_I2C |
| 13 |
select SND_SOC_MAX98357A |
| 14 |
select SND_SOC_ADAU7002 |
| 15 |
select REGULATOR |
| 16 |
depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI |
| 17 |
help |
| 18 |
This option enables machine driver for DA7219, RT5682 and MAX9835. |
| 19 |
|
| 20 |
config SND_SOC_AMD_CZ_RT5645_MACH |
| 21 |
tristate "AMD CZ support for RT5645" |
| 22 |
select SND_SOC_RT5645 |
| 23 |
depends on SND_SOC_AMD_ACP && I2C |
| 24 |
help |
| 25 |
This option enables machine driver for rt5645. |
| 26 |
|
| 27 |
config SND_SOC_AMD_ST_ES8336_MACH |
| 28 |
tristate "AMD ST support for ES8336" |
| 29 |
select SND_SOC_ACPI if ACPI |
| 30 |
select SND_SOC_ES8316 |
| 31 |
depends on SND_SOC_AMD_ACP && ACPI |
| 32 |
depends on I2C |
| 33 |
help |
| 34 |
This option enables machine driver for Jadeite platform |
| 35 |
using es8336 codec. |
| 36 |
Say m if you have such a device. |
| 37 |
If unsure select "N". |
| 38 |
|
| 39 |
config SND_SOC_AMD_ACP3x |
| 40 |
tristate "AMD Audio Coprocessor-v3.x support" |
| 41 |
depends on X86 && PCI |
| 42 |
help |
| 43 |
This option enables ACP v3.x I2S support on AMD platform |
| 44 |
|
| 45 |
config SND_SOC_AMD_RV_RT5682_MACH |
| 46 |
tristate "AMD RV support for RT5682" |
| 47 |
select SND_SOC_RT5682_I2C |
| 48 |
select SND_SOC_MAX98357A |
| 49 |
select SND_SOC_CROS_EC_CODEC |
| 50 |
select I2C_CROS_EC_TUNNEL |
| 51 |
select SND_SOC_RT1015 |
| 52 |
select SND_SOC_RT1015P |
| 53 |
depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB |
| 54 |
help |
| 55 |
This option enables machine driver for RT5682 and MAX9835. |
| 56 |
|
| 57 |
config SND_SOC_AMD_RENOIR |
| 58 |
tristate "AMD Audio Coprocessor - Renoir support" |
| 59 |
select SND_AMD_ACP_CONFIG |
| 60 |
depends on X86 && PCI |
| 61 |
help |
| 62 |
This option enables ACP support for Renoir platform |
| 63 |
|
| 64 |
config SND_SOC_AMD_RENOIR_MACH |
| 65 |
tristate "AMD Renoir support for DMIC" |
| 66 |
select SND_SOC_DMIC |
| 67 |
depends on SND_SOC_AMD_RENOIR && GPIOLIB |
| 68 |
help |
| 69 |
This option enables machine driver for DMIC |
| 70 |
|
| 71 |
config SND_SOC_AMD_ACP5x |
| 72 |
tristate "AMD Audio Coprocessor-v5.x I2S support" |
| 73 |
depends on X86 && PCI |
| 74 |
select SND_AMD_ACP_CONFIG |
| 75 |
help |
| 76 |
This option enables ACP v5.x support on AMD platform |
| 77 |
|
| 78 |
By enabling this flag build will trigger for ACP PCI driver, |
| 79 |
ACP DMA driver, CPU DAI driver. |
| 80 |
|
| 81 |
config SND_SOC_AMD_VANGOGH_MACH |
| 82 |
tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388" |
| 83 |
select SND_SOC_NAU8821 |
| 84 |
select SND_SOC_CS35L41_SPI |
| 85 |
select SND_SOC_MAX98388 |
| 86 |
select SND_AMD_ACP_CONFIG |
| 87 |
depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER |
| 88 |
help |
| 89 |
This option enables machine driver for Vangogh platform |
| 90 |
using NAU8821 and either CS35L41 or MAX98388 codecs. |
| 91 |
Say m if you have such a device. |
| 92 |
If unsure select "N". |
| 93 |
|
| 94 |
config SND_SOC_AMD_ACP6x |
| 95 |
tristate "AMD Audio Coprocessor-v6.x Yellow Carp support" |
| 96 |
select SND_AMD_ACP_CONFIG |
| 97 |
depends on X86 && PCI |
| 98 |
help |
| 99 |
This option enables Audio Coprocessor i.e ACP v6.x support on |
| 100 |
AMD Yellow Carp platform. By enabling this flag build will be |
| 101 |
triggered for ACP PCI driver, ACP PDM DMA driver. |
| 102 |
Say m if you have such a device. |
| 103 |
If unsure select "N". |
| 104 |
|
| 105 |
config SND_SOC_AMD_YC_MACH |
| 106 |
tristate "AMD YC support for DMIC" |
| 107 |
select SND_SOC_DMIC |
| 108 |
depends on SND_SOC_AMD_ACP6x && ACPI |
| 109 |
help |
| 110 |
This option enables machine driver for Yellow Carp platform |
| 111 |
using dmic. ACP IP has PDM Decoder block with DMA controller. |
| 112 |
DMIC can be connected directly to ACP IP. |
| 113 |
Say m if you have such a device. |
| 114 |
If unsure select "N". |
| 115 |
|
| 116 |
config SND_AMD_ACP_CONFIG |
| 117 |
tristate "AMD ACP configuration selection" |
| 118 |
select SND_SOC_ACPI if ACPI |
| 119 |
help |
| 120 |
This option adds an auto detection to determine which ACP |
| 121 |
driver modules to use |
| 122 |
|
| 123 |
source "sound/soc/amd/acp/Kconfig" |
| 124 |
|
| 125 |
config SND_SOC_AMD_RPL_ACP6x |
| 126 |
tristate "AMD Audio Coprocessor-v6.2 RPL support" |
| 127 |
depends on X86 && PCI |
| 128 |
help |
| 129 |
This option enables Audio Coprocessor i.e. ACP v6.2 support on |
| 130 |
AMD RPL platform. By enabling this flag build will be |
| 131 |
triggered for ACP PCI driver. |
| 132 |
Say m if you have such a device. |
| 133 |
If unsure select "N". |
| 134 |
|
| 135 |
config SND_SOC_AMD_ACP63_TOPLEVEL |
| 136 |
tristate "support for AMD platforms with ACP version >= 6.3" |
| 137 |
default SND_AMD_ACP_CONFIG |
| 138 |
depends on SND_AMD_ACP_CONFIG |
| 139 |
depends on SOUNDWIRE_AMD || !SOUNDWIRE_AMD |
| 140 |
depends on X86 || COMPILE_TEST |
| 141 |
help |
| 142 |
This adds support for AMD platforms with ACP version >= 6.3. |
| 143 |
Say Y if you have such a device. |
| 144 |
If unsure select "N". |
| 145 |
|
| 146 |
if SND_SOC_AMD_ACP63_TOPLEVEL |
| 147 |
|
| 148 |
config SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE |
| 149 |
tristate |
| 150 |
select SND_AMD_SOUNDWIRE_ACPI if ACPI |
| 151 |
|
| 152 |
config SND_SOC_AMD_SOUNDWIRE |
| 153 |
tristate "Support for SoundWire based AMD platforms" |
| 154 |
default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE |
| 155 |
depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE |
| 156 |
depends on ACPI |
| 157 |
depends on SOUNDWIRE_AMD |
| 158 |
help |
| 159 |
This adds support for SoundWire for AMD platforms. |
| 160 |
Say Y if you want to enable SoundWire links with SOF. |
| 161 |
If unsure select "N". |
| 162 |
|
| 163 |
config SND_SOC_AMD_PS |
| 164 |
tristate "AMD Audio Coprocessor-v6.3/v7.0/v7.1 support" |
| 165 |
select SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE |
| 166 |
select SND_SOC_ACPI_AMD_MATCH |
| 167 |
depends on X86 && PCI && ACPI |
| 168 |
help |
| 169 |
This option enables Audio Coprocessor i.e ACP6.3/ACP7.0/ACP7.1 |
| 170 |
variants support. By enabling this flag build will be triggered |
| 171 |
for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire DMA |
| 172 |
driver. |
| 173 |
Say m if you have such a device. |
| 174 |
If unsure select "N". |
| 175 |
|
| 176 |
config SND_SOC_AMD_PS_MACH |
| 177 |
tristate "AMD PINK SARDINE support for DMIC" |
| 178 |
select SND_SOC_DMIC |
| 179 |
depends on SND_SOC_AMD_PS |
| 180 |
help |
| 181 |
This option enables machine driver for Pink Sardine platform |
| 182 |
using dmic. ACP IP has PDM Decoder block with DMA controller. |
| 183 |
DMIC can be connected directly to ACP IP. |
| 184 |
Say m if you have such a device. |
| 185 |
If unsure select "N". |
| 186 |
|
| 187 |
endif |
| 188 |
endmenu |