From f14445c145776877d140a17548b094467303e77e Mon Sep 17 00:00:00 2001 From: Edward Hill Date: Mon, 4 Feb 2019 14:42:03 -0700 Subject: mb/google/kahlee: Use GPIO_10 for EC_SYNC_IRQ Use AGPIO 10 as the EC sync interrupt for MKBP events for sensor data. On this platform, interrupts are routed via the GPIO controller so need to be registered using GpioInt instead of Interrupt. BUG=b:123750725 BRANCH=grunt TEST=MKBP events still received (with matching EC and kernel changes) Change-Id: If499d24511bbaa7054207b7e0b98445723332c4f Signed-off-by: Edward Hill Reviewed-on: https://review.coreboot.org/c/31278 Tested-by: build bot (Jenkins) Reviewed-by: Enrico Granata Reviewed-by: Raul Rangel Reviewed-by: Martin Roth --- src/ec/google/chromeec/acpi/cros_ec.asl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/ec/google/chromeec/acpi') diff --git a/src/ec/google/chromeec/acpi/cros_ec.asl b/src/ec/google/chromeec/acpi/cros_ec.asl index a5f9202dc8..d41071e731 100644 --- a/src/ec/google/chromeec/acpi/cros_ec.asl +++ b/src/ec/google/chromeec/acpi/cros_ec.asl @@ -32,6 +32,17 @@ Device (CREC) }) #endif +#ifdef EC_ENABLE_SYNC_IRQ_GPIO + Name (_CRS, ResourceTemplate () + { + GpioInt (Level, ActiveLow, Exclusive, PullDefault, 0x0000, + "\\_SB.GPIO", 0x00, ResourceConsumer, ,) + { + EC_SYNC_IRQ + } + }) +#endif + #ifdef EC_ENABLE_MKBP_DEVICE Device (CKSC) { -- cgit v1.2.3