ASoC: Intel: Add Kabylake RT5663+RT5514+MAX98927 machine driver entry
authorHarsha Priya N <harshapriya.n@intel.com>
Wed, 14 Jun 2017 17:32:19 +0000 (10:32 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jun 2017 18:10:38 +0000 (19:10 +0100)
This patch adds Kabylake I2S machine driver which uses codecs
MAX98927 as speakers and RT5514 as dmic on ssp0 and
RT5663 as headset on ssp1.

Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Signed-off-by: Naveen M <naveen.m@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
sound/soc/intel/skylake/skl.c

index 6a79fc759fb48160bef79d8fcaec4860adfdfec8..e761550c6dad5baec9dee1ae18a22744e61443ba 100644 (file)
@@ -896,6 +896,12 @@ static struct sst_codecs kbl_poppy_codecs = {
        .codecs = {"10EC5663"}
 };
 
+static struct sst_codecs kbl_5663_5514_codecs = {
+       .num_codecs = 2,
+       .codecs = {"10EC5663", "10EC5514"}
+};
+
+
 static struct sst_acpi_mach sst_skl_devdata[] = {
        {
                .id = "INT343A",
@@ -958,6 +964,14 @@ static struct sst_acpi_mach sst_kbl_devdata[] = {
                .quirk_data = &kbl_codecs,
                .pdata = &skl_dmic_data
        },
+       {
+               .id = "MX98927",
+               .drv_name = "kbl_r5514_5663_max",
+               .fw_filename = "intel/dsp_fw_kbl.bin",
+               .machine_quirk = sst_acpi_codec_list,
+               .quirk_data = &kbl_5663_5514_codecs,
+               .pdata = &skl_dmic_data
+       },
        {
                .id = "MX98927",
                .drv_name = "kbl_rt5663_m98927",