Skip to contentSkip to conversation

ASoC/SOF/PCI/Intel: add PantherLake H support

PATCH Superseded Peter Ujfalusi 3 participants 8 messages Feb 7, 2025

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Peter Ujfalusi

author maintainer
#0 lore raw

cover ASoC/SOF/PCI/Intel: add PantherLake H support

Hi,

The audio IP in PTL-H is identical to the already supported PTL but the PCI-ID has been changes due to the differences in the product's configuration outside of audio.

To support PTL-H we really just need to wire up the new ID.

Regards,
Peter
---
Peter Ujfalusi (1):
ASoC: SOF: Intel: pci-ptl: Add support for PTL-H

Pierre-Louis Bossart (3):
PCI: pci_ids: add INTEL_HDA_PTL_H
ALSA: hda: intel-dsp-config: Add PTL-H support
ALSA: hda: hda-intel: add Panther Lake-H support

 include/linux/pci_ids.h       | 1 +
 sound/hda/intel-dsp-config.c  | 5 +++++
 sound/pci/hda/hda_intel.c     | 2 ++
 sound/soc/sof/intel/pci-ptl.c | 1 +
 4 files changed, 9 insertions(+)
Signature · 1 line
2.48.1
author maintainer
#1 lore raw

PATCH 1/4 PCI: pci_ids: add INTEL_HDA_PTL_H

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

More PCI ids for Intel audio.

---
 include/linux/pci_ids.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/pci_ids.h +1 -0
index de5deb1a0118..1a2594a38199 100644
@@ -3134,6 +3134,7 @@
 #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
 #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
 #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
+#define PCI_DEVICE_ID_INTEL_HDA_PTL_H	0xe328
 #define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428
 #define PCI_DEVICE_ID_INTEL_HDA_CML_R	0xf0c8
 #define PCI_DEVICE_ID_INTEL_HDA_RKL_S	0xf1c8
Signature · 1 line
2.48.1
author maintainer
#3 lore raw

PATCH 2/4 ALSA: hda: intel-dsp-config: Add PTL-H support

In reply to Peter Ujfalusi

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

Same recipes as PTL

---
 sound/hda/intel-dsp-config.c | 5 +++++
 1 file changed, 5 insertions(+)
sound/hda/intel-dsp-config.c +5 -0
index f564ec7af194..ce3ae2cba660 100644
@@ -539,6 +539,11 @@ static const struct config_entry config_table[] = {
 		.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
 		.device = PCI_DEVICE_ID_INTEL_HDA_PTL,
 	},
+	{
+		.flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE,
+		.device = PCI_DEVICE_ID_INTEL_HDA_PTL_H,
+	},
+
 #endif
 
 };
Signature · 1 line
2.48.1
author maintainer
#4 lore raw

PATCH 3/4 ASoC: SOF: Intel: pci-ptl: Add support for PTL-H

In reply to Peter Ujfalusi

PTL-H uses the same configuration as PTL.

---
 sound/soc/sof/intel/pci-ptl.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/sof/intel/pci-ptl.c +1 -0
index 0aacdfac9fb4..c4fb6a2441b7 100644
@@ -50,6 +50,7 @@ static const struct sof_dev_desc ptl_desc = {
 /* PCI IDs */
 static const struct pci_device_id sof_pci_ids[] = {
 	{ PCI_DEVICE_DATA(INTEL, HDA_PTL, &ptl_desc) }, /* PTL */
+	{ PCI_DEVICE_DATA(INTEL, HDA_PTL_H, &ptl_desc) }, /* PTL-H */
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, sof_pci_ids);
Signature · 1 line
2.48.1
author maintainer
#6 lore raw

PATCH 4/4 ALSA: hda: hda-intel: add Panther Lake-H support

In reply to Peter Ujfalusi

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

One more PCI ID.

---
 sound/pci/hda/hda_intel.c | 2 ++
 1 file changed, 2 insertions(+)
sound/pci/hda/hda_intel.c +2 -0
index 7d7f9aac50a9..67540e037309 100644
@@ -2496,6 +2496,8 @@ static const struct pci_device_id azx_ids[] = {
 	{ PCI_DEVICE_DATA(INTEL, HDA_ARL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE) },
 	/* Panther Lake */
 	{ PCI_DEVICE_DATA(INTEL, HDA_PTL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_LNL) },
+	/* Panther Lake-H */
+	{ PCI_DEVICE_DATA(INTEL, HDA_PTL_H, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_LNL) },
 	/* Apollolake (Broxton-P) */
 	{ PCI_DEVICE_DATA(INTEL, HDA_APL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_BROXTON) },
 	/* Gemini-Lake */
Signature · 1 line
2.48.1
author maintainer
#7 lore raw
In reply to Peter Ujfalusi
Quoted 7 lines · Peter Ujfalusi

Hi,

The audio IP in PTL-H is identical to the already supported PTL but the PCI-ID has been changes due to the differences in the product's configuration outside of audio.

To support PTL-H we really just need to wire up the new ID.

Somehow I have missed Takashi-san from recipients list... Cc-d in here, sorry.

Quoted 18 lines

Regards,
Peter
---
Peter Ujfalusi (1):
ASoC: SOF: Intel: pci-ptl: Add support for PTL-H

Pierre-Louis Bossart (3):
PCI: pci_ids: add INTEL_HDA_PTL_H
ALSA: hda: intel-dsp-config: Add PTL-H support
ALSA: hda: hda-intel: add Panther Lake-H support

 include/linux/pci_ids.h       | 1 +
 sound/hda/intel-dsp-config.c  | 5 +++++
 sound/pci/hda/hda_intel.c     | 2 ++
 sound/soc/sof/intel/pci-ptl.c | 1 +
 4 files changed, 9 insertions(+)
Signature · 1 line
Péter
Acked-by on v1 1/4
#2 lore raw

Re: [PATCH 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H

In reply to Peter Ujfalusi

Please update subject to match the history, e.g.,

PCI: Add Intel PTL-H audio Device ID

Quoted 3 lines · Peter Ujfalusi

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

More PCI ids for Intel audio.

Add Intel PTL-H audio Device ID.

Quoted 4 lines
Quoted 19 lines
---
 include/linux/pci_ids.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/pci_ids.h +1 -0
index de5deb1a0118..1a2594a38199 100644
@@ -3134,6 +3134,7 @@
 #define PCI_DEVICE_ID_INTEL_HDA_LNL_P	0xa828
 #define PCI_DEVICE_ID_INTEL_S21152BB	0xb152
 #define PCI_DEVICE_ID_INTEL_HDA_BMG	0xe2f7
+#define PCI_DEVICE_ID_INTEL_HDA_PTL_H	0xe328
 #define PCI_DEVICE_ID_INTEL_HDA_PTL	0xe428
 #define PCI_DEVICE_ID_INTEL_HDA_CML_R	0xf0c8
 #define PCI_DEVICE_ID_INTEL_HDA_RKL_S	0xf1c8
Signature · 1 line
2.48.1