diff options
author | Nicolas Boichat <drinkcat@google.com> | 2017-05-11 16:04:42 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-15 03:56:41 -0700 |
commit | f660c8e5b0404d454db69ef04d9c5c96b5938353 (patch) | |
tree | 8931678bd5e72597ea3e3cd4c2f5c8c7a82f4d47 | |
parent | f9c201e93c45f008b79ce63c1ec276ede05146f0 (diff) | |
download | chrome-ec-f660c8e5b0404d454db69ef04d9c5c96b5938353.tar.gz |
hammer: Add pull-up on write protect pin
We don't have an external pull-up on WP_L, so let's use an internal
one instead.
BRANCH=none
BUG=b:35582031
TEST=gpioget WP_L shows 1 as default value, servo can control
value, and when servo is not driving the pin, value goes back
to 1.
Change-Id: I75148cde9ab89c1dfb05f3182608894a3e1390fa
Reviewed-on: https://chromium-review.googlesource.com/502849
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/hammer/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hammer/gpio.inc b/board/hammer/gpio.inc index 97befce89d..17c3bc5cff 100644 --- a/board/hammer/gpio.inc +++ b/board/hammer/gpio.inc @@ -47,7 +47,7 @@ GPIO(EN_PP3300_TP_ODL, PIN(A, 14), GPIO_OUT_LOW) GPIO(KEYBOARD_BACKLIGHT, PIN(B, 9), GPIO_OUT_LOW) -GPIO(WP_L, PIN(A, 13), GPIO_INPUT) +GPIO(WP_L, PIN(A, 13), GPIO_INPUT | GPIO_PULL_UP) GPIO(BASE_DET, PIN(A, 15), GPIO_INPUT) |