From 45c0c5fecb62a93a7ef9ad840963ac75e8d759f1 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 10 Mar 2021 10:36:11 -0800 Subject: brya: Enable MKBP support This change enables MKBP support by selecting the following configs: * CONFIG_MKBP_EVENT * CONFIG_MKBP_USE_GPIO - This is selected instead of CONFIG_MKBP_USE_GPIO_AND_HOST_EVENT because GPIO_EC_INT_L is also the wake pin for brya. Additionally, GPIO_EC_INT_L is defined to allow mkbp driver to trigger interrupt to AP for tight timestamps. BUG=b:173575131 BRANCH=None TEST=make -j buildall Signed-off-by: Caveh Jalali Signed-off-by: Furquan Shaikh Change-Id: Ia755671d943576ecd8da3a76260c8b87d2ab35ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2747460 Reviewed-by: Tim Wawrzynczak Commit-Queue: Furquan Shaikh Tested-by: Furquan Shaikh --- board/brya/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/brya') diff --git a/board/brya/board.h b/board/brya/board.h index bf902e976c..de9bf5c97d 100644 --- a/board/brya/board.h +++ b/board/brya/board.h @@ -61,6 +61,7 @@ */ #define GPIO_AC_PRESENT GPIO_ACOK_EC_OD #define GPIO_CPU_PROCHOT GPIO_EC_PROCHOT_ODL +#define GPIO_EC_INT_L GPIO_EC_PCH_INT_ODL #define GPIO_ENABLE_BACKLIGHT GPIO_EC_EN_EDP_BL #define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW #define GPIO_KBD_KSO2 GPIO_EC_KSO_02_INV -- cgit v1.2.1