ASoC: Intel: common: Add Kabylake Dialog+Maxim machine driver entry
authorMac Chiang <mac.chiang@intel.com>
Tue, 9 Oct 2018 07:37:08 +0000 (15:37 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Oct 2018 11:02:37 +0000 (12:02 +0100)
This patch adds da7219_max98927 machine driver entry into
machine table

Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-kbl-match.c

index 0ee173ca437dd3fa2bdbdcd0efbc6114186e7740..a317b7790fcecf1c233afbe5884c86187f39a322 100644 (file)
@@ -32,6 +32,11 @@ static struct snd_soc_acpi_codecs kbl_7219_98357_codecs = {
        .codecs = {"MX98357A"}
 };
 
+static struct snd_soc_acpi_codecs kbl_7219_98927_codecs = {
+       .num_codecs = 1,
+       .codecs = {"MX98927"}
+};
+
 struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[] = {
        {
                .id = "INT343A",
@@ -83,6 +88,14 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[] = {
                .quirk_data = &kbl_7219_98357_codecs,
                .pdata = &skl_dmic_data,
        },
+       {
+               .id = "DLGS7219",
+               .drv_name = "kbl_da7219_max98927",
+               .fw_filename = "intel/dsp_fw_kbl.bin",
+               .machine_quirk = snd_soc_acpi_codec_list,
+               .quirk_data = &kbl_7219_98927_codecs,
+               .pdata = &skl_dmic_data
+       },
        {},
 };
 EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_kbl_machines);