mb/google/octopus: Update the PEN_EJECT GPIO configuration
commit2b35780a277bd48bb2133a59ac920b3e03658c4e
authorKarthikeyan Ramasubramanian <kramasub@chromium.org>
Fri, 7 Dec 2018 18:03:38 +0000 (7 11:03 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 10 Dec 2018 09:07:27 +0000 (10 09:07 +0000)
tree5ac8c10275393639d957cb1797648f4c9ae44b73
parentfd1557f28ec8f741f7ae3dafcff5f7293eb58e82
mb/google/octopus: Update the PEN_EJECT GPIO configuration

PEN_EJECT GPIOs are active high and also require an internal pull-up.
Update the GPIO configuration appropriately.

BRANCH=octopus
BUG=b:117953118
TEST=Ensure that the system boots to ChromeOS. Ensure that the stylus
tools open on pen eject. Ensure that the system can enter S0ix and S3
states successfully when the pen is inserted. Ensure that the system
wakes on Pen Eject. Ensure that the system does not enter S0ix and S3
states when the pen is placed in its holder. Ensure that the
suspend_stress_test runs successfully for 25 iterations with the pen
placed in its holder.

Change-Id: Ibf9cb214a8ce7561efbb77a7e99d1e386cf064c3
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/30107
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/mainboard/google/octopus/variants/baseboard/gpio.c