diff options
author | Furquan Shaikh <furquan@google.com> | 2021-03-10 10:36:11 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-10 20:01:30 +0000 |
commit | 45c0c5fecb62a93a7ef9ad840963ac75e8d759f1 (patch) | |
tree | 50b2efe2e8134e3fc9a5463f190ebd093e6a49d6 /board | |
parent | 3a1ace23597ebca78bf2d85e5a98074ea4c7f2ed (diff) | |
download | chrome-ec-45c0c5fecb62a93a7ef9ad840963ac75e8d759f1.tar.gz |
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 <caveh@chromium.org>
Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: Ia755671d943576ecd8da3a76260c8b87d2ab35ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2747460
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/brya/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |