git: 792937105454 - stable/13 - 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 07:23:50 UTC
The branch stable/13 has been updated by mizhka:

URL: https://cgit.FreeBSD.org/src/commit/?id=792937105454bed3bd23ff169fe2841265be095f

commit 792937105454bed3bd23ff169fe2841265be095f
Author:     Michael Zhilin <mizhka@FreeBSD.org>
AuthorDate: 2024-04-13 09:57:59 +0000
Commit:     Michael Zhilin <mizhka@FreeBSD.org>
CommitDate: 2024-04-19 07:23:36 +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 f5be149ae117..4d80bebb1195 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -120,6 +120,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 bcda5d563524..5079811d6f84 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)