xref: /openbmc/linux/sound/soc/amd/Kconfig (revision da1d9caf)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_SOC_AMD_ACP
3	tristate "AMD Audio Coprocessor support"
4	help
5	 This option enables ACP DMA support on AMD platform.
6
7config SND_SOC_AMD_CZ_DA7219MX98357_MACH
8	tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
9	select CLK_FIXED_FCH
10	select SND_SOC_DA7219
11	select SND_SOC_RT5682_I2C
12	select SND_SOC_MAX98357A
13	select SND_SOC_ADAU7002
14	select REGULATOR
15	depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
16	help
17	 This option enables machine driver for DA7219, RT5682 and MAX9835.
18
19config SND_SOC_AMD_CZ_RT5645_MACH
20	tristate "AMD CZ support for RT5645"
21	select SND_SOC_RT5645
22	depends on SND_SOC_AMD_ACP && I2C
23	help
24	 This option enables machine driver for rt5645.
25
26config SND_SOC_AMD_ACP3x
27	tristate "AMD Audio Coprocessor-v3.x support"
28	depends on X86 && PCI
29	help
30	 This option enables ACP v3.x I2S support on AMD platform
31
32config SND_SOC_AMD_RV_RT5682_MACH
33	tristate "AMD RV support for RT5682"
34	select CLK_FIXED_FCH
35	select SND_SOC_RT5682_I2C
36	select SND_SOC_MAX98357A
37	select SND_SOC_CROS_EC_CODEC
38	select I2C_CROS_EC_TUNNEL
39	select SND_SOC_RT1015
40	select SND_SOC_RT1015P
41	depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
42	help
43	 This option enables machine driver for RT5682 and MAX9835.
44
45config SND_SOC_AMD_RENOIR
46	tristate "AMD Audio Coprocessor - Renoir support"
47	select SND_AMD_ACP_CONFIG
48	depends on X86 && PCI
49	help
50	 This option enables ACP support for Renoir platform
51
52config SND_SOC_AMD_RENOIR_MACH
53	tristate "AMD Renoir support for DMIC"
54	select SND_SOC_DMIC
55	depends on SND_SOC_AMD_RENOIR && GPIOLIB
56	help
57	 This option enables machine driver for DMIC
58
59config SND_SOC_AMD_ACP5x
60	tristate "AMD Audio Coprocessor-v5.x I2S support"
61	depends on X86 && PCI
62	help
63	 This option enables ACP v5.x support on AMD platform
64
65	 By enabling this flag build will trigger for ACP PCI driver,
66	 ACP DMA driver, CPU DAI driver.
67
68config SND_SOC_AMD_VANGOGH_MACH
69	tristate "AMD Vangogh support for NAU8821 CS35L41"
70	select SND_SOC_NAU8821
71	select SND_SOC_CS35L41_SPI
72	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
73	help
74	  This option enables machine driver for Vangogh platform
75	  using NAU8821 and CS35L41 codecs.
76	  Say m if you have such a device.
77	  If unsure select "N".
78
79config SND_SOC_AMD_ACP6x
80	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
81	depends on X86 && PCI
82	help
83	  This option enables Audio Coprocessor i.e ACP v6.x support on
84	  AMD Yellow Carp platform. By enabling this flag build will be
85	  triggered for ACP PCI driver, ACP PDM DMA driver.
86	  Say m if you have such a device.
87	  If unsure select "N".
88
89config SND_SOC_AMD_YC_MACH
90	tristate "AMD YC support for DMIC"
91	select SND_SOC_DMIC
92	depends on SND_SOC_AMD_ACP6x
93	help
94	  This option enables machine driver for Yellow Carp platform
95	  using dmic. ACP IP has PDM Decoder block with DMA controller.
96	  DMIC can be connected directly to ACP IP.
97	  Say m if you have such a device.
98	  If unsure select "N".
99
100config SND_AMD_ACP_CONFIG
101	tristate "AMD ACP configuration selection"
102	select SND_SOC_ACPI if ACPI
103	help
104	 This option adds an auto detection to determine which ACP
105	 driver modules to use
106
107source "sound/soc/amd/acp/Kconfig"
108