public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support
@ 2025-02-10  8:17 Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H Peter Ujfalusi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2025-02-10  8:17 UTC (permalink / raw)
  To: lgirdwood, broonie, tiwai
  Cc: linux-sound, kai.vehmanen, ranjani.sridharan, yung-chuan.liao,
	pierre-louis.bossart, bhelgaas, linux-pci, linux-kernel

Hi,

Changes since v1:
- Updated the commit messages
- added the Acked-by from Bjorn and Mark

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(+)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H
  2025-02-10  8:17 [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Peter Ujfalusi
@ 2025-02-10  8:17 ` Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 2/4] ALSA: hda: intel-dsp-config: Add PTL-H support Peter Ujfalusi
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2025-02-10  8:17 UTC (permalink / raw)
  To: lgirdwood, broonie, tiwai
  Cc: linux-sound, kai.vehmanen, ranjani.sridharan, yung-chuan.liao,
	pierre-louis.bossart, bhelgaas, linux-pci, linux-kernel

From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

Add Intel PTL-H audio Device ID.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
---
 include/linux/pci_ids.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index de5deb1a0118..1a2594a38199 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -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
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/4] ALSA: hda: intel-dsp-config: Add PTL-H support
  2025-02-10  8:17 [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H Peter Ujfalusi
@ 2025-02-10  8:17 ` Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 3/4] ASoC: SOF: Intel: pci-ptl: Add support for PTL-H Peter Ujfalusi
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2025-02-10  8:17 UTC (permalink / raw)
  To: lgirdwood, broonie, tiwai
  Cc: linux-sound, kai.vehmanen, ranjani.sridharan, yung-chuan.liao,
	pierre-louis.bossart, bhelgaas, linux-pci, linux-kernel

From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

Use same recipes as PTL for PTL-H.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
 sound/hda/intel-dsp-config.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c
index f564ec7af194..ce3ae2cba660 100644
--- a/sound/hda/intel-dsp-config.c
+++ b/sound/hda/intel-dsp-config.c
@@ -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
 
 };
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 3/4] ASoC: SOF: Intel: pci-ptl: Add support for PTL-H
  2025-02-10  8:17 [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 2/4] ALSA: hda: intel-dsp-config: Add PTL-H support Peter Ujfalusi
@ 2025-02-10  8:17 ` Peter Ujfalusi
  2025-02-10  8:17 ` [PATCH v2 4/4] ALSA: hda: hda-intel: add Panther Lake-H support Peter Ujfalusi
  2025-02-10 17:14 ` [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Takashi Iwai
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2025-02-10  8:17 UTC (permalink / raw)
  To: lgirdwood, broonie, tiwai
  Cc: linux-sound, kai.vehmanen, ranjani.sridharan, yung-chuan.liao,
	pierre-louis.bossart, bhelgaas, linux-pci, linux-kernel

PTL-H uses the same configuration as PTL.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/sof/intel/pci-ptl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/sof/intel/pci-ptl.c b/sound/soc/sof/intel/pci-ptl.c
index 0aacdfac9fb4..c4fb6a2441b7 100644
--- a/sound/soc/sof/intel/pci-ptl.c
+++ b/sound/soc/sof/intel/pci-ptl.c
@@ -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);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 4/4] ALSA: hda: hda-intel: add Panther Lake-H support
  2025-02-10  8:17 [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Peter Ujfalusi
                   ` (2 preceding siblings ...)
  2025-02-10  8:17 ` [PATCH v2 3/4] ASoC: SOF: Intel: pci-ptl: Add support for PTL-H Peter Ujfalusi
@ 2025-02-10  8:17 ` Peter Ujfalusi
  2025-02-10 17:14 ` [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Takashi Iwai
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Ujfalusi @ 2025-02-10  8:17 UTC (permalink / raw)
  To: lgirdwood, broonie, tiwai
  Cc: linux-sound, kai.vehmanen, ranjani.sridharan, yung-chuan.liao,
	pierre-louis.bossart, bhelgaas, linux-pci, linux-kernel

From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>

Add Intel PTL-H audio Device ID.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
 sound/pci/hda/hda_intel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 7d7f9aac50a9..67540e037309 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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 */
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support
  2025-02-10  8:17 [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Peter Ujfalusi
                   ` (3 preceding siblings ...)
  2025-02-10  8:17 ` [PATCH v2 4/4] ALSA: hda: hda-intel: add Panther Lake-H support Peter Ujfalusi
@ 2025-02-10 17:14 ` Takashi Iwai
  4 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2025-02-10 17:14 UTC (permalink / raw)
  To: Peter Ujfalusi
  Cc: lgirdwood, broonie, tiwai, linux-sound, kai.vehmanen,
	ranjani.sridharan, yung-chuan.liao, pierre-louis.bossart,
	bhelgaas, linux-pci, linux-kernel

On Mon, 10 Feb 2025 09:17:26 +0100,
Peter Ujfalusi wrote:
> 
> Hi,
> 
> Changes since v1:
> - Updated the commit messages
> - added the Acked-by from Bjorn and Mark
> 
> 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

As all those are trivial ID-addition changes, I picked up now to
for-linus branch.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-10 17:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10  8:17 [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Peter Ujfalusi
2025-02-10  8:17 ` [PATCH v2 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H Peter Ujfalusi
2025-02-10  8:17 ` [PATCH v2 2/4] ALSA: hda: intel-dsp-config: Add PTL-H support Peter Ujfalusi
2025-02-10  8:17 ` [PATCH v2 3/4] ASoC: SOF: Intel: pci-ptl: Add support for PTL-H Peter Ujfalusi
2025-02-10  8:17 ` [PATCH v2 4/4] ALSA: hda: hda-intel: add Panther Lake-H support Peter Ujfalusi
2025-02-10 17:14 ` [PATCH v2 0/4] ASoC/SOF/PCI/Intel: add PantherLake H support Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox