Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39 lines
1.3 KiB
C
39 lines
1.3 KiB
C
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
|
|
/*
|
|
* This file is provided under a dual BSD/GPLv2 license. When using or
|
|
* redistributing this file, you may do so under either license.
|
|
*
|
|
* Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
|
|
*
|
|
* Author: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
|
|
*/
|
|
#ifndef __AMD_MACH_CONFIG_H
|
|
#define __AMD_MACH_CONFIG_H
|
|
|
|
#include <sound/soc-acpi.h>
|
|
|
|
#define FLAG_AMD_SOF BIT(1)
|
|
#define FLAG_AMD_SOF_ONLY_DMIC BIT(2)
|
|
#define FLAG_AMD_LEGACY BIT(3)
|
|
#define FLAG_AMD_LEGACY_ONLY_DMIC BIT(4)
|
|
|
|
#define ACP_PCI_DEV_ID 0x15E2
|
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sdw_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[];
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_sdw_machines[];
|
|
|
|
struct config_entry {
|
|
u32 flags;
|
|
u16 device;
|
|
const struct dmi_system_id *dmi_table;
|
|
};
|
|
|
|
#endif
|