xref: /linux/sound/soc/amd/acp/Kconfig (revision d4c2d5391d7efc29fdd59d54355526c9ace16bec)
1623621a9SAjit Kumar Pandey# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2623621a9SAjit Kumar Pandey# This file is provided under a dual BSD/GPLv2 license. When using or
3623621a9SAjit Kumar Pandey# redistributing this file, you may do so under either license.
4623621a9SAjit Kumar Pandey#
5623621a9SAjit Kumar Pandey# Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
6623621a9SAjit Kumar Pandey#
7623621a9SAjit Kumar Pandey
8623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_COMMON
9623621a9SAjit Kumar Pandey	tristate "AMD Audio ACP Common support"
10623621a9SAjit Kumar Pandey	select SND_AMD_ACP_CONFIG
114bf74f8eSGeert Uytterhoeven	depends on X86 && PCI
12623621a9SAjit Kumar Pandey	help
13623621a9SAjit Kumar Pandey	  This option enables common modules for Audio-Coprocessor i.e. ACP
14623621a9SAjit Kumar Pandey	  IP block on AMD platforms.
15623621a9SAjit Kumar Pandey
16f41d2eceSGeert Uytterhoevenif SND_SOC_AMD_ACP_COMMON
17f41d2eceSGeert Uytterhoeven
18c32bd332SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PDM
19c32bd332SAjit Kumar Pandey	tristate
20c32bd332SAjit Kumar Pandey
21e61b4155SSyed Saba Kareemconfig SND_SOC_AMD_ACP_LEGACY_COMMON
22e61b4155SSyed Saba Kareem	tristate
23e61b4155SSyed Saba Kareem
24623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_I2S
25623621a9SAjit Kumar Pandey	tristate
26623621a9SAjit Kumar Pandey
27623621a9SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCM
28623621a9SAjit Kumar Pandey	tristate
2962a30322SArnd Bergmann	select SND_SOC_ACPI if ACPI
3058c8c843SAjit Kumar Pandey
315a9f07a4SAjit Kumar Pandeyconfig SND_SOC_AMD_ACP_PCI
325a9f07a4SAjit Kumar Pandey	tristate "AMD ACP PCI Driver Support"
334edc07fcSArnd Bergmann	select SND_SOC_AMD_ACP_LEGACY_COMMON
345a9f07a4SAjit Kumar Pandey	depends on X86 && PCI
355a9f07a4SAjit Kumar Pandey	help
365a9f07a4SAjit Kumar Pandey	  This options enables generic PCI driver for ACP device.
375a9f07a4SAjit Kumar Pandey
3858c8c843SAjit Kumar Pandeyconfig SND_AMD_ASOC_RENOIR
3958c8c843SAjit Kumar Pandey	tristate "AMD ACP ASOC Renoir Support"
4058c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PCM
4158c8c843SAjit Kumar Pandey	select SND_SOC_AMD_ACP_I2S
42def6dc25SAjit Kumar Pandey	select SND_SOC_AMD_ACP_PDM
43fc11d326SSyed Saba Kareem	select SND_SOC_AMD_ACP_LEGACY_COMMON
4458c8c843SAjit Kumar Pandey	depends on X86 && PCI
4558c8c843SAjit Kumar Pandey	help
4658c8c843SAjit Kumar Pandey	  This option enables Renoir I2S support on AMD platform.
47d4c750f2SAjit Kumar Pandey
48e8a33a94SV sujith kumar Reddyconfig SND_AMD_ASOC_REMBRANDT
49e8a33a94SV sujith kumar Reddy	tristate "AMD ACP ASOC Rembrandt Support"
50e8a33a94SV sujith kumar Reddy	select SND_SOC_AMD_ACP_PCM
51e8a33a94SV sujith kumar Reddy	select SND_SOC_AMD_ACP_I2S
52e8a33a94SV sujith kumar Reddy	select SND_SOC_AMD_ACP_PDM
53fc11d326SSyed Saba Kareem	select SND_SOC_AMD_ACP_LEGACY_COMMON
54e8a33a94SV sujith kumar Reddy	depends on X86 && PCI
55e8a33a94SV sujith kumar Reddy	help
56e8a33a94SV sujith kumar Reddy	  This option enables Rembrandt I2S support on AMD platform.
57e8a33a94SV sujith kumar Reddy	  Say Y if you want to enable AUDIO on Rembrandt
58e8a33a94SV sujith kumar Reddy	  If unsure select "N".
59e8a33a94SV sujith kumar Reddy
60*d4c2d539SSyed Saba Kareemconfig SND_AMD_ASOC_ACP63
61*d4c2d539SSyed Saba Kareem        tristate "AMD ACP ASOC ACP6.3 Support"
62*d4c2d539SSyed Saba Kareem        select SND_SOC_AMD_ACP_PCM
63*d4c2d539SSyed Saba Kareem        select SND_SOC_AMD_ACP_I2S
64*d4c2d539SSyed Saba Kareem        select SND_SOC_AMD_ACP_PDM
65*d4c2d539SSyed Saba Kareem        depends on X86 && PCI
66*d4c2d539SSyed Saba Kareem        help
67*d4c2d539SSyed Saba Kareem          This option enables Acp6.3 I2S support on AMD platform.
68*d4c2d539SSyed Saba Kareem          Say Y if you want to enable AUDIO on ACP6.3
69*d4c2d539SSyed Saba Kareem          If unsure select "N".
70*d4c2d539SSyed Saba Kareem
71d4c750f2SAjit Kumar Pandeyconfig SND_SOC_AMD_MACH_COMMON
72d4c750f2SAjit Kumar Pandey	tristate
7317572892SV sujith kumar Reddy	depends on X86 && PCI && I2C
74d4c750f2SAjit Kumar Pandey	select CLK_FIXED_FCH
75d4c750f2SAjit Kumar Pandey	select SND_SOC_RT5682_I2C
76d4c750f2SAjit Kumar Pandey	select SND_SOC_DMIC
77d4c750f2SAjit Kumar Pandey	select SND_SOC_RT1019
78cabc3aceSAjit Kumar Pandey	select SND_SOC_MAX98357A
798b725626SAjit Kumar Pandey	select SND_SOC_RT5682S
800439eb4dSV sujith kumar Reddy	select SND_SOC_NAU8825
814b526b32SVenkata Prasad Potturu	select SND_SOC_NAU8821
82ac91c8c8SVenkata Prasad Potturu	select SND_SOC_MAX98388
83d4c750f2SAjit Kumar Pandey	help
84d4c750f2SAjit Kumar Pandey	  This option enables common Machine driver module for ACP.
859d8a7be8SAjit Kumar Pandey
869d8a7be8SAjit Kumar Pandeyconfig SND_SOC_AMD_LEGACY_MACH
879d8a7be8SAjit Kumar Pandey	tristate "AMD Legacy Machine Driver Support"
8817572892SV sujith kumar Reddy	depends on X86 && PCI && I2C
899d8a7be8SAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
909d8a7be8SAjit Kumar Pandey	help
919d8a7be8SAjit Kumar Pandey	  This option enables legacy sound card support for ACP audio.
929f84940fSAjit Kumar Pandey
939f84940fSAjit Kumar Pandeyconfig SND_SOC_AMD_SOF_MACH
949f84940fSAjit Kumar Pandey	tristate "AMD SOF Machine Driver Support"
9517572892SV sujith kumar Reddy	depends on X86 && PCI && I2C
969f84940fSAjit Kumar Pandey	select SND_SOC_AMD_MACH_COMMON
979f84940fSAjit Kumar Pandey	help
989f84940fSAjit Kumar Pandey	  This option enables SOF sound card support for ACP audio.
99f41d2eceSGeert Uytterhoeven
100f41d2eceSGeert Uytterhoevenendif # SND_SOC_AMD_ACP_COMMON
101