diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2018-06-18 21:29:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-19 17:47:02 +0300 |
commit | cbaa7f0bdbee1969bb311c641abbd0d2af6ba861 (patch) | |
tree | 3b5eac3dbbe4cc831a2260f6191029795fc67ec1 /sound/soc/intel/common/soc-acpi-intel-bxt-match.c | |
parent | 5f15f267daf81a4c7c2a1cd2a0d6743ec7fc8b59 (diff) | |
download | linux-cbaa7f0bdbee1969bb311c641abbd0d2af6ba861.tar.xz |
ASoC: Intel: move SKL+ codec ACPI tables to common directory
No functionality change, just move to common tables to make it easier
to deal with SOF and share the same machine drivers - as done
previously for BYT/CHT/HSW/BDW.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-bxt-match.c')
-rw-r--r-- | sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sound/soc/intel/common/soc-acpi-intel-bxt-match.c b/sound/soc/intel/common/soc-acpi-intel-bxt-match.c new file mode 100644 index 000000000000..569f1de97e82 --- /dev/null +++ b/sound/soc/intel/common/soc-acpi-intel-bxt-match.c @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * soc-apci-intel-bxt-match.c - tables and support for BXT ACPI enumeration. + * + * Copyright (c) 2018, Intel Corporation. + * + */ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> + +static struct snd_soc_acpi_codecs bxt_codecs = { + .num_codecs = 1, + .codecs = {"MX98357A"} +}; + +struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { + { + .id = "INT343A", + .drv_name = "bxt_alc298s_i2s", + .fw_filename = "intel/dsp_fw_bxtn.bin", + }, + { + .id = "DLGS7219", + .drv_name = "bxt_da7219_max98357a", + .fw_filename = "intel/dsp_fw_bxtn.bin", + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &bxt_codecs, + }, + {}, +}; +EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_bxt_machines); + +MODULE_LICENSE("GPL v2"); +MODULE_DESCRIPTION("Intel Common ACPI Match module"); |