Skip to contentSkip to conversation

ASoC: Intel: sof_sdw: Add quirk for Dell Latitude 9420

PATCH In review HyeongJun An 2 participants 2 messages Nov 6 – Nov 9

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: Intel: sof_sdw: Add quirk for Dell Latitude 9420

The Dell Latitude 9420 (SKU 0A5B) is missing from the quirk table, so it gets the default RT711_JD1 jack detection source. With JD1 the rt711-sdca reports a headset with nothing plugged in, and the Headphone Jack and Headset Mic Jack controls stay on.

Add the SKU with the same quirks as the other Dell Tiger Lake SKUs, SOF_SDW_TGL_HDMI and RT711_JD2.

---
Tested on a Latitude 9420 (BIOS 1.39.1) with this entry on top of sound/for-next:
- with the jack empty, both jack controls read off (on without the entry)
- a 4-pole headset is reported on insertion and cleared on removal
- mixer-test and pcm-test give the same results as without the entry

Booting a kernel without the entry with snd_soc_sof_sdw.quirk=0x22 gives the same jack state. With quirk=0x23 (RT711_JD2_100K) a headset plug-in is not detected at all, so RT711_JD2 is the setting that works on this machine.

Prepared with Claude Code (Claude Opus 5.5). Tested on x86_64.

 sound/soc/intel/boards/sof_sdw.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
sound/soc/intel/boards/sof_sdw.c +10 -0
index 72fe013fffe8..41cc0969a428 100644
@@ -139,6 +139,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
 		.driver_data = (void *)(SOF_SDW_TGL_HDMI |
 					RT711_JD2),
 	},
+	{
+		/* Dell Latitude 9420 */
+		.callback = sof_sdw_quirk_cb,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0A5B")
+		},
+		.driver_data = (void *)(SOF_SDW_TGL_HDMI |
+					RT711_JD2),
+	},
 	{
 		/* Dell XPS 9710 */
 		.callback = sof_sdw_quirk_cb,
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 1 line · HyeongJun An

ASoC: Intel: sof_sdw: Add quirk for Dell Latitude 9420

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.4

Thanks!

[1/1] ASoC: Intel: sof_sdw: Add quirk for Dell Latitude 9420

      https://git.kernel.org/broonie/sound/c/c1a503972029

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark