From 7ec0e5a3879c85d4fe3b9c57f5e7665e45829d7d Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Fri, 22 Sep 2017 15:07:24 +0800 Subject: mainboard/google/fizz: Enable cros_ec_keyb device This is required to transmit button information from EC to kernel. BUG=b:65980005 BRANCH=None TEST=Verified using evtest that kernel is able to get button press/release information from EC. Change-Id: I3cd524aec47ca988d6044cb089e7aa7636e64ab2 Signed-off-by: Kevin Cheng Reviewed-on: https://review.coreboot.org/21633 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Furquan Shaikh Reviewed-by: Sumeet R Pawnikar --- src/mainboard/google/fizz/ec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/google/fizz/ec.h b/src/mainboard/google/fizz/ec.h index b95a772126..4b4044523f 100644 --- a/src/mainboard/google/fizz/ec.h +++ b/src/mainboard/google/fizz/ec.h @@ -28,6 +28,7 @@ EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_CRITICAL) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_STATUS) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_MKBP) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_THRESHOLD) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_THROTTLE_START) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_THROTTLE_STOP)) @@ -63,4 +64,6 @@ #define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */ #define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */ +#define EC_ENABLE_MKBP_DEVICE /* Enable cros_ec_keyb device */ + #endif -- cgit v1.2.3