mb/google/kahlee/treeya: Use GPIO_10 for EC_SYNC_IRQ

Use AGPIO 10 as the EC sync interrupt for MKBP events for sensor data.

Reference to Aleena project.

BUG=b:135551210
BRANCH=grunt
TEST=emerge-grunt coreboot

Signed-off-by: Chris Wang <chris.wang@amd.corp-partner.google.com>
Change-Id: Ie0b719ebce90710bca2109b7ff255e19329f9cac
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34902
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
This commit is contained in:
Chris Wang 2019-08-16 18:38:19 +08:00 committed by Martin Roth
parent f0b1c1f9c3
commit 2d9a35a8be
2 changed files with 9 additions and 0 deletions

View File

@ -20,3 +20,9 @@
/* Enable Tablet switch */
#define EC_ENABLE_TBMC_DEVICE
/*
* Enable EC sync interrupt via GPIO controller, EC_SYNC_IRQ is defined in
* variant/gpio.h
*/
#define EC_ENABLE_SYNC_IRQ_GPIO

View File

@ -14,3 +14,6 @@
*/
#include <baseboard/gpio.h>
/* EC sync irq is AGPIO 10 */
#define EC_SYNC_IRQ 10