xref: /linux/sound/soc/sof/amd/Kconfig (revision 2188c2cfaa4f431c1d537bb029a6e9b0810b7e7f)
1846aef1dSAjit Kumar Pandey# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2846aef1dSAjit Kumar Pandey# This file is provided under a dual BSD/GPLv2 license. When using or
3846aef1dSAjit Kumar Pandey# redistributing this file, you may do so under either license.
4846aef1dSAjit Kumar Pandey#
5d0dab6b7SVenkata Prasad Potturu# Copyright(c) 2021, 2023 Advanced Micro Devices, Inc. All rights reserved.
6846aef1dSAjit Kumar Pandey
7846aef1dSAjit Kumar Pandeyconfig SND_SOC_SOF_AMD_TOPLEVEL
8846aef1dSAjit Kumar Pandey	tristate "SOF support for AMD audio DSPs"
9846aef1dSAjit Kumar Pandey	depends on X86 || COMPILE_TEST
10846aef1dSAjit Kumar Pandey	help
11846aef1dSAjit Kumar Pandey	  This adds support for Sound Open Firmware for AMD platforms.
12846aef1dSAjit Kumar Pandey	  Say Y if you have such a device.
13846aef1dSAjit Kumar Pandey	  If unsure select "N".
14846aef1dSAjit Kumar Pandey
15846aef1dSAjit Kumar Pandeyif SND_SOC_SOF_AMD_TOPLEVEL
16846aef1dSAjit Kumar Pandey
17846aef1dSAjit Kumar Pandeyconfig SND_SOC_SOF_AMD_COMMON
18846aef1dSAjit Kumar Pandey	tristate
19846aef1dSAjit Kumar Pandey	select SND_SOC_SOF
207ed1f83bSPeter Ujfalusi	select SND_SOC_SOF_IPC3
21ec25a3b1SAjit Kumar Pandey	select SND_SOC_SOF_PCI_DEV
22ec25a3b1SAjit Kumar Pandey	select SND_AMD_ACP_CONFIG
2341cfad23SV sujith kumar Reddy	select SND_SOC_SOF_XTENSA
241a74b21cSV sujith kumar Reddy	select SND_SOC_SOF_ACP_PROBES
25ec25a3b1SAjit Kumar Pandey	select SND_SOC_ACPI if ACPI
26846aef1dSAjit Kumar Pandey	help
27846aef1dSAjit Kumar Pandey	  This option is not user-selectable but automatically handled by
28846aef1dSAjit Kumar Pandey	  'select' statements at a higher level
29846aef1dSAjit Kumar Pandey
30846aef1dSAjit Kumar Pandeyconfig SND_SOC_SOF_AMD_RENOIR
31846aef1dSAjit Kumar Pandey	tristate "SOF support for RENOIR"
32ec25a3b1SAjit Kumar Pandey	depends on SND_SOC_SOF_PCI
33846aef1dSAjit Kumar Pandey	select SND_SOC_SOF_AMD_COMMON
34846aef1dSAjit Kumar Pandey	help
35846aef1dSAjit Kumar Pandey	  Select this option for SOF support on AMD Renoir platform
3641cb85bcSV sujith kumar Reddy
37d0dab6b7SVenkata Prasad Potturuconfig SND_SOC_SOF_AMD_VANGOGH
38d0dab6b7SVenkata Prasad Potturu	tristate "SOF support for VANGOGH"
39d0dab6b7SVenkata Prasad Potturu	depends on SND_SOC_SOF_PCI
40d0dab6b7SVenkata Prasad Potturu	select SND_SOC_SOF_AMD_COMMON
41d0dab6b7SVenkata Prasad Potturu	help
42d0dab6b7SVenkata Prasad Potturu	  Select this option for SOF support
43d0dab6b7SVenkata Prasad Potturu	  on AMD Vangogh platform.
44d0dab6b7SVenkata Prasad Potturu	  Say Y if you want to enable SOF on Vangogh.
45d0dab6b7SVenkata Prasad Potturu	  If unsure select "N".
46d0dab6b7SVenkata Prasad Potturu
4741cb85bcSV sujith kumar Reddyconfig SND_SOC_SOF_AMD_REMBRANDT
4841cb85bcSV sujith kumar Reddy	tristate "SOF support for REMBRANDT"
4941cb85bcSV sujith kumar Reddy	depends on SND_SOC_SOF_PCI
5041cb85bcSV sujith kumar Reddy	select SND_SOC_SOF_AMD_COMMON
5141cb85bcSV sujith kumar Reddy	help
5241cb85bcSV sujith kumar Reddy	  Select this option for SOF support on AMD Rembrandt platform
5341cb85bcSV sujith kumar Reddy	  Say Y if you want to enable SOF on Rembrandt.
5441cb85bcSV sujith kumar Reddy	  If unsure select "N".
5541cb85bcSV sujith kumar Reddy
561a74b21cSV sujith kumar Reddyconfig SND_SOC_SOF_ACP_PROBES
571a74b21cSV sujith kumar Reddy	tristate
581a74b21cSV sujith kumar Reddy	select SND_SOC_SOF_DEBUG_PROBES
591a74b21cSV sujith kumar Reddy	help
601a74b21cSV sujith kumar Reddy	  This option is not user-selectable but automatically handled by
611a74b21cSV sujith kumar Reddy	  'select' statements at a higher level
621a74b21cSV sujith kumar Reddy
63d9482184SVijendar Mukundaconfig SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
64d9482184SVijendar Mukunda	tristate
65d9482184SVijendar Mukunda	select SOUNDWIRE_AMD if SND_SOC_SOF_AMD_SOUNDWIRE != n
66d9482184SVijendar Mukunda	select SND_AMD_SOUNDWIRE_ACPI if ACPI
67d9482184SVijendar Mukunda
68d9482184SVijendar Mukundaconfig SND_SOC_SOF_AMD_SOUNDWIRE
69d9482184SVijendar Mukunda	tristate "SOF support for SoundWire based AMD platforms"
70d9482184SVijendar Mukunda	default SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
71d9482184SVijendar Mukunda	depends on SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
72d9482184SVijendar Mukunda	depends on ACPI && SOUNDWIRE
73d9482184SVijendar Mukunda	depends on !(SOUNDWIRE=m && SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE=y)
74d9482184SVijendar Mukunda	help
75d9482184SVijendar Mukunda	  This adds support for SoundWire with Sound Open Firmware
76d9482184SVijendar Mukunda	  for AMD platforms.
77d9482184SVijendar Mukunda	  Say Y if you want to enable SoundWire links with SOF.
78d9482184SVijendar Mukunda	  If unsure select "N".
79d9482184SVijendar Mukunda
80848c0d34SVijendar Mukundaconfig SND_SOC_SOF_AMD_ACP63
81848c0d34SVijendar Mukunda	tristate "SOF support for ACP6.3 platform"
82848c0d34SVijendar Mukunda	depends on SND_SOC_SOF_PCI
83848c0d34SVijendar Mukunda	select SND_SOC_SOF_AMD_COMMON
84*2188c2cfSVijendar Mukunda	select SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
85848c0d34SVijendar Mukunda	help
86848c0d34SVijendar Mukunda	  Select this option for SOF support on
87848c0d34SVijendar Mukunda	  AMD ACP6.3 version based platforms.
88848c0d34SVijendar Mukunda	  Say Y if you want to enable SOF on ACP6.3 based platform.
89848c0d34SVijendar Mukunda	  If unsure select "N".
90846aef1dSAjit Kumar Pandeyendif
91