2019-05-19 13:07:45 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2025-06-12 01:42:00 +00:00
|
|
|
menu "AMD"
|
|
|
|
|
2016-01-08 18:22:09 -05:00
|
|
|
config SND_SOC_AMD_ACP
|
|
|
|
tristate "AMD Audio Coprocessor support"
|
|
|
|
help
|
|
|
|
This option enables ACP DMA support on AMD platform.
|
2017-10-18 12:14:00 -04:00
|
|
|
|
2018-02-16 13:11:13 +05:30
|
|
|
config SND_SOC_AMD_CZ_DA7219MX98357_MACH
|
2021-03-19 07:10:42 +05:30
|
|
|
tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
|
2021-10-11 11:23:53 +05:30
|
|
|
select CLK_FIXED_FCH
|
2018-02-16 13:11:13 +05:30
|
|
|
select SND_SOC_DA7219
|
2021-03-19 07:10:42 +05:30
|
|
|
select SND_SOC_RT5682_I2C
|
2018-02-16 13:11:13 +05:30
|
|
|
select SND_SOC_MAX98357A
|
|
|
|
select SND_SOC_ADAU7002
|
2018-07-25 17:00:59 +08:00
|
|
|
select REGULATOR
|
2021-03-26 22:14:31 +05:30
|
|
|
depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
|
2018-02-16 13:11:13 +05:30
|
|
|
help
|
2021-03-19 07:10:42 +05:30
|
|
|
This option enables machine driver for DA7219, RT5682 and MAX9835.
|
2018-02-16 13:11:13 +05:30
|
|
|
|
2017-10-18 12:14:00 -04:00
|
|
|
config SND_SOC_AMD_CZ_RT5645_MACH
|
|
|
|
tristate "AMD CZ support for RT5645"
|
|
|
|
select SND_SOC_RT5645
|
|
|
|
depends on SND_SOC_AMD_ACP && I2C
|
|
|
|
help
|
|
|
|
This option enables machine driver for rt5645.
|
2018-11-12 11:05:02 +05:30
|
|
|
|
2022-07-01 17:11:07 +05:30
|
|
|
config SND_SOC_AMD_ST_ES8336_MACH
|
|
|
|
tristate "AMD ST support for ES8336"
|
2022-07-07 02:25:14 +05:30
|
|
|
select SND_SOC_ACPI if ACPI
|
2022-07-01 17:11:07 +05:30
|
|
|
select SND_SOC_ES8316
|
2022-07-07 02:25:14 +05:30
|
|
|
depends on SND_SOC_AMD_ACP && ACPI
|
2022-07-12 11:33:48 -07:00
|
|
|
depends on I2C
|
2022-07-01 17:11:07 +05:30
|
|
|
help
|
|
|
|
This option enables machine driver for Jadeite platform
|
|
|
|
using es8336 codec.
|
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
|
|
|
|
2018-11-12 11:05:02 +05:30
|
|
|
config SND_SOC_AMD_ACP3x
|
|
|
|
tristate "AMD Audio Coprocessor-v3.x support"
|
2018-11-15 21:43:49 +05:30
|
|
|
depends on X86 && PCI
|
2018-11-12 11:05:02 +05:30
|
|
|
help
|
|
|
|
This option enables ACP v3.x I2S support on AMD platform
|
2020-02-17 10:35:01 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_RV_RT5682_MACH
|
|
|
|
tristate "AMD RV support for RT5682"
|
2021-10-11 11:23:53 +05:30
|
|
|
select CLK_FIXED_FCH
|
2020-05-28 11:17:17 +02:00
|
|
|
select SND_SOC_RT5682_I2C
|
2020-02-17 10:35:01 +05:30
|
|
|
select SND_SOC_MAX98357A
|
|
|
|
select SND_SOC_CROS_EC_CODEC
|
|
|
|
select I2C_CROS_EC_TUNNEL
|
2020-07-28 21:32:53 +05:30
|
|
|
select SND_SOC_RT1015
|
2021-04-08 18:32:36 +05:30
|
|
|
select SND_SOC_RT1015P
|
2021-10-27 14:48:35 -04:00
|
|
|
depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
|
2020-02-17 10:35:01 +05:30
|
|
|
help
|
|
|
|
This option enables machine driver for RT5682 and MAX9835.
|
2020-05-19 01:17:01 +08:00
|
|
|
|
|
|
|
config SND_SOC_AMD_RENOIR
|
|
|
|
tristate "AMD Audio Coprocessor - Renoir support"
|
2022-01-17 17:28:54 +05:30
|
|
|
select SND_AMD_ACP_CONFIG
|
2020-05-19 01:17:01 +08:00
|
|
|
depends on X86 && PCI
|
|
|
|
help
|
|
|
|
This option enables ACP support for Renoir platform
|
2020-05-19 01:17:04 +08:00
|
|
|
|
|
|
|
config SND_SOC_AMD_RENOIR_MACH
|
|
|
|
tristate "AMD Renoir support for DMIC"
|
|
|
|
select SND_SOC_DMIC
|
2021-10-27 14:48:35 -04:00
|
|
|
depends on SND_SOC_AMD_RENOIR && GPIOLIB
|
2020-05-19 01:17:04 +08:00
|
|
|
help
|
|
|
|
This option enables machine driver for DMIC
|
2021-07-21 23:34:28 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_ACP5x
|
|
|
|
tristate "AMD Audio Coprocessor-v5.x I2S support"
|
|
|
|
depends on X86 && PCI
|
2023-06-05 10:58:29 +02:00
|
|
|
select SND_AMD_ACP_CONFIG
|
2021-07-21 23:34:28 +05:30
|
|
|
help
|
|
|
|
This option enables ACP v5.x support on AMD platform
|
|
|
|
|
|
|
|
By enabling this flag build will trigger for ACP PCI driver,
|
|
|
|
ACP DMA driver, CPU DAI driver.
|
2021-10-14 12:47:10 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_VANGOGH_MACH
|
2023-07-06 00:48:00 +03:00
|
|
|
tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388"
|
2021-10-14 12:47:10 +05:30
|
|
|
select SND_SOC_NAU8821
|
|
|
|
select SND_SOC_CS35L41_SPI
|
2023-07-06 00:48:00 +03:00
|
|
|
select SND_SOC_MAX98388
|
2023-06-02 14:44:39 +02:00
|
|
|
select SND_AMD_ACP_CONFIG
|
2021-12-01 18:00:03 +00:00
|
|
|
depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
|
2021-10-14 12:47:10 +05:30
|
|
|
help
|
|
|
|
This option enables machine driver for Vangogh platform
|
2023-07-06 00:48:00 +03:00
|
|
|
using NAU8821 and either CS35L41 or MAX98388 codecs.
|
2021-10-14 12:47:10 +05:30
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
2021-10-18 16:50:41 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_ACP6x
|
|
|
|
tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
|
2023-04-12 14:46:16 +05:30
|
|
|
select SND_AMD_ACP_CONFIG
|
2021-10-18 16:50:41 +05:30
|
|
|
depends on X86 && PCI
|
|
|
|
help
|
|
|
|
This option enables Audio Coprocessor i.e ACP v6.x support on
|
|
|
|
AMD Yellow Carp platform. By enabling this flag build will be
|
|
|
|
triggered for ACP PCI driver, ACP PDM DMA driver.
|
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
2021-10-18 16:50:44 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_YC_MACH
|
|
|
|
tristate "AMD YC support for DMIC"
|
|
|
|
select SND_SOC_DMIC
|
2025-01-10 01:15:47 +08:00
|
|
|
depends on SND_SOC_AMD_ACP6x && ACPI
|
2021-10-18 16:50:44 +05:30
|
|
|
help
|
|
|
|
This option enables machine driver for Yellow Carp platform
|
|
|
|
using dmic. ACP IP has PDM Decoder block with DMA controller.
|
|
|
|
DMIC can be connected directly to ACP IP.
|
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
2021-10-23 17:30:02 +01:00
|
|
|
|
2021-11-17 11:37:20 +02:00
|
|
|
config SND_AMD_ACP_CONFIG
|
|
|
|
tristate "AMD ACP configuration selection"
|
2021-12-15 10:35:11 -06:00
|
|
|
select SND_SOC_ACPI if ACPI
|
2021-11-17 11:37:20 +02:00
|
|
|
help
|
|
|
|
This option adds an auto detection to determine which ACP
|
|
|
|
driver modules to use
|
|
|
|
|
2021-10-19 12:39:31 +05:30
|
|
|
source "sound/soc/amd/acp/Kconfig"
|
2022-07-21 11:40:02 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_RPL_ACP6x
|
|
|
|
tristate "AMD Audio Coprocessor-v6.2 RPL support"
|
|
|
|
depends on X86 && PCI
|
|
|
|
help
|
2022-08-30 18:52:55 +05:30
|
|
|
This option enables Audio Coprocessor i.e. ACP v6.2 support on
|
2022-07-21 11:40:02 +05:30
|
|
|
AMD RPL platform. By enabling this flag build will be
|
|
|
|
triggered for ACP PCI driver.
|
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
2022-08-27 22:26:54 +05:30
|
|
|
|
2024-04-08 23:32:26 +05:30
|
|
|
config SND_SOC_AMD_ACP63_TOPLEVEL
|
|
|
|
tristate "support for AMD platforms with ACP version >= 6.3"
|
|
|
|
default SND_AMD_ACP_CONFIG
|
|
|
|
depends on SND_AMD_ACP_CONFIG
|
|
|
|
depends on SOUNDWIRE_AMD || !SOUNDWIRE_AMD
|
|
|
|
depends on X86 || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This adds support for AMD platforms with ACP version >= 6.3.
|
|
|
|
Say Y if you have such a device.
|
|
|
|
If unsure select "N".
|
|
|
|
|
|
|
|
if SND_SOC_AMD_ACP63_TOPLEVEL
|
|
|
|
|
2024-02-14 16:10:01 +05:30
|
|
|
config SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
|
|
|
tristate
|
|
|
|
select SND_AMD_SOUNDWIRE_ACPI if ACPI
|
|
|
|
|
|
|
|
config SND_SOC_AMD_SOUNDWIRE
|
|
|
|
tristate "Support for SoundWire based AMD platforms"
|
|
|
|
default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
|
|
|
depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
2024-03-22 16:50:15 +05:30
|
|
|
depends on ACPI
|
|
|
|
depends on SOUNDWIRE_AMD
|
2024-02-14 16:10:01 +05:30
|
|
|
help
|
|
|
|
This adds support for SoundWire for AMD platforms.
|
|
|
|
Say Y if you want to enable SoundWire links with SOF.
|
|
|
|
If unsure select "N".
|
|
|
|
|
2022-08-27 22:26:54 +05:30
|
|
|
config SND_SOC_AMD_PS
|
2025-02-07 11:58:14 +05:30
|
|
|
tristate "AMD Audio Coprocessor-v6.3/v7.0/v7.1 support"
|
2024-02-14 16:10:01 +05:30
|
|
|
select SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
2024-11-17 20:55:27 -06:00
|
|
|
select SND_SOC_ACPI_AMD_MATCH
|
2022-08-27 22:26:54 +05:30
|
|
|
depends on X86 && PCI && ACPI
|
|
|
|
help
|
2025-02-07 11:58:14 +05:30
|
|
|
This option enables Audio Coprocessor i.e ACP6.3/ACP7.0/ACP7.1
|
|
|
|
variants support. By enabling this flag build will be triggered
|
|
|
|
for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire DMA
|
|
|
|
driver.
|
2022-08-27 22:26:54 +05:30
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
2022-08-27 22:26:57 +05:30
|
|
|
|
|
|
|
config SND_SOC_AMD_PS_MACH
|
|
|
|
tristate "AMD PINK SARDINE support for DMIC"
|
|
|
|
select SND_SOC_DMIC
|
|
|
|
depends on SND_SOC_AMD_PS
|
|
|
|
help
|
|
|
|
This option enables machine driver for Pink Sardine platform
|
|
|
|
using dmic. ACP IP has PDM Decoder block with DMA controller.
|
|
|
|
DMIC can be connected directly to ACP IP.
|
|
|
|
Say m if you have such a device.
|
|
|
|
If unsure select "N".
|
2024-04-08 23:32:26 +05:30
|
|
|
|
|
|
|
endif
|
2025-06-12 01:42:00 +00:00
|
|
|
endmenu
|