Kevin Cheng has uploaded this change for review. ( https://review.coreboot.org/21633
Change subject: mainboard/google/fizz: Enable cros_ec_keyb device ......................................................................
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 kevin.cheng@intel.com --- M src/mainboard/google/fizz/ec.h 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/21633/1
diff --git a/src/mainboard/google/fizz/ec.h b/src/mainboard/google/fizz/ec.h index b95a772..4b40445 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