summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-01-20 18:14:23 +0530
committerCommit Bot <commit-bot@chromium.org>2022-01-28 06:58:23 +0000
commit1e4abafb5ecd3bba89f49a5a076df10ba5a0aaad (patch)
tree31d3dee037f14cf408c271d49381152416fe3d8f
parent07e20c90e151ef411a7e4700352f9e8752c3ba44 (diff)
downloadvboot-1e4abafb5ecd3bba89f49a5a076df10ba5a0aaad.tar.gz
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 <subratabanik@google.com> Change-Id: Ie742a43cd37b37a35b16e68fe4be44f9bb08ec5c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3404067 Reviewed-by: Subrata Banik <subratabanik@chromium.org> Tested-by: Subrata Banik <subratabanik@chromium.org> Auto-Submit: Subrata Banik <subratabanik@chromium.org> Reviewed-by: Kangheui Won <khwon@chromium.org> Commit-Queue: Kangheui Won <khwon@chromium.org>
-rw-r--r--host/arch/x86/lib/crossystem_arch.c1
1 files changed, 1 insertions, 0 deletions
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 },