blob: feb3756d9ac4ed7dd9dc976a1c1dc41b1e6a262e [file] [log] [blame]
Ajit Kumar Pandeyf1bdd8d2021-11-17 11:37:20 +02001/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2/*
3 * This file is provided under a dual BSD/GPLv2 license. When using or
4 * redistributing this file, you may do so under either license.
5 *
6 * Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved.
7 *
8 * Author: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
9 */
10#ifndef __AMD_MACH_CONFIG_H
11#define __AMD_MACH_CONFIG_H
12
13#include <sound/soc-acpi.h>
14
15#define FLAG_AMD_SOF BIT(1)
16#define FLAG_AMD_SOF_ONLY_DMIC BIT(2)
17
18#define ACP_PCI_DEV_ID 0x15E2
19
20extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
Ajit Kumar Pandeyf1bdd8d2021-11-17 11:37:20 +020021
22struct config_entry {
23 u32 flags;
24 u16 device;
25 const struct dmi_system_id *dmi_table;
26};
27
28#endif