diff options
author | Filip Lewiński <filip.lewinski@3mdeb.com> | 2024-04-12 16:39:47 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-05-12 18:50:10 +0000 |
commit | eacc1c7ea961016a4675f494ccfaebb53f68b777 (patch) | |
tree | 109cdd98fe942c5895f381ba12d2035dd0f4e29c /util/inteltool/gpio_groups.c | |
parent | 6d5cc39a78caaa73d62a01e6a5c08351f1bc50b7 (diff) |
util/inteltool: add Meteor Lake support
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 <filip.lewinski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81843
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Kopeć <michal.kopec@3mdeb.com>
Diffstat (limited to 'util/inteltool/gpio_groups.c')
-rw-r--r-- | util/inteltool/gpio_groups.c | 13 |
1 files changed, 12 insertions, 1 deletions
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; } |