summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-09-30 16:24:24 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-03-28 08:45:08 +0100
commitd84db00e9520ce849af3d49240d620205f23a76f (patch)
tree485189c63120cf9e3f2ea40652d815e40c96d3a7 /src/mainboard
parent4f9150bf23c3f49d02e85129c7067e05bc9f8d23 (diff)
downloadcoreboot-d84db00e9520ce849af3d49240d620205f23a76f.tar.xz
ryu: Add padconfigs for volup and voldown buttons
Both buttons are active low. BUG=chrome-os-partner:32517 BRANCH=None TEST=Compiles successfully and volup and voldown button presses are detected in pseudo keyboard driver in depthcharge Change-Id: If217a75f95042af8a831e7109d9b1acb10c55823 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: c393e166a1ed0bc7920078aac6accf442abb5955 Original-Change-Id: I08f94972db53aa17a63f6e16cbaebe7af358cdc2 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/220687 Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/9104 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rush_ryu/romstage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/rush_ryu/romstage.c b/src/mainboard/google/rush_ryu/romstage.c
index d4e38a8a43..5d195a6fcb 100644
--- a/src/mainboard/google/rush_ryu/romstage.c
+++ b/src/mainboard/google/rush_ryu/romstage.c
@@ -40,6 +40,10 @@ static const struct pad_config padcfgs[] = {
PAD_CFG_GPIO_INPUT(GPIO_PV1, PINMUX_PULL_UP),
/* Power Button - active high */
PAD_CFG_GPIO_INPUT(KB_COL0, PINMUX_PULL_UP),
+ /* BTN_AP_VOLD_L - active low */
+ PAD_CFG_GPIO_INPUT(KB_COL6, PINMUX_PULL_UP),
+ /* BTN_AP_VOLU_L - active low */
+ PAD_CFG_GPIO_INPUT(KB_COL7, PINMUX_PULL_UP),
};
static const struct pad_config tpm_pads[] = {