git: 08c067462227 - stable/13 - snd_hda: Add the full Intel AlderLake HD Audio PCI IDs

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Sat, 10 Sep 2022 01:07:32 UTC
The branch stable/13 has been updated by nc (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=08c067462227bb5544edce2c1a8499a706fe448c

commit 08c067462227bb5544edce2c1a8499a706fe448c
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-09-07 02:35:02 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-09-10 01:07:20 +0000

    snd_hda: Add the full Intel AlderLake HD Audio PCI IDs
    
    This is based off the Linux file sound/hda/intel-dsp-config.c.
    
    Reviewed by:            imp (src)
    Tested on:              HP Spectre x360 16-f0023dx
    MFC after:              3 days
    Differential Revision:  https://reviews.freebsd.org/D36476
    
    (cherry picked from commit 22ecfc580b4834e3e9871944de62ce0c5ff0cd38)
---
 sys/dev/sound/pci/hda/hdac.c | 8 ++++++++
 sys/dev/sound/pci/hda/hdac.h | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 92af1a79ccd2..e6326b952674 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -113,6 +113,14 @@ static const struct {
 	{ HDA_INTEL_TGLK,    "Intel Tiger Lake",	0, 0 },
 	{ HDA_INTEL_GMLK,    "Intel Gemini Lake",	0, 0 },
 	{ HDA_INTEL_ALLK,    "Intel Alder Lake",	0, 0 },
+	{ HDA_INTEL_ALLKM,   "Intel Alder Lake-M",	0, 0 },
+	{ HDA_INTEL_ALLKN,   "Intel Alder Lake-N",	0, 0 },
+	{ HDA_INTEL_ALLKP1,  "Intel Alder Lake-P",	0, 0 },
+	{ HDA_INTEL_ALLKP2,  "Intel Alder Lake-P",	0, 0 },
+	{ HDA_INTEL_ALLKPS,  "Intel Alder Lake-PS",	0, 0 },
+	{ 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_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 802e2e8f4ec4..8e7990acd73c 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -72,6 +72,13 @@
 #define HDA_INTEL_BXTNP		HDA_MODEL_CONSTRUCT(INTEL, 0x5a98)
 #define HDA_INTEL_MACBOOKPRO92	HDA_MODEL_CONSTRUCT(INTEL, 0x7270)
 #define HDA_INTEL_ALLK		HDA_MODEL_CONSTRUCT(INTEL, 0x7ad0)
+#define HDA_INTEL_ALLKM		HDA_MODEL_CONSTRUCT(INTEL, 0x51cc)
+#define HDA_INTEL_ALLKN		HDA_MODEL_CONSTRUCT(INTEL, 0x54c8)
+#define HDA_INTEL_ALLKP1	HDA_MODEL_CONSTRUCT(INTEL, 0x51c8)
+#define HDA_INTEL_ALLKP2	HDA_MODEL_CONSTRUCT(INTEL, 0x51cd)
+#define HDA_INTEL_ALLKPS	HDA_MODEL_CONSTRUCT(INTEL, 0x51c9)
+#define HDA_INTEL_RPTLK1	HDA_MODEL_CONSTRUCT(INTEL, 0x51ca)
+#define HDA_INTEL_RPTLK2	HDA_MODEL_CONSTRUCT(INTEL, 0x51cb)
 #define HDA_INTEL_SCH		HDA_MODEL_CONSTRUCT(INTEL, 0x811b)
 #define HDA_INTEL_LPT1		HDA_MODEL_CONSTRUCT(INTEL, 0x8c20)
 #define HDA_INTEL_LPT2		HDA_MODEL_CONSTRUCT(INTEL, 0x8c21)