ASoC: Intel: Add Kabylake Dialog+Maxim machine driver entry
authorNaveen Manohar <naveen.m@intel.com>
Mon, 5 Feb 2018 04:29:57 +0000 (09:59 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 16 Feb 2018 11:47:15 +0000 (11:47 +0000)
Adds Kabylake kbl_da7219_max98357a_i2s machine driver entry into
machine table

Signed-off-by: Naveen Manohar <naveen.m@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c

index 32ce64c..aa9edc8 100644 (file)
@@ -1017,6 +1017,11 @@ static struct snd_soc_acpi_codecs kbl_5663_5514_codecs = {
        .codecs = {"10EC5663", "10EC5514"}
 };
 
+static struct snd_soc_acpi_codecs kbl_7219_98357_codecs = {
+       .num_codecs = 1,
+       .codecs = {"MX98357A"}
+};
+
 static struct skl_machine_pdata cnl_pdata = {
        .use_tplg_pcm = true,
 };
@@ -1105,6 +1110,14 @@ static struct snd_soc_acpi_mach sst_kbl_devdata[] = {
                .drv_name = "kbl_rt5663",
                .fw_filename = "intel/dsp_fw_kbl.bin",
        },
+       {
+               .id = "DLGS7219",
+               .drv_name = "kbl_da7219_max98357a",
+               .fw_filename = "intel/dsp_fw_kbl.bin",
+               .machine_quirk = snd_soc_acpi_codec_list,
+               .quirk_data = &kbl_7219_98357_codecs,
+               .pdata = &skl_dmic_data
+       },
 
        {}
 };