2021-11-17 11:37:20 +02:00
|
|
|
/* 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)
|
2022-01-17 17:28:51 +05:30
|
|
|
#define FLAG_AMD_LEGACY BIT(3)
|
2023-10-21 20:20:47 +05:30
|
|
|
#define FLAG_AMD_LEGACY_ONLY_DMIC BIT(4)
|
2021-11-17 11:37:20 +02:00
|
|
|
|
|
|
|
#define ACP_PCI_DEV_ID 0x15E2
|
|
|
|
|
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
|
2022-05-31 17:38:11 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
|
2023-07-07 17:37:29 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines[];
|
2023-10-20 11:58:11 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[];
|
2024-11-13 17:22:18 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sdw_machines[];
|
2024-08-01 16:48:14 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[];
|
2024-08-23 11:07:38 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[];
|
2025-02-07 11:58:16 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[];
|
2025-06-20 17:38:42 +05:30
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_sdw_machines[];
|
2021-11-17 11:37:20 +02:00
|
|
|
|
|
|
|
struct config_entry {
|
|
|
|
u32 flags;
|
|
|
|
u16 device;
|
|
|
|
const struct dmi_system_id *dmi_table;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|