git: 0a902d7561ff - stable/14 - snd_hda: Add the full Intel Meteor/Arrow/Lunar Lake HD Audio PCI IDs

From: Michael Zhilin <mizhka_at_FreeBSD.org>
Date: Fri, 19 Apr 2024 06:57:34 UTC
The branch stable/14 has been updated by mizhka:

URL: https://cgit.FreeBSD.org/src/commit/?id=0a902d7561ff4e86c02807717fc07fef2767e7d3

commit 0a902d7561ff4e86c02807717fc07fef2767e7d3
Author:     Michael Zhilin <mizhka@FreeBSD.org>
AuthorDate: 2024-04-13 09:57:59 +0000
Commit:     Michael Zhilin <mizhka@FreeBSD.org>
CommitDate: 2024-04-19 06:37:07 +0000

    snd_hda: Add the full Intel Meteor/Arrow/Lunar Lake HD Audio PCI IDs
    
    This is based off the Linux file sound/hda/intel-dsp-config.c.
    
    Tested on:              Lenovo Thinkbook 16 G6+ IMH
    MFC after:              3 days
    Reviewed by:            markj, christos
    Differential Revision:  https://reviews.freebsd.org/D44777
    Sponsored by:           Postgres Professional
    
    (cherry picked from commit 1dd1a696c58fb275aa0e01666d57861eeb51878d)
---
 sys/dev/sound/pci/hda/hdac.c | 4 ++++
 sys/dev/sound/pci/hda/hdac.h | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 704bcad3822c..f3dff2052b51 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -118,6 +118,10 @@ static const struct {
 	{ HDA_INTEL_ALLKPS,  "Intel Alder Lake-PS",	0, 0 },
 	{ HDA_INTEL_RPTLK1,  "Intel Raptor Lake-P",	0, 0 },
 	{ HDA_INTEL_RPTLK2,  "Intel Raptor Lake-P",	0, 0 },
+	{ HDA_INTEL_MTL,     "Intel Meteor Lake-P",	0, 0 },
+	{ HDA_INTEL_ARLS,    "Intel Arrow Lake-S",	0, 0 },
+	{ HDA_INTEL_ARL,     "Intel Arrow Lake",	0, 0 },
+	{ HDA_INTEL_LNLP,    "Intel Lunar Lake-P",	0, 0 },
 	{ HDA_INTEL_82801F,  "Intel 82801F",	0, 0 },
 	{ HDA_INTEL_63XXESB, "Intel 631x/632xESB",	0, 0 },
 	{ HDA_INTEL_82801G,  "Intel 82801G",	0, 0 },
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index 53c101f3119b..4dd589ed2a09 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -98,6 +98,10 @@
 #define HDA_INTEL_CMLKLP	HDA_MODEL_CONSTRUCT(INTEL, 0x02c8)
 #define HDA_INTEL_CMLKH		HDA_MODEL_CONSTRUCT(INTEL, 0x06c8)
 #define HDA_INTEL_TGLK		HDA_MODEL_CONSTRUCT(INTEL, 0xa0c8)
+#define HDA_INTEL_MTL		HDA_MODEL_CONSTRUCT(INTEL, 0x7e28)
+#define HDA_INTEL_ARLS		HDA_MODEL_CONSTRUCT(INTEL, 0x7f50)
+#define HDA_INTEL_ARL		HDA_MODEL_CONSTRUCT(INTEL, 0x7728)
+#define HDA_INTEL_LNLP		HDA_MODEL_CONSTRUCT(INTEL, 0xa828)
 #define INTEL_A100ID_SUBVENDOR	HDA_MODEL_CONSTRUCT(INTEL, 0xa100)
 #define INTEL_D400ID_SUBVENDOR	HDA_MODEL_CONSTRUCT(INTEL, 0xd400)
 #define INTEL_D401ID_SUBVENDOR	HDA_MODEL_CONSTRUCT(INTEL, 0xd401)