From nobody Tue Aug 13 12:55:38 2024 X-Original-To: dev-commits-src-all@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 4WjrwB4F4Sz5Sdkp; Tue, 13 Aug 2024 12:55:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WjrwB3mhxz41w8; Tue, 13 Aug 2024 12:55:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723553738; 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=Ibi2dUDbL0OrgmXhnyoDVFAKWi23jaRsmryo263R2og=; b=LMctxzKRQBrgfHfia5x4FGS4hwHfy6ng+Pz2noZl2Zu5PsPNMUyK3qwJCOG/ZPYKmhP8jo b0q18yhNNkE0GFoN0MlweaGK9sKb6YIb/V24YGHtQrjLdK/zpL08CKolf/NJpnc20DVDcg e6kiDW3cUwU5avOBp/OPv27YH817c/+ZHzB2QSKS1Kbb7qlsqc5MzdsDa1hW1F0bSxJOVr U1od5fgdiDRW1jVg5N3eWWfnYZdn1dBVSfRhoCEiz019rwc857JsjrN0JHJ5FsLNHx8NHe bbkjAf6o61AlLOE10cTOG5XP+1la/gyIOsTZEvwuxJyiUWDnRAA1A1ks7GQKOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723553738; a=rsa-sha256; cv=none; b=QM0qsOKz9qZzq4hr2bq/s/HjfyJ3nSDGHr5soiPPorTd2C3LTCXZhZi3vVPN1+pPZOunXq 18KtxHXNoyvFdmEiCB8v9eATO48PQDemxxvwfrFMfVvh0Sb5Zmg1wx9dF68EwQTy9KRsVq 9gDB1eNJgdgazX4/VYiCQJOQ49juimsRfX580CPLFVYMn12y3VRaEFIy90SfW0v9wp0weJ EZvZVGn0sXdyM5qxs5cg3s1pSRaMXrmVOY65Mafts40ZdOa8vbSim98p4G5UX/NfHp7jOz lP2Be0qxhoPPLn+4WyUeCxxX+c1f1o/nla40NLrwdscchtXo/uRw+4Kokk3EnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723553738; 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=Ibi2dUDbL0OrgmXhnyoDVFAKWi23jaRsmryo263R2og=; b=raKooAjUB3vNtQ7NrBngR2qK2bDwZnyohbrLno6ZUUf0xnieC58fjTtmnPOY7UlvqOYnjP xprJ55VX6Rduew6VDh2AGSdv0HzF/S7rOc0AMxr+FF+201nXi6lpI2+YKF6CW+NkEeknjJ Hm1feWynXmUM0JzlayqKBHogNtpxG2Yd6kKtK+Rx7tDkUDRUx1yzLgsgHtTwdGcsWVg6DJ oAxEZqmCgLM0BZzpEsANNFOeaTRWDr5FggjdvtyHOS/bryva0VYUg7uU4Xkg/KCOwZPCUM jG4LNQR6BBogrDG4jZZJ+ozyINS9eIL0j0HFpRvMuqPFb9GxsyMH194YkgkVKw== 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 4WjrwB3MvVz1B36; Tue, 13 Aug 2024 12:55:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47DCtcUC077123; Tue, 13 Aug 2024 12:55:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47DCtcXf077120; Tue, 13 Aug 2024 12:55:38 GMT (envelope-from git) Date: Tue, 13 Aug 2024 12:55:38 GMT Message-Id: <202408131255.47DCtcXf077120@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Li-Wen Hsu Subject: git: d3b05d0ea10a - main - Add smbus and i2c device IDs for Meteor Lake List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d3b05d0ea10abe059dc63c6fb6ef3f061b758af2 Auto-Submitted: auto-generated The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=d3b05d0ea10abe059dc63c6fb6ef3f061b758af2 commit d3b05d0ea10abe059dc63c6fb6ef3f061b758af2 Author: SHENG-YI HONG AuthorDate: 2024-08-13 12:22:43 +0000 Commit: Li-Wen Hsu CommitDate: 2024-08-13 12:52:19 +0000 Add smbus and i2c device IDs for Meteor Lake Reviewed by: emaste, Daniel Schaefer MFC after: 3 days Sponsored by: Framework Computer Inc Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46249 --- sys/dev/ichiic/ig4_pci.c | 8 ++++++++ sys/dev/ichsmb/ichsmb_pci.c | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/sys/dev/ichiic/ig4_pci.c b/sys/dev/ichiic/ig4_pci.c index 9f12e713cdeb..138de77c35db 100644 --- a/sys/dev/ichiic/ig4_pci.c +++ b/sys/dev/ichiic/ig4_pci.c @@ -168,6 +168,10 @@ static int ig4iic_pci_detach(device_t dev); #define PCI_CHIP_ALDERLAKE_M_I2C_3 0x54eb8086 #define PCI_CHIP_ALDERLAKE_M_I2C_4 0x54c58086 #define PCI_CHIP_ALDERLAKE_M_I2C_5 0x54c68086 +#define PCI_CHIP_METEORLAKE_M_I2C_0 0x7e788086 +#define PCI_CHIP_METEORLAKE_M_I2C_1 0x7e798086 +#define PCI_CHIP_METEORLAKE_M_I2C_2 0x7e508086 +#define PCI_CHIP_METEORLAKE_M_I2C_3 0x7e518086 struct ig4iic_pci_device { uint32_t devid; @@ -280,6 +284,10 @@ static struct ig4iic_pci_device ig4iic_pci_devices[] = { { PCI_CHIP_ALDERLAKE_M_I2C_3, "Intel Alder Lake-M I2C Controller-3", IG4_TIGERLAKE}, { PCI_CHIP_ALDERLAKE_M_I2C_4, "Intel Alder Lake-M I2C Controller-4", IG4_TIGERLAKE}, { PCI_CHIP_ALDERLAKE_M_I2C_5, "Intel Alder Lake-M I2C Controller-5", IG4_TIGERLAKE}, + { PCI_CHIP_METEORLAKE_M_I2C_0, "Intel Meteor Lake-M I2C Controller-0", IG4_TIGERLAKE}, + { PCI_CHIP_METEORLAKE_M_I2C_1, "Intel Meteor Lake-M I2C Controller-1", IG4_TIGERLAKE}, + { PCI_CHIP_METEORLAKE_M_I2C_2, "Intel Meteor Lake-M I2C Controller-2", IG4_TIGERLAKE}, + { PCI_CHIP_METEORLAKE_M_I2C_3, "Intel Meteor Lake-M I2C Controller-3", IG4_TIGERLAKE}, }; static int diff --git a/sys/dev/ichsmb/ichsmb_pci.c b/sys/dev/ichsmb/ichsmb_pci.c index 675a15daaf1b..728bb942d503 100644 --- a/sys/dev/ichsmb/ichsmb_pci.c +++ b/sys/dev/ichsmb/ichsmb_pci.c @@ -113,6 +113,9 @@ #define ID_ALDERLAKE 0x7aa3 #define ID_ALDERLAKE2 0x51a3 #define ID_ALDERLAKE3 0x54a3 +#define ID_METEORLAKE 0x7e22 +#define ID_METEORLAKE2 0x7f23 +#define ID_METEORLAKE3 0xae22 static const struct pci_device_table ichsmb_devices[] = { { PCI_DEV(PCI_VENDOR_INTEL, ID_82801AA), @@ -215,6 +218,12 @@ static const struct pci_device_table ichsmb_devices[] = { PCI_DESCR("Intel Alder Lake SMBus controller") }, { PCI_DEV(PCI_VENDOR_INTEL, ID_ALDERLAKE3), PCI_DESCR("Intel Alder Lake SMBus controller") }, + { PCI_DEV(PCI_VENDOR_INTEL, ID_METEORLAKE), + PCI_DESCR("Intel Meteor Lake SMBus controller") }, + { PCI_DEV(PCI_VENDOR_INTEL, ID_METEORLAKE2), + PCI_DESCR("Intel Meteor Lake SMBus controller") }, + { PCI_DEV(PCI_VENDOR_INTEL, ID_METEORLAKE3), + PCI_DESCR("Intel Meteor Lake SMBus controller") }, }; /* Internal functions */