blob: df7c52cad5c3f660ff0da320bce076b892fdf6ff [file] [log] [blame]
Pierre-Louis Bossartcbaa7f02018-06-18 13:29:37 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * soc-apci-intel-cnl-match.c - tables and support for CNL ACPI enumeration.
4 *
5 * Copyright (c) 2018, Intel Corporation.
6 *
7 */
8
9#include <sound/soc-acpi.h>
10#include <sound/soc-acpi-intel-match.h>
11#include "../skylake/skl.h"
12
13static struct skl_machine_pdata cnl_pdata = {
14 .use_tplg_pcm = true,
15};
16
Bard liaof70abd72019-04-30 17:37:44 -050017static struct snd_soc_acpi_codecs cml_codecs = {
18 .num_codecs = 1,
19 .codecs = {"10EC5682"}
20};
21
Pierre-Louis Bossartcbaa7f02018-06-18 13:29:37 -050022struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = {
23 {
24 .id = "INT34C2",
25 .drv_name = "cnl_rt274",
26 .fw_filename = "intel/dsp_fw_cnl.bin",
27 .pdata = &cnl_pdata,
Pierre-Louis Bossart7466e742019-02-08 17:45:44 -060028 .sof_fw_filename = "sof-cnl.ri",
29 .sof_tplg_filename = "sof-cnl-rt274.tplg",
Pierre-Louis Bossartcbaa7f02018-06-18 13:29:37 -050030 },
Bard liaof70abd72019-04-30 17:37:44 -050031 {
32 .id = "10EC5682",
33 .drv_name = "sof_rt5682",
34 .sof_fw_filename = "sof-cnl.ri",
35 .sof_tplg_filename = "sof-cml-rt5682.tplg",
36 },
37 {
38 .id = "MX98357A",
39 .drv_name = "sof_rt5682",
40 .quirk_data = &cml_codecs,
41 .sof_fw_filename = "sof-cnl.ri",
42 .sof_tplg_filename = "sof-cml-rt5682-max98357a.tplg",
43 },
44
Pierre-Louis Bossartcbaa7f02018-06-18 13:29:37 -050045 {},
46};
47EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_cnl_machines);
48
49MODULE_LICENSE("GPL v2");
50MODULE_DESCRIPTION("Intel Common ACPI Match module");