From eacc1c7ea961016a4675f494ccfaebb53f68b777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Lewi=C5=84ski?= Date: Fri, 12 Apr 2024 16:39:47 +0200 Subject: util/inteltool: add Meteor Lake support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on: Intel Core Ultra Processor External Design Specification Meteor Lake SOC IO Registers Meteor Lake-U/H/U Type4 and Arrow Lake-U/H GPIO Implementation Summary Change-Id: I7473119fa97c57cd2a1303f08f964abd0ca96270 Signed-off-by: Filip Lewiński Reviewed-on: https://review.coreboot.org/c/coreboot/+/81843 Tested-by: build bot (Jenkins) Reviewed-by: Michał Kopeć --- util/inteltool/gpio_groups.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'util/inteltool/gpio_groups.c') diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c index f7ac7ceb42..6efbfcb131 100644 --- a/util/inteltool/gpio_groups.c +++ b/util/inteltool/gpio_groups.c @@ -25,6 +25,7 @@ #include "gpio_names/alderlake_p.h" #include "gpio_names/elkhartlake.h" #include "gpio_names/jasperlake.h" +#include "gpio_names/meteorlake.h" #define SBBAR_SIZE (16 * MiB) #define PCR_PORT_SIZE (64 * KiB) @@ -254,7 +255,17 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s *community_count = ARRAY_SIZE(elkhartlake_pch_communities); *pad_stepping = 16; return elkhartlake_pch_communities; - + case PCI_DEVICE_ID_INTEL_MTL_0: + case PCI_DEVICE_ID_INTEL_MTL_1: + case PCI_DEVICE_ID_INTEL_MTL_2: + case PCI_DEVICE_ID_INTEL_MTL_3: + case PCI_DEVICE_ID_INTEL_MTL_4: + case PCI_DEVICE_ID_INTEL_MTL_5: + case PCI_DEVICE_ID_INTEL_MTL_6: + case PCI_DEVICE_ID_INTEL_MTL_7: + *community_count = ARRAY_SIZE(meteorlake_pch_communities); + *pad_stepping = 16; + return meteorlake_pch_communities; default: return NULL; } -- cgit v1.2.3