Skip to content

Commit 9b843df

Browse files
committed
ASoC: Intel: common: add ACPI matching tables for ICL
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 51f6db7 commit 9b843df

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[];
3434
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[];
3535
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[];
3636
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[];
37+
extern struct snd_soc_acpi_mach snd_soc_acpi_intel_icl_machines[];
3738

3839
#endif

sound/soc/intel/common/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-m
77
soc-acpi-intel-hsw-bdw-match.o \
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 \
10-
soc-acpi-intel-cnl-match.o
10+
soc-acpi-intel-cnl-match.o soc-acpi-intel-icl-match.o
1111

1212
obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o
1313
obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* soc-apci-intel-icl-match.c - tables and support for ICL 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+
13+
static struct skl_machine_pdata icl_pdata = {
14+
.use_tplg_pcm = true,
15+
};
16+
17+
struct snd_soc_acpi_mach snd_soc_acpi_intel_icl_machines[] = {
18+
{
19+
.id = "INT34C2",
20+
.drv_name = "icl_rt274",
21+
.fw_filename = "intel/dsp_fw_icl.bin",
22+
.pdata = &icl_pdata,
23+
.sof_fw_filename = "intel/sof-icl.ri",
24+
.sof_tplg_filename = "intel/sof-icl-rt274.tplg",
25+
.asoc_plat_name = "0000:00:1f.3",
26+
},
27+
{},
28+
};
29+
EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_icl_machines);
30+
31+
MODULE_LICENSE("GPL v2");
32+
MODULE_DESCRIPTION("Intel Common ACPI Match module");

0 commit comments

Comments
 (0)