Skip to contentSkip to conversation

ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec

PATCH Applied Bard Liao 3 participants 4 messages Oct 27, 2021 – Nov 20, 2021 Sound

lore
Share & tools
lore

Bard Liao

author
#0 lore raw

PATCH 1/1 ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec

From: Pierre-Louis Bossart <[email protected]>

These devices are based on an I2C/I2S device, we need to force the use of the SOF driver otherwise the legacy HDaudio driver will be loaded - only HDMI will be supported.

We previously added support for other Intel platforms but missed JasperLake.

Fixes 9d36ceab9415 ('ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec')
---
 sound/hda/intel-dsp-config.c | 9 +++++++++
 1 file changed, 9 insertions(+)
sound/hda/intel-dsp-config.c +9 -0
index b9ac9e9e45a4..10a0bffc3cf6 100644
@@ -299,6 +299,15 @@ static const struct config_entry config_table[] = {
 	},
 #endif
 
+/* JasperLake */
+#if IS_ENABLED(CONFIG_SND_SOC_SOF_JASPERLAKE)
+	{
+		.flags = FLAG_SOF,
+		.device = 0x4dc8,
+		.codec_hid = "ESSX8336",
+	},
+#endif
+
 /* Tigerlake */
 #if IS_ENABLED(CONFIG_SND_SOC_SOF_TIGERLAKE)
 	{
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Bard Liao

From: Pierre-Louis Bossart <[email protected]>

These devices are based on an I2C/I2S device, we need to force the use of the SOF driver otherwise the legacy HDaudio driver will be loaded - only HDMI will be supported.

Quoted 8 lines

We previously added support for other Intel platforms but missed JasperLake.

Fixes 9d36ceab9415 ('ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec')

As the commit still didn't reach to me but only in Mark's tree, it should go through asoc tree.

thanks,

Takashi

#2 lore raw
Quoted 18 lines · Takashi Iwai
Quoted 7 lines · Bard Liao

From: Pierre-Louis Bossart <[email protected]>

These devices are based on an I2C/I2S device, we need to force the use of the SOF driver otherwise the legacy HDaudio driver will be loaded - only HDMI will be supported.

Quoted 8 lines

We previously added support for other Intel platforms but missed JasperLake.

Fixes 9d36ceab9415 ('ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec')
Quoted 4 lines

As the commit still didn't reach to me but only in Mark's tree, it should go through asoc tree.

Looks like this patch was missed, likely a merge window effect?

Takashi, you should be able to apply this on your tree now? or do you want me to resend it?

Thanks
-Pierre

Applied
#3 lore raw
Quoted 25 lines · Pierre-Louis Bossart
Quoted 21 lines · Takashi Iwai
Quoted 7 lines · Bard Liao

From: Pierre-Louis Bossart <[email protected]>

These devices are based on an I2C/I2S device, we need to force the use of the SOF driver otherwise the legacy HDaudio driver will be loaded - only HDMI will be supported.

Quoted 8 lines

We previously added support for other Intel platforms but missed JasperLake.

Fixes 9d36ceab9415 ('ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec')

As the commit still didn't reach to me but only in Mark's tree, it should go through asoc tree.

Quoted 6 lines
Quoted 1 line

Looks like this patch was missed, likely a merge window effect?

Takashi, you should be able to apply this on your tree now? or do you want me to resend it?

I merged it now. Thanks!

Takashi