mb/google/zork: Configure HID over I2C related GPIO as level-triggered

Both touchpads supported by zork use level-triggered wakeup signal.

BRANCH=zork
BUG=b:172846122,b:182911201
TEST=1. cros build-ap -b zork
     2. both Synaptics and ELAN touchpads work fine on Vilboz
     3. Wakeup source is correctly reported on Vilboz

Signed-off-by: Victor Ding <victording@google.com>
Change-Id: Icc2b5ad3bd434c9759a0fdfc121aa3c94f46630e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52367
Reviewed-by: Sam McNally <sammc@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Victor Ding 2021-04-15 04:31:54 +00:00 committed by Martin Roth
parent 582d7c340c
commit c82db71bde
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ static const struct soc_amd_gpio gpio_set_stage_ram[] = {
/* I2S_LRCLK - Bit banged in depthcharge */
PAD_NF(GPIO_8, ACP_I2S_LRCLK, PULL_NONE),
/* TOUCHPAD_INT_ODL */
PAD_SCI(GPIO_9, PULL_NONE, EDGE_LOW),
PAD_SCI(GPIO_9, PULL_NONE, LEVEL_LOW),
/* S0iX SLP - goes to EC */
PAD_GPO(GPIO_10, HIGH),
/* EC_IN_RW_OD */

View File

@ -30,7 +30,7 @@ static const struct soc_amd_gpio gpio_set_stage_ram[] = {
/* I2S_LRCLK - Bit banged in depthcharge */
PAD_NF(GPIO_8, ACP_I2S_LRCLK, PULL_NONE),
/* TOUCHPAD_INT_ODL */
PAD_SCI(GPIO_9, PULL_NONE, EDGE_LOW),
PAD_SCI(GPIO_9, PULL_NONE, LEVEL_LOW),
/* S0iX SLP - goes to EC & FPMCU */
PAD_GPO(GPIO_10, HIGH),
/* USI_INT_ODL */