diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2014-10-17 14:35:33 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-20 08:02:45 +0000 |
commit | 8bb3689d42089241b209ccea2860f03aeaddd8f8 (patch) | |
tree | 87b0ba146f921443fe4ff115651f57f17720ac0e /futility/futility.c | |
parent | d241fff54c982f2764e6d126a024ab71fa6dd84a (diff) | |
download | vboot-8bb3689d42089241b209ccea2860f03aeaddd8f8.tar.gz |
crossystem: Add support for multiple gpiochip entries
The current logic for finding a GPIO expects only one gpiochip
entry to exist in /sys/class/gpio. With Samus there is a second
entry because the codec also exports a set of GPIOs.
To solve this we can use the gpiochip#/label file and compare
against the GPIO controller name described in ACPI.
This adds support for that detection method, as well as a new
GPIO controller entry for INT3437:00 which is used in Broadwell
systems.
BUG=chrome-os-partner:33098
BRANCH=samus
TEST=crossytem wpsw_cur works on samus (TOT with enabled codec)
Change-Id: Ib06f25c7c7e1451a3ab3bb00fd063e23b4d75878
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/224156
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'futility/futility.c')
0 files changed, 0 insertions, 0 deletions