summaryrefslogtreecommitdiff
path: root/util/inteltool/gpio_groups.c
diff options
context:
space:
mode:
authorMichał Kopeć <michal.kopec@3mdeb.com>2022-04-05 10:40:03 +0200
committerMartin L Roth <gaumless@tutanota.com>2022-05-28 14:36:50 +0000
commit2d8edebc97f5d2cd05968d6df8d3fb3e9878396a (patch)
tree8d146e6758f260673ab88eced65ad9992c5b6040 /util/inteltool/gpio_groups.c
parentd74089d7188cc369d5154c699f844acf459f33d6 (diff)
util/inteltool: Add support for Alder Lake chips detection and GPIOs
Add PCI IDs for Alder Lake H devices and their GPIO tables. PCI IDs as per Intel PCH-H EDS Vol1 (doc #619362). TEST=dump GPIOs on i5-12600K with Z690 chipset Change-Id: I0001395517e1e7977b0f808d5d74cf85c52298d6 Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63374 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'util/inteltool/gpio_groups.c')
-rw-r--r--util/inteltool/gpio_groups.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c
index 2bafab6396..28a5f65af3 100644
--- a/util/inteltool/gpio_groups.c
+++ b/util/inteltool/gpio_groups.c
@@ -19,6 +19,7 @@
#include "gpio_names/lewisburg.h"
#include "gpio_names/sunrise.h"
#include "gpio_names/tigerlake.h"
+#include "gpio_names/alderlake_h.h"
#define SBBAR_SIZE (16 * MiB)
#define PCR_PORT_SIZE (64 * KiB)
@@ -202,6 +203,20 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s
*community_count = ARRAY_SIZE(tigerlake_pch_h_communities);
*pad_stepping = 16;
return tigerlake_pch_h_communities;
+ case PCI_DEVICE_ID_INTEL_H610:
+ case PCI_DEVICE_ID_INTEL_B660:
+ case PCI_DEVICE_ID_INTEL_H670:
+ case PCI_DEVICE_ID_INTEL_Q670:
+ case PCI_DEVICE_ID_INTEL_Z690:
+ case PCI_DEVICE_ID_INTEL_W680:
+ case PCI_DEVICE_ID_INTEL_W685:
+ case PCI_DEVICE_ID_INTEL_WM690:
+ case PCI_DEVICE_ID_INTEL_HM670:
+ case PCI_DEVICE_ID_INTEL_WM790:
+ case PCI_DEVICE_ID_INTEL_HM770:
+ *community_count = ARRAY_SIZE(alderlake_pch_h_communities);
+ *pad_stepping = 16;
+ return alderlake_pch_h_communities;
default:
return NULL;
}