Message ID | 20210805075804.7190-2-hui.wang@canonical.com |
---|---|
State | New |
Headers | show |
Series | Dell XPS 17 (9710) PCI/internal sound card not detected | expand |
On 05.08.21 09:58, Hui Wang wrote: > From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> > > BugLink: https://bugs.launchpad.net/bugs/1935850 > > This device has the same audio subsystem as the 0A5E skew (RT711 > headset codec, 2 RT1308 amps and RT715 for mic capture) > > BugLink: https://github.com/thesofproject/linux/issues/3057 > Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> > Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> > Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> > Reviewed-by: Bard Liao <bard.liao@intel.com> > Reviewed-by: FRED OH <fred.oh@intel.com> > Link: https://lore.kernel.org/r/20210802152151.15832-2-pierre-louis.bossart@linux.intel.com > Signed-off-by: Mark Brown <broonie@kernel.org> > (cherry picked from commit b8cab69b0ed9ee10f2a86670ce41ffad991c8dc9 linux-next) > Signed-off-by: Hui Wang <hui.wang@canonical.com> Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> Thanks > --- > sound/soc/intel/boards/sof_sdw.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c > index 9dc982c2c776..4227d6db8fba 100644 > --- a/sound/soc/intel/boards/sof_sdw.c > +++ b/sound/soc/intel/boards/sof_sdw.c > @@ -128,6 +128,18 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { > SOF_RT711_JD_SRC_JD2 | > SOF_RT715_DAI_ID_FIX), > }, > + { > + /* Dell XPS 9710 */ > + .callback = sof_sdw_quirk_cb, > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), > + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A5D") > + }, > + .driver_data = (void *)(SOF_SDW_TGL_HDMI | > + RT711_JD2 | > + SOF_RT715_DAI_ID_FIX | > + SOF_SDW_FOUR_SPK), > + }, > { > .callback = sof_sdw_quirk_cb, > .matches = { >
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 9dc982c2c776..4227d6db8fba 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -128,6 +128,18 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { SOF_RT711_JD_SRC_JD2 | SOF_RT715_DAI_ID_FIX), }, + { + /* Dell XPS 9710 */ + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A5D") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_RT715_DAI_ID_FIX | + SOF_SDW_FOUR_SPK), + }, { .callback = sof_sdw_quirk_cb, .matches = {