From 1e4abafb5ecd3bba89f49a5a076df10ba5a0aaad Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 20 Jan 2022 18:14:23 +0530 Subject: crossystem: Add support for ADL-N gpiochip On Alder Lake-N platform, the pinctrl (gpiochip) driver label is "INTC1057:00", hence declare it properly. BUG=b:213535859 TEST=run 'crossystem wpsw_cur' and see '0' rather than an error on ADLRVP platform. Signed-off-by: Subrata Banik Change-Id: Ie742a43cd37b37a35b16e68fe4be44f9bb08ec5c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3404067 Reviewed-by: Subrata Banik Tested-by: Subrata Banik Auto-Submit: Subrata Banik Reviewed-by: Kangheui Won Commit-Queue: Kangheui Won --- host/arch/x86/lib/crossystem_arch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/host/arch/x86/lib/crossystem_arch.c b/host/arch/x86/lib/crossystem_arch.c index e805e2a9..d48cf877 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -733,6 +733,7 @@ static const struct GpioChipset chipsets_supported[] = { /* INTC105x are for Alderlake */ { "INTC1055:00", FindGpioChipOffsetByLabel }, { "INTC1056:00", FindGpioChipOffsetByLabel }, + { "INTC1057:00", FindGpioChipOffsetByLabel }, /* INT3453 are for GLK */ { "INT3453:00", FindGpioChipOffsetByLabel }, { "INT3453:01", FindGpioChipOffsetByLabel }, -- cgit v1.2.1