diff options
author | Ben Lok <ben.lok@mediatek.com> | 2015-02-10 22:28:18 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-09 10:41:36 +0000 |
commit | 9e9ccfa24bc2fe2320b675969d7275f0e642d292 (patch) | |
tree | 26c1d925a3ba596f7053b8f4331ca720d8a63ecd /board/llama | |
parent | 9eb1380d63752967306b6f0af8456ad7f94d8b17 (diff) | |
download | chrome-ec-9e9ccfa24bc2fe2320b675969d7275f0e642d292.tar.gz |
llama: enable the EC backlight override for mediatek platform.
1. Override the panel backlight enable signal from SoC in llama board,
force the backlight off on lid close.
2. Revise the function llama_lid_event to mtk_lid_event, makes more sense.
BRANCH=master
BUG=none
TEST=lid switch to open/close, observe the LCD backlight behavior.
the backlight should be off, when lid is close.
the backlight should be on, when lid is open.
BOARD=llama
Change-Id: Id1bff440c8bb6cee19c82615e916b8a2f2aa62ac
Signed-off-by: Ben Lok <ben.lok@mediatek.com>
(cherry picked from commit a90516b0a5493a55536e29d550f65cc743156710)
Reviewed-on: https://chromium-review.googlesource.com/255441
Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board/llama')
-rw-r--r-- | board/llama/gpio.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/llama/gpio.inc b/board/llama/gpio.inc index 795c870143..0ad76346c7 100644 --- a/board/llama/gpio.inc +++ b/board/llama/gpio.inc @@ -32,6 +32,7 @@ GPIO(KB_IN07, D, 2, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt) /* Outputs */ GPIO(BAT_LED0, B, 11, GPIO_OUT_LOW, NULL) /* LED_GREEN */ GPIO(BAT_LED1, A, 11, GPIO_OUT_LOW, NULL) /* LED_ORANGE */ +GPIO(EC_BL_OVERRIDE, F, 1, GPIO_OUT_LOW, NULL) GPIO(EC_INT, B, 9, GPIO_OUT_HIGH, NULL) GPIO(ENTERING_RW, F, 0, GPIO_OUT_LOW, NULL) GPIO(KB_OUT00, B, 0, GPIO_KB_OUTPUT, NULL) |