mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
63fba90fc8
We have moved legacy based machine struct into platform driver to resolve module dependency with non-SOF ALSA build, hence removed it from acp-config driver module. Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20211117093734.17407-11-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
29 lines
691 B
C
29 lines
691 B
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 ACP_PCI_DEV_ID 0x15E2
|
|
|
|
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
|
|
|
|
struct config_entry {
|
|
u32 flags;
|
|
u16 device;
|
|
const struct dmi_system_id *dmi_table;
|
|
};
|
|
|
|
#endif
|