summaryrefslogtreecommitdiff
path: root/board/fusb307bgevb/gpio.inc
diff options
context:
space:
mode:
authorYun-chieh, Lee <lyunjie@google.com>2020-09-14 00:31:55 +0800
committerCommit Bot <commit-bot@chromium.org>2020-09-24 18:46:40 +0000
commit1c5511ed5e33231038e019b247df19e1b6178afd (patch)
treee90328994c46bf1fe679229be090cf7fd9d8d969 /board/fusb307bgevb/gpio.inc
parentde120a50f59240ed76d3942b779a36bd0cdeb888 (diff)
downloadchrome-ec-1c5511ed5e33231038e019b247df19e1b6178afd.tar.gz
ucsa: display pdo on lcd and handle button event
Display pdo on lcd and select supply voltage with buttons. BUG=b:162057390 TEST=make buildall BRANCH=master Signed-off-by: Yun-Chieh Lee <lyunjie@google.com> Change-Id: Ibee29a47bd7744dff08deb8eb14bf97d0ddc627e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2407614 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/fusb307bgevb/gpio.inc')
-rw-r--r--board/fusb307bgevb/gpio.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/fusb307bgevb/gpio.inc b/board/fusb307bgevb/gpio.inc
index 2aef4e3d2d..16a845576d 100644
--- a/board/fusb307bgevb/gpio.inc
+++ b/board/fusb307bgevb/gpio.inc
@@ -8,10 +8,10 @@
/* Declare symbolic names for all the GPIOs that we care about.
* Note: Those with interrupt handlers must be declared first. */
-GPIO_INT(USER_BUTTON_ENTER, PIN(A, 0), GPIO_INT_FALLING, button_event)
-GPIO_INT(USER_BUTTON_UP, PIN(A, 1), GPIO_INT_FALLING, button_event)
-GPIO_INT(USER_BUTTON_DOWN, PIN(A, 2), GPIO_INT_FALLING, button_event)
GPIO_INT(USB_C0_PD_INT_ODL, PIN(A, 8), GPIO_INT_FALLING | GPIO_PULL_UP, tcpc_alert_event)
+GPIO_INT(USER_BUTTON_ENTER, PIN(A, 0), GPIO_INT_FALLING, button_enter_event)
+GPIO_INT(USER_BUTTON_REFRESH, PIN(A, 1), GPIO_INT_FALLING, button_refresh_event)
+GPIO_INT(USER_BUTTON_DOWN, PIN(A, 2), GPIO_INT_FALLING, button_down_event)
/*
* I2C pins should be configured as inputs until I2C module is