git: 79902c8c2de2 - stable/13 - Add Tempo Semiconductor 92HD95B HDA codec ID

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 23 Mar 2022 01:27:24 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=79902c8c2de263973d43cbc1c5a999db6f505a8c

commit 79902c8c2de263973d43cbc1c5a999db6f505a8c
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-03-16 15:39:27 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-03-23 01:27:16 +0000

    Add Tempo Semiconductor 92HD95B HDA codec ID
    
    This codec is found in recent versions of the Framework laptop.  Tempo
    Semiconductor acquired these products from IDT's Audio Business Unit.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit e997f3370082f8c5e304d16c441b096b80afc7b4)
---
 sys/dev/sound/pci/hda/hdac.h  | 3 ++-
 sys/dev/sound/pci/hda/hdacc.c | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index d8894c8b3919..d74130ba4cb9 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -536,7 +536,7 @@
 #define HDA_CODEC_STAC9220_A1	HDA_CODEC_CONSTRUCT(SIGMATEL, 0x7882)
 #define HDA_CODEC_STACXXXX	HDA_CODEC_CONSTRUCT(SIGMATEL, 0xffff)
 
-/* IDT */
+/* IDT / Tempo Semiconductor */
 #define IDT_VENDORID		0x111d
 #define HDA_CODEC_IDT92HD75BX	HDA_CODEC_CONSTRUCT(IDT, 0x7603)
 #define HDA_CODEC_IDT92HD83C1X	HDA_CODEC_CONSTRUCT(IDT, 0x7604)
@@ -545,6 +545,7 @@
 #define HDA_CODEC_IDT92HD73D1	HDA_CODEC_CONSTRUCT(IDT, 0x7674)
 #define HDA_CODEC_IDT92HD73C1	HDA_CODEC_CONSTRUCT(IDT, 0x7675)
 #define HDA_CODEC_IDT92HD73E1	HDA_CODEC_CONSTRUCT(IDT, 0x7676)
+#define HDA_CODEC_IDT92HD95B	HDA_CODEC_CONSTRUCT(IDT, 0x7695)
 #define HDA_CODEC_IDT92HD71B8	HDA_CODEC_CONSTRUCT(IDT, 0x76b0)
 #define HDA_CODEC_IDT92HD71B8_2	HDA_CODEC_CONSTRUCT(IDT, 0x76b1)
 #define HDA_CODEC_IDT92HD71B7	HDA_CODEC_CONSTRUCT(IDT, 0x76b2)
diff --git a/sys/dev/sound/pci/hda/hdacc.c b/sys/dev/sound/pci/hda/hdacc.c
index 06c1eb444dce..9166108c1aa6 100644
--- a/sys/dev/sound/pci/hda/hdacc.c
+++ b/sys/dev/sound/pci/hda/hdacc.c
@@ -269,6 +269,7 @@ static const struct {
 	{ HDA_CODEC_IDT92HD90BXX, 0,	"IDT 92HD90BXX" },
 	{ HDA_CODEC_IDT92HD91BXX, 0,	"IDT 92HD91BXX" },
 	{ HDA_CODEC_IDT92HD93BXX, 0,	"IDT 92HD93BXX" },
+	{ HDA_CODEC_IDT92HD95B, 0,	"Tempo 92HD95B" },
 	{ HDA_CODEC_IDT92HD98BXX, 0,	"IDT 92HD98BXX" },
 	{ HDA_CODEC_IDT92HD99BXX, 0,	"IDT 92HD99BXX" },
 	{ HDA_CODEC_CX20549, 0,		"Conexant CX20549 (Venice)" },