diff options
author | Caveh Jalali <caveh@chromium.org> | 2018-04-25 20:08:52 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-30 07:41:24 +0000 |
commit | 2261e91ad8874e4f50ec4fc1b201c9f005b8f480 (patch) | |
tree | 8f2f7a589d1352b9ca128990380703fda581dc73 /src/mainboard/google/poppy/variants/atlas/gpio.c | |
parent | 7a52c17f16e84e2c7f61eac78c2534927d42dbba (diff) | |
download | coreboot-2261e91ad8874e4f50ec4fc1b201c9f005b8f480.tar.xz |
google/poppy: enable trackpad as wake source
This configures GPP_A23 as a wake source for the trackpad. We also
need to set up GPP_A GPE0_DW0, thus evicting GPP_B. We don't have any
interesting signals in GPP_B, so we won't be missing it.
I don't have hardware with A23 wired up, so i just tested the wake
source using A19 which is essentially identical to A23.
BUG=b:78541883
TEST=verified we can trackpad can wake system from suspend
Change-Id: If800464c8b2319d758b1823850571919f85bdc6c
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://review.coreboot.org/25850
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/atlas/gpio.c')
-rw-r--r-- | src/mainboard/google/poppy/variants/atlas/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/poppy/variants/atlas/gpio.c b/src/mainboard/google/poppy/variants/atlas/gpio.c index 58b709eb5c..c1b3ccccee 100644 --- a/src/mainboard/google/poppy/variants/atlas/gpio.c +++ b/src/mainboard/google/poppy/variants/atlas/gpio.c @@ -59,8 +59,8 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NC(GPP_A21), /* A22 : ISH_GP4 */ PAD_CFG_NC(GPP_A22), - /* A23 : ISH_GP5 */ - PAD_CFG_NC(GPP_A23), + /* A23 : ISH_GP5 ==> TRACKPAD_INT_L */ + PAD_CFG_GPI_ACPI_SCI(GPP_A23, NONE, DEEP, INVERT), /* B0 : CORE_VID0 ==> NC(TP42) */ PAD_CFG_NC(GPP_B0), |