From nobody Wed Sep 07 16:03:59 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MN6WN0SB8z4bX8X; Wed, 7 Sep 2022 16:04:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MN6WM739Nz3wwH; Wed, 7 Sep 2022 16:03:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662566640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YyA8YOQo/4ExXkPm1n2AHIjQPhog7iaqWaybnwcTHDU=; b=WjNvmSbZcMr7l0JM/ho1kz2BA9HF2Uea4yFjtatZaElZ432GfvnCL4eqBRnEEg/KwnPHNo s7K7xzOcBYlwHjy3di6S52o3O8ZC6DG2wvQK+OvnpEDUbCyeq8CQlRwJ4KhB+dg/4dm+qp yRtdPkDM0iZ7d25DtrU/3+ClAZXkPFIzpVE3h3fowxbee3e7jvcdwxD5FqKpvhi3E4xUkk 0KM9xi6DnelwL4qZNTxHCIDpNTHX4iq8EiaV8is5lCC+bVcE/6QIKPVJnNi2dhJZtOftQ8 VQdWChsU+wzIt0guYnmEe7KsUtE86PsVd2wDRIkQP98hIA+nSE6zy48gD0CFdg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MN6WM63wHzZpp; Wed, 7 Sep 2022 16:03:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 287G3x6D092493; Wed, 7 Sep 2022 16:03:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287G3x5a092492; Wed, 7 Sep 2022 16:03:59 GMT (envelope-from git) Date: Wed, 7 Sep 2022 16:03:59 GMT Message-Id: <202209071603.287G3x5a092492@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Neel Chauhan Subject: git: 22ecfc580b48 - main - snd_hda: Add the full Intel AlderLake HD Audio PCI IDs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 22ecfc580b4834e3e9871944de62ce0c5ff0cd38 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662566640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YyA8YOQo/4ExXkPm1n2AHIjQPhog7iaqWaybnwcTHDU=; b=ukPpOOLR0ss6G0PfgxAvDmAr8S+KENMna4C0afpvYfqDIhm/nBvJ6sRUgADoDFk/1hjZnv zcuf2dQupOjBdNFIBvbr2iiHP/QqT7F7T7rEpkyWbVQFmDj2irR3n81X+R2o9XlYXFS0bi ePaLWkiRmpHhHgR75ahe6BDZGdbZwpyUpfunstxpY6Y0RcwRnFY+pOdCGVqAdQ/bPJmnif mcmjgAar46MsB75WWEXlEm5eQE8OvB43n8NbVXhPtQoL/2DZiV4LrYMDsDSpIuas9Zvgd/ 21Z7bIA7fxx108iJraXiSKRxlT9CWjeClTnkcpY8ws0WZynZA3+Ev6sH7Gi2tA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662566640; a=rsa-sha256; cv=none; b=Gx22QRvSM+IKObrZJOWyy9xANm4jCo3FdBHP6itdnBI5chXZCad8EOW+IK4qu/yjZW7+tD cyX21QtsVGlinK2+kSmuK0qmib160C27QxBVXxdsPjNN1NA9aiZVyvyrQewksl+38f33cC WEyECjeHi3rY0ry+dLlo3+hbS15kEkCL4pqUmF1IHpy/GEdYy3qundoQno2+f/ecWYizBE mNaLydObftPdE29wjMN6lPbKQWMZoNJEti4m3SZEAWIBPNeQO7a5/LNVrlOAm6vb3cQIgh pXDz2vjNQiXo563/xGRsef1zpeakEourn+vQmtTuYhBEe32C550T8zCnszq4PA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by nc (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=22ecfc580b4834e3e9871944de62ce0c5ff0cd38 commit 22ecfc580b4834e3e9871944de62ce0c5ff0cd38 Author: Neel Chauhan AuthorDate: 2022-09-07 02:35:02 +0000 Commit: Neel Chauhan CommitDate: 2022-09-07 16:03:56 +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 --- 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 764a2739c76f..35a2a5b0af99 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 80284a20ff11..886669898005 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)