diff options
author | Mac Chiang <mac.chiang@intel.com> | 2019-08-15 14:51:49 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-15 17:54:38 +0100 |
commit | c643c189f0fec116e75f9661e734545af0e3225e (patch) | |
tree | c591fa30e067daa95e25fbf455cc42301539ecf5 /sound/soc/intel/common/soc-acpi-intel-cnl-match.c | |
parent | ASoC: core: Move pcm_mutex up to card level from snd_soc_pcm_runtime (diff) | |
download | linux-dev-c643c189f0fec116e75f9661e734545af0e3225e.tar.xz linux-dev-c643c189f0fec116e75f9661e734545af0e3225e.zip |
ASoC: Intel: boards: Add Cometlake machine driver support
reuse and add Cometlake support with:
SSP0 for DA7219 headphone codec
SSP1 for MAX98357a speaker amp codec
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/1565851909-13825-1-git-send-email-mac.chiang@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/soc-acpi-intel-cnl-match.c')
-rw-r--r-- | sound/soc/intel/common/soc-acpi-intel-cnl-match.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/intel/common/soc-acpi-intel-cnl-match.c b/sound/soc/intel/common/soc-acpi-intel-cnl-match.c index 771b0ef21051..985aa366c9e8 100644 --- a/sound/soc/intel/common/soc-acpi-intel-cnl-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-cnl-match.c @@ -19,6 +19,11 @@ static struct snd_soc_acpi_codecs cml_codecs = { .codecs = {"10EC5682"} }; +static struct snd_soc_acpi_codecs cml_spk_codecs = { + .num_codecs = 1, + .codecs = {"MX98357A"} +}; + struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { { .id = "INT34C2", @@ -29,6 +34,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { .sof_tplg_filename = "sof-cnl-rt274.tplg", }, { + .id = "DLGS7219", + .drv_name = "cml_da7219_max98357a", + .quirk_data = &cml_spk_codecs, + .sof_fw_filename = "sof-cnl.ri", + .sof_tplg_filename = "sof-cml-da7219-max98357a.tplg", + }, + { .id = "MX98357A", .drv_name = "sof_rt5682", .quirk_data = &cml_codecs, |