diff options
author | Tino Liu <tino.liu@quanta.corp-partner.google.com> | 2018-11-22 17:19:04 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-09 20:49:29 -0800 |
commit | ef17e123c89b45cc6ee6ceaaf2a047f29ee60980 (patch) | |
tree | ac13a249d750ee094efd1def01735cd49271d9fa /board/karma/gpio.inc | |
parent | 768ce709a6dd85921e60bf871ff0d34824eba990 (diff) | |
download | chrome-ec-ef17e123c89b45cc6ee6ceaaf2a047f29ee60980.tar.gz |
Kalista: Write panel settings to OZ554
GPIO44 is used for panel backlight enable interrupt.
If EC receive rising interrupt, write panel settings to OZ554.
BUG=b:120237453
BRANCH=none
TEST=make buildall pass, panel can show screen properly
Change-Id: I45cd12b5b334db39fa989ab435240d272dc39d7c
Signed-off-by: Tino Liu <tino.liu@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/1351909
Commit-Ready: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com>
Tested-by: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/karma/gpio.inc')
-rw-r--r-- | board/karma/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/karma/gpio.inc b/board/karma/gpio.inc index d5b47800dc..12a7fef919 100644 --- a/board/karma/gpio.inc +++ b/board/karma/gpio.inc @@ -11,6 +11,7 @@ GPIO_INT(USB_C0_PD_INT_ODL, PIN(3, 7), GPIO_INT_FALLING | GPIO_PULL_UP, tcpc_alert_event) GPIO_INT(AC_PRESENT, PIN(C, 1), GPIO_INT_BOTH, extpower_interrupt) GPIO_INT(POWER_BUTTON_L, PIN(0, 4), GPIO_INT_BOTH | GPIO_PULL_UP, power_button_interrupt) /* MECH_PWR_BTN_ODL */ +GPIO_INT(PANEL_BACKLIGHT_EN, PIN(4, 4), GPIO_INT_RISING, backlight_enable_interrupt) GPIO_INT(PCH_SLP_S0_L, PIN(7, 5), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(PCH_SLP_SUS_L, PIN(6, 2), GPIO_INT_BOTH, power_signal_interrupt) @@ -84,7 +85,6 @@ GPIO(SPKR5, PIN(C, 2), GPIO_INPUT) /* No function */ /* Test points */ GPIO(TP48, PIN(B, 1), GPIO_INPUT) GPIO(TP52, PIN(C, 3), GPIO_INPUT) -GPIO(TP120, PIN(4, 4), GPIO_INPUT) GPIO(TP121, PIN(3, 3), GPIO_INPUT) GPIO(TP123, PIN(C, 5), GPIO_INPUT) GPIO(TP127, PIN(6, 6), GPIO_INPUT) |