Skip to content

Commit 5f7af9e

Browse files
xiulipanbroonie
authored andcommitted
ASoC: Intel: common: add ACPI matching tables for Tiger Lake
Initial support for TGL w/ RT1308 Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190815155749.29304-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3a9477a commit 5f7af9e

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

‎include/sound/soc-acpi-intel-match.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[];
2525
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[];
2626
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[];
2727
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_icl_machines[];
28+
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_machines[];
2829

2930
/*
3031
* generic table used for HDA codec-based platforms, possibly with

‎sound/soc/intel/common/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-m
88
soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
99
soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
1010
soc-acpi-intel-cnl-match.o soc-acpi-intel-icl-match.o \
11+
soc-acpi-intel-tgl-match.o \
1112
soc-acpi-intel-hda-match.o
1213

1314
obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* soc-apci-intel-tgl-match.c - tables and support for ICL ACPI enumeration.
4+
*
5+
* Copyright (c) 2019, Intel Corporation.
6+
*
7+
*/
8+
9+
#include <sound/soc-acpi.h>
10+
#include <sound/soc-acpi-intel-match.h>
11+
12+
struct snd_soc_acpi_mach snd_soc_acpi_intel_tgl_machines[] = {
13+
{
14+
.id = "10EC1308",
15+
.drv_name = "tgl_rt1308",
16+
.sof_fw_filename = "sof-tgl.ri",
17+
.sof_tplg_filename = "sof-tgl-rt1308.tplg",
18+
},
19+
{},
20+
};
21+
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_tgl_machines);
22+
23+
MODULE_LICENSE("GPL v2");
24+
MODULE_DESCRIPTION("Intel Common ACPI Match module");

0 commit comments

Comments
 (0)