ASoC: Intel: Add Kabylake RT5663+RT5514+MAX98927 machine driver entry

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>
This commit is contained in:
Harsha Priya N 2017-06-14 10:32:19 -07:00 committed by Mark Brown
parent 9a90c972b6
commit ad7fb5a3b8

View File

@ -896,6 +896,12 @@ static struct sst_codecs kbl_poppy_codecs = {
.codecs = {"10EC5663"} .codecs = {"10EC5663"}
}; };
static struct sst_codecs kbl_5663_5514_codecs = {
.num_codecs = 2,
.codecs = {"10EC5663", "10EC5514"}
};
static struct sst_acpi_mach sst_skl_devdata[] = { static struct sst_acpi_mach sst_skl_devdata[] = {
{ {
.id = "INT343A", .id = "INT343A",
@ -958,6 +964,14 @@ static struct sst_acpi_mach sst_kbl_devdata[] = {
.quirk_data = &kbl_codecs, .quirk_data = &kbl_codecs,
.pdata = &skl_dmic_data .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", .id = "MX98927",
.drv_name = "kbl_rt5663_m98927", .drv_name = "kbl_rt5663_m98927",