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 /baseboard/brya | |
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 'baseboard/brya')
-rw-r--r-- | baseboard/brya/baseboard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard.h b/baseboard/brya/baseboard.h index ba7d4cbb2e..298c2d0102 100644 --- a/baseboard/brya/baseboard.h +++ b/baseboard/brya/baseboard.h @@ -40,6 +40,9 @@ #define CONFIG_HOSTCMD_ESPI #define CONFIG_HOSTCMD_ESPI_VW_SLP_S4 +#define CONFIG_MKBP_EVENT +#define CONFIG_MKBP_USE_GPIO + /* Common charger defines */ #define CONFIG_CHARGE_MANAGER #define CONFIG_CHARGER |