xref: /openbmc/linux/sound/soc/amd/Kconfig (revision 09717af7)
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	depends on X86 && PCI
48	help
49	 This option enables ACP support for Renoir platform
50
51config SND_SOC_AMD_RENOIR_MACH
52	tristate "AMD Renoir support for DMIC"
53	select SND_SOC_DMIC
54	depends on SND_SOC_AMD_RENOIR && GPIOLIB
55	help
56	 This option enables machine driver for DMIC
57
58config SND_SOC_AMD_ACP5x
59	tristate "AMD Audio Coprocessor-v5.x I2S support"
60	depends on X86 && PCI
61	help
62	 This option enables ACP v5.x support on AMD platform
63
64	 By enabling this flag build will trigger for ACP PCI driver,
65	 ACP DMA driver, CPU DAI driver.
66
67config SND_SOC_AMD_VANGOGH_MACH
68	tristate "AMD Vangogh support for NAU8821 CS35L41"
69	select SND_SOC_NAU8821
70	select SND_SOC_CS35L41_SPI
71	depends on SND_SOC_AMD_ACP5x && I2C
72	help
73	  This option enables machine driver for Vangogh platform
74	  using NAU8821 and CS35L41 codecs.
75	  Say m if you have such a device.
76	  If unsure select "N".
77
78config SND_SOC_AMD_ACP6x
79	tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
80	depends on X86 && PCI
81	help
82	  This option enables Audio Coprocessor i.e ACP v6.x support on
83	  AMD Yellow Carp platform. By enabling this flag build will be
84	  triggered for ACP PCI driver, ACP PDM DMA driver.
85	  Say m if you have such a device.
86	  If unsure select "N".
87
88config SND_SOC_AMD_YC_MACH
89	tristate "AMD YC support for DMIC"
90	select SND_SOC_DMIC
91	depends on SND_SOC_AMD_ACP6x
92	help
93	  This option enables machine driver for Yellow Carp platform
94	  using dmic. ACP IP has PDM Decoder block with DMA controller.
95	  DMIC can be connected directly to ACP IP.
96	  Say m if you have such a device.
97	  If unsure select "N".
98
99source "sound/soc/amd/acp/Kconfig"
100