1cbaa7f0bSPierre-Louis Bossart // SPDX-License-Identifier: GPL-2.0 2cbaa7f0bSPierre-Louis Bossart /* 3*e51b6980SChristophe JAILLET * soc-acpi-intel-cnl-match.c - tables and support for CNL ACPI enumeration. 4cbaa7f0bSPierre-Louis Bossart * 5cbaa7f0bSPierre-Louis Bossart * Copyright (c) 2018, Intel Corporation. 6cbaa7f0bSPierre-Louis Bossart * 7cbaa7f0bSPierre-Louis Bossart */ 8cbaa7f0bSPierre-Louis Bossart 9cbaa7f0bSPierre-Louis Bossart #include <sound/soc-acpi.h> 10cbaa7f0bSPierre-Louis Bossart #include <sound/soc-acpi-intel-match.h> 11cbaa7f0bSPierre-Louis Bossart #include "../skylake/skl.h" 12cbaa7f0bSPierre-Louis Bossart 13cbaa7f0bSPierre-Louis Bossart static struct skl_machine_pdata cnl_pdata = { 14cbaa7f0bSPierre-Louis Bossart .use_tplg_pcm = true, 15cbaa7f0bSPierre-Louis Bossart }; 16cbaa7f0bSPierre-Louis Bossart 17f70abd75SBard liao static struct snd_soc_acpi_codecs cml_codecs = { 18f70abd75SBard liao .num_codecs = 1, 19f70abd75SBard liao .codecs = {"10EC5682"} 20f70abd75SBard liao }; 21f70abd75SBard liao 22cbaa7f0bSPierre-Louis Bossart struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { 23cbaa7f0bSPierre-Louis Bossart { 24cbaa7f0bSPierre-Louis Bossart .id = "INT34C2", 25cbaa7f0bSPierre-Louis Bossart .drv_name = "cnl_rt274", 26cbaa7f0bSPierre-Louis Bossart .fw_filename = "intel/dsp_fw_cnl.bin", 27cbaa7f0bSPierre-Louis Bossart .pdata = &cnl_pdata, 287466e749SPierre-Louis Bossart .sof_fw_filename = "sof-cnl.ri", 297466e749SPierre-Louis Bossart .sof_tplg_filename = "sof-cnl-rt274.tplg", 30cbaa7f0bSPierre-Louis Bossart }, 31f70abd75SBard liao { 32f70abd75SBard liao .id = "MX98357A", 33f70abd75SBard liao .drv_name = "sof_rt5682", 34f70abd75SBard liao .quirk_data = &cml_codecs, 35f70abd75SBard liao .sof_fw_filename = "sof-cnl.ri", 36f70abd75SBard liao .sof_tplg_filename = "sof-cml-rt5682-max98357a.tplg", 37f70abd75SBard liao }, 3830d9d4ffSSathya Prakash M R { 3930d9d4ffSSathya Prakash M R .id = "10EC5682", 4030d9d4ffSSathya Prakash M R .drv_name = "sof_rt5682", 4130d9d4ffSSathya Prakash M R .sof_fw_filename = "sof-cnl.ri", 4230d9d4ffSSathya Prakash M R .sof_tplg_filename = "sof-cml-rt5682.tplg", 4330d9d4ffSSathya Prakash M R }, 44f70abd75SBard liao 45cbaa7f0bSPierre-Louis Bossart {}, 46cbaa7f0bSPierre-Louis Bossart }; 47cbaa7f0bSPierre-Louis Bossart EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_cnl_machines); 48cbaa7f0bSPierre-Louis Bossart 49cbaa7f0bSPierre-Louis Bossart MODULE_LICENSE("GPL v2"); 50cbaa7f0bSPierre-Louis Bossart MODULE_DESCRIPTION("Intel Common ACPI Match module"); 51