summaryrefslogtreecommitdiff
path: root/src/mainboard/google/hatch/variants
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2019-08-09 09:59:29 -0600
committerMartin Roth <martinroth@google.com>2019-08-11 03:00:35 +0000
commit0caf834c8f5f3bcbcfe6e9c2e31748769eb13c62 (patch)
tree829867acee0a9f5d2fccd3518e4dbd73a366e4c3 /src/mainboard/google/hatch/variants
parent3a323808f62709c463d38dc30f06ace6b957d1d9 (diff)
mb/google/hatch: Fix Kohaku pen GPIO configuration
Oops, I missed this in the last CL. The pin needs to be configured as owned by GPIO, so that the kernel driver can bind it with an IRQ. BUG=b:139165490 TEST=Ensure kernel nastygram about inability to claim the IRQ is gone Change-Id: I26c08d75d8b4e3b834db6e90868239899605fa5b Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34815 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/hatch/variants')
-rw-r--r--src/mainboard/google/hatch/variants/kohaku/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/kohaku/gpio.c b/src/mainboard/google/hatch/variants/kohaku/gpio.c
index 53a58c9df7..9654388087 100644
--- a/src/mainboard/google/hatch/variants/kohaku/gpio.c
+++ b/src/mainboard/google/hatch/variants/kohaku/gpio.c
@@ -26,7 +26,7 @@ static const struct pad_config gpio_table[] = {
/* A10 : PEN_RESET_ODL */
PAD_CFG_GPO(GPP_A10, 1, DEEP),
/* A16 : EMR_GARAGE_DET (notification) */
- PAD_CFG_GPI_APIC(GPP_A16, NONE, PLTRST, LEVEL, NONE),
+ PAD_CFG_GPI_GPIO_DRIVER(GPP_A16, NONE, PLTRST),
/* A17 : PIRQA# ==> NC */
PAD_NC(GPP_A17, NONE),
/* A18 : ISH_GP0 ==> NC */