diff options
author | Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com> | 2021-02-18 21:02:30 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-26 07:29:51 +0000 |
commit | e8118acfbee788f1c45319970a6a10dfc8f30491 (patch) | |
tree | 0f856325aae298bcfa08c38ddfdfae9e62bad13a /src/mainboard/google/dedede/variants/boten/gpio.c | |
parent | f7407eaf02c3e131949d9f90993114e25f687516 (diff) |
mb/google/dedede/var/boten: route GPP_E11 via APIC
GPP_E11 should be configured to be routed via APIC to avoid
p-sensor communication error in OS.
BUG=b:178465379
BRANCH=dedede
TEST=run "i2cdump -y -f 15 0x28" to confirm registers as expected.
un-approach:
=> register address: 0x01 value: 0x00
approach:
=> register address: 0x01 value: 0x02
verify sx932x IRQ in "/proc/interrupts" loading as expected.
Change-Id: I7d639ec1f9b31b240475dc1c8025bf59ae1e8e0b
Signed-off-by: Stanley Wu <stanley1.wu@lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50876
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/boten/gpio.c')
-rw-r--r-- | src/mainboard/google/dedede/variants/boten/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/boten/gpio.c b/src/mainboard/google/dedede/variants/boten/gpio.c index ee3a4e3fad..6046acb94f 100644 --- a/src/mainboard/google/dedede/variants/boten/gpio.c +++ b/src/mainboard/google/dedede/variants/boten/gpio.c @@ -48,7 +48,7 @@ static const struct pad_config gpio_table[] = { /* E2 : CLK_24M_WCAM */ PAD_NC(GPP_E2, NONE), /* E11 : AP_I2C_SUB_INT_ODL */ - PAD_CFG_GPI_INT(GPP_E11, NONE, PLTRST, EDGE_BOTH), + PAD_CFG_GPI_APIC(GPP_E11, NONE, PLTRST, LEVEL, NONE), /* H6 : AP_I2C_CAM_SDA */ PAD_NC(GPP_H6, NONE), |