From 67efe6a73a153607acea3b4788dc16b10847c498 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Wed, 7 Mar 2018 14:38:33 +0100 Subject: crossystem: add support for CNL gpiochip On CNL systems, the pinctrl (gpiochip) driver label is "INT34BB:00". Declare it properly. BRANCH=none BUG=b:71722386 TEST=on Meowth, run 'crossystem wpsw_cur' and see '0' rather than an error. Change-Id: I74f3cce19afac9a76e8d3071426e79eb9bb11db9 Reviewed-on: https://chromium-review.googlesource.com/951789 Commit-Ready: Vincent Palatin Tested-by: Vincent Palatin Reviewed-by: Randall Spangler Reviewed-by: Benson Leung (cherry picked from commit b739f6163c8a27d988d9e5631df8a42b1c9c478e) Reviewed-on: https://chromium-review.googlesource.com/954662 Reviewed-by: Shen-En Shih Commit-Queue: Benson Leung Tested-by: Benson Leung Trybot-Ready: Benson Leung --- 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 f026a14f..8b859bd6 100644 --- a/host/arch/x86/lib/crossystem_arch.c +++ b/host/arch/x86/lib/crossystem_arch.c @@ -669,6 +669,7 @@ static const struct GpioChipset chipsets_supported[] = { { "INT3452:01", FindGpioChipOffsetByLabel }, { "INT3452:02", FindGpioChipOffsetByLabel }, { "INT3452:03", FindGpioChipOffsetByLabel }, + { "INT34BB:00", FindGpioChipOffsetByLabel }, { "BayTrail", BayTrailFindGpioChipOffset }, { "Braswell", BraswellFindGpioChipOffset }, { NULL }, -- cgit v1.2.1