linux/sound/soc/intel/common/soc-acpi-intel-cht-match.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * soc-acpi-intel-cht-match.c - tables and support for CHT ACPI enumeration.
 *
 * Copyright (c) 2017, Intel Corporation.
 */

#include <linux/dmi.h>
#include <sound/soc-acpi.h>
#include <sound/soc-acpi-intel-match.h>

static unsigned long cht_machine_id;

#define CHT_SURFACE_MACH

static int cht_surface_quirk_cb(const struct dmi_system_id *id)
{}

static const struct dmi_system_id cht_table[] =;

static struct snd_soc_acpi_mach cht_surface_mach =;

static struct snd_soc_acpi_mach *cht_quirk(void *arg)
{}

/*
 * Some tablets with Android factory OS have buggy DSDTs with an ESSX8316 device
 * in the ACPI tables. While they are not using an ESS8316 codec. These DSDTs
 * also have an ACPI device for the correct codec, ignore the ESSX8316.
 */
static const struct dmi_system_id cht_ess8316_not_present_table[] =;

static struct snd_soc_acpi_mach *cht_ess8316_quirk(void *arg)
{}

/*
 * The Lenovo Yoga Tab 3 Pro YT3-X90, with Android factory OS has a buggy DSDT
 * with the coded not being listed at all.
 */
static const struct dmi_system_id lenovo_yoga_tab3_x90[] =;

static struct snd_soc_acpi_mach cht_lenovo_yoga_tab3_x90_mach =;

static struct snd_soc_acpi_mach *lenovo_yt3_x90_quirk(void *arg)
{}

static const struct snd_soc_acpi_codecs rt5640_comp_ids =;

static const struct snd_soc_acpi_codecs rt5670_comp_ids =;

static const struct snd_soc_acpi_codecs rt5645_comp_ids =;

static const struct snd_soc_acpi_codecs da7213_comp_ids =;

/* Cherryview-based platforms: CherryTrail and Braswell */
struct snd_soc_acpi_mach  snd_soc_acpi_intel_cherrytrail_machines[] =;
EXPORT_SYMBOL_GPL();