summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Lin <yelin@nvidia.com>2013-11-21 15:20:28 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-23 02:33:36 +0000
commit2f084199ca9f17e7a79656d03afe313eb039721f (patch)
treebe000858d422415b7af44352e33c5eabe56992bb
parent34b94121c7095d29650c0d054c869eb2159eea8b (diff)
downloadchrome-ec-2f084199ca9f17e7a79656d03afe313eb039721f.tar.gz
nyan: change EC_BL_OVERRIDE to GPIO_ODR_HIGH
If EC_BL_OVERRIDE is low, backlight will be turned off. To allow AP to control backlight, set EC_BL_OVERRIDE to high. BUG=none BRANCH=nyan TEST=verified on nyan board 2.0 to see backlight turns on when system boots up Change-Id: I04e6052fbef4b17c3f9566c8c5cf691a2710b7b0 Signed-off-by: Yen Lin <yelin@nvidia.com> Reviewed-on: https://chromium-review.googlesource.com/177553 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Yung-chieh Lo <yjlou@chromium.org>
-rw-r--r--board/nyan/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nyan/board.c b/board/nyan/board.c
index 0219056d9a..ef30a130d5 100644
--- a/board/nyan/board.c
+++ b/board/nyan/board.c
@@ -81,7 +81,7 @@ const struct gpio_info gpio_list[] = {
{"BAT_LED0", GPIO_B, (1<<11), GPIO_OUT_LOW, NULL},
{"BAT_LED1", GPIO_A, (1<<8), GPIO_OUT_LOW, NULL},
{"CHARGING", GPIO_A, (1<<11), GPIO_OUT_LOW, NULL},
- {"EC_BL_OVERRIDE", GPIO_H, (1<<1), GPIO_ODR_LOW, NULL},
+ {"EC_BL_OVERRIDE", GPIO_H, (1<<1), GPIO_ODR_HIGH, NULL},
};
BUILD_ASSERT(ARRAY_SIZE(gpio_list) == GPIO_COUNT);