From 2f084199ca9f17e7a79656d03afe313eb039721f Mon Sep 17 00:00:00 2001 From: Yen Lin Date: Thu, 21 Nov 2013 15:20:28 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/177553 Reviewed-by: Randall Spangler Reviewed-by: Yung-chieh Lo --- board/nyan/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);