From 07428e069dd06eb5b7a5379b3e6ab318f864ed46 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Thu, 9 Nov 2023 10:02:26 -0600 Subject: [PATCH 1/4] PCI: pci_ids: add INTEL_HDA_PTL_H More PCI ids for Intel audio. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Peter Ujfalusi --- 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 d2402bf4aea2d1..63987a546aba18 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3123,6 +3123,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 From 8586db2001cac3f2e2e0abacd524ac54d7a285af Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 26 Sep 2024 15:09:29 +0300 Subject: [PATCH 2/4] ASoC: SOF: Intel: pci-ptl: Add support for PTL-H PTL-H uses the same configuration as PTL. Signed-off-by: Peter Ujfalusi --- 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 0aacdfac9fb431..c4fb6a2441b765 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); From 9ee00ac5a36801f5360811cff1906a6c6f831563 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 20 Nov 2023 13:18:31 -0600 Subject: [PATCH 3/4] ALSA: hda: intel-dsp-config: Add PTL-H support Same recipes as PTL Signed-off-by: Pierre-Louis Bossart Signed-off-by: Peter Ujfalusi --- 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 c57528ccde4778..23ad57a69194f0 100644 --- a/sound/hda/intel-dsp-config.c +++ b/sound/hda/intel-dsp-config.c @@ -554,6 +554,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 }; From 65d6d4e9273f864ed5461a53579819261482fad9 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 20 Nov 2023 13:15:33 -0600 Subject: [PATCH 4/4] ALSA: hda: hda-intel: add Panther Lake-H support One more PCI ID. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Peter Ujfalusi --- 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 7d7f9aac50a91f..67540e03730995 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 */