xref: /linux/sound/soc/amd/Kconfig (revision 676c6cc50d588528b9f30a81dd7aba16248da28c)
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_ST_ES8336_MACH
27	tristate "AMD ST support for ES8336"
28	select SND_SOC_ACPI
29	select SND_SOC_ES8316
30	depends on SND_SOC_AMD_ACP
31	depends on ACPI || COMPILE_TEST
32	depends on I2C || COMPILE_TEST
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
39config 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
45config SND_SOC_AMD_RV_RT5682_MACH
46	tristate "AMD RV support for RT5682"
47	select CLK_FIXED_FCH
48	select SND_SOC_RT5682_I2C
49	select SND_SOC_MAX98357A
50	select SND_SOC_CROS_EC_CODEC
51	select I2C_CROS_EC_TUNNEL
52	select SND_SOC_RT1015
53	select SND_SOC_RT1015P
54	depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
55	help
56	 This option enables machine driver for RT5682 and MAX9835.
57
58config SND_SOC_AMD_RENOIR
59	tristate "AMD Audio Coprocessor - Renoir support"
60	select SND_AMD_ACP_CONFIG
61	depends on X86 && PCI
62	help
63	 This option enables ACP support for Renoir platform
64
65config SND_SOC_AMD_RENOIR_MACH
66	tristate "AMD Renoir support for DMIC"
67	select SND_SOC_DMIC
68	depends on SND_SOC_AMD_RENOIR && GPIOLIB
69	help
70	 This option enables machine driver for DMIC
71
72config SND_SOC_AMD_ACP5x
73	tristate "AMD Audio Coprocessor-v5.x I2S support"
74	depends on X86 && PCI
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
81config SND_SOC_AMD_VANGOGH_MACH
82	tristate "AMD Vangogh support for NAU8821 CS35L41"
83	select SND_SOC_NAU8821
84	select SND_SOC_CS35L41_SPI
85	depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
86	help
87	  This option enables machine driver for Vangogh platform
88	  using NAU8821 and CS35L41 codecs.
89	  Say m if you have such a device.
90	  If unsure select "N".
91
92config SND_SOC_AMD_ACP6x
93	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
94	depends on X86 && PCI
95	help
96	  This option enables Audio Coprocessor i.e ACP v6.x support on
97	  AMD Yellow Carp platform. By enabling this flag build will be
98	  triggered for ACP PCI driver, ACP PDM DMA driver.
99	  Say m if you have such a device.
100	  If unsure select "N".
101
102config SND_SOC_AMD_YC_MACH
103	tristate "AMD YC support for DMIC"
104	select SND_SOC_DMIC
105	depends on SND_SOC_AMD_ACP6x
106	help
107	  This option enables machine driver for Yellow Carp platform
108	  using dmic. ACP IP has PDM Decoder block with DMA controller.
109	  DMIC can be connected directly to ACP IP.
110	  Say m if you have such a device.
111	  If unsure select "N".
112
113config SND_AMD_ACP_CONFIG
114	tristate "AMD ACP configuration selection"
115	select SND_SOC_ACPI if ACPI
116	help
117	 This option adds an auto detection to determine which ACP
118	 driver modules to use
119
120source "sound/soc/amd/acp/Kconfig"
121