summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chi <peter_chi@wistron.corp-partner.google.com>2022-07-12 16:09:05 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-18 10:23:27 +0000
commit2a05849cedd96a49497444f97159811db34643ce (patch)
tree3ff1959124e4084e3ad78d45dc8f814e659f544c
parent9564b007664735636fcb6767ec1734a7dbda828d (diff)
downloadchrome-ec-2a05849cedd96a49497444f97159811db34643ce.tar.gz
crota: switch both volume buttons GPIO
BUG=b:238713881 BRANCH=none TEST=make -j BOARD=crota Signed-off-by: Peter Chi <peter_chi@wistron.corp-partner.google.com> Change-Id: If4869c06edf8b8d7134001a1fee1499c3050c023 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3756997 Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
-rw-r--r--board/crota/gpio.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/crota/gpio.inc b/board/crota/gpio.inc
index 655fc68060..4af9cf7138 100644
--- a/board/crota/gpio.inc
+++ b/board/crota/gpio.inc
@@ -12,8 +12,8 @@ GPIO_INT(ACOK_OD, PIN(0, 0), GPIO_INT_BOTH | GPIO_HIB_WAK
GPIO_INT(EC_ACCEL_INT_R_L, PIN(8, 1), GPIO_SEL_1P8V | GPIO_INT_FALLING, lis2dw12_interrupt)
GPIO_INT(EC_IMU_INT_R_L, PIN(5, 6), GPIO_SEL_1P8V | GPIO_INT_FALLING, lsm6dso_interrupt)
GPIO_INT(EC_PROCHOT_IN_L, PIN(F, 0), GPIO_INT_BOTH, throttle_ap_prochot_input_interrupt)
-GPIO_INT(EC_VOLDN_BTN_ODL, PIN(9, 3), GPIO_INT_BOTH | GPIO_PULL_UP, button_interrupt)
-GPIO_INT(EC_VOLUP_BTN_ODL, PIN(9, 7), GPIO_INT_BOTH | GPIO_PULL_UP, button_interrupt)
+GPIO_INT(EC_VOLDN_BTN_ODL, PIN(9, 7), GPIO_INT_BOTH | GPIO_PULL_UP, button_interrupt)
+GPIO_INT(EC_VOLUP_BTN_ODL, PIN(9, 3), GPIO_INT_BOTH | GPIO_PULL_UP, button_interrupt)
GPIO_INT(EC_WP_ODL, PIN(A, 1), GPIO_INT_BOTH, switch_interrupt)
GPIO_INT(GSC_EC_PWR_BTN_ODL, PIN(0, 1), GPIO_INT_BOTH | GPIO_HIB_WAKE_LOW, power_button_interrupt)
GPIO_INT(LID_OPEN, PIN(D, 2), GPIO_INT_BOTH | GPIO_HIB_WAKE_HIGH, lid_interrupt)