[coreboot-gerrit] Patch set updated for coreboot: google/chromeec: Add support for cros_ec_keyb device
Furquan Shaikh (furquan@google.com)
gerrit at coreboot.org
Wed Mar 8 21:58:21 CET 2017
Furquan Shaikh (furquan at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18641
-gerrit
commit 347a80dc0a16deef6ba9bc5565a992ae65702589
Author: Furquan Shaikh <furquan at chromium.org>
Date: Mon Mar 6 14:56:58 2017 -0800
google/chromeec: Add support for cros_ec_keyb device
This is required to pass button information from EC to kernel without
using 8042 keyboard driver.
1. Define EC buttons device using GOOG0007 ACPI ID.
2. Guard enabling of this device using EC_ENABLE_MKBP_DEVICE.
BUG=b:35774934
BRANCH=None
TEST=Verified using evtest that kernel is able to get button
press/release information from EC.
Change-Id: I4578f16648305350d36fb50f2a5d2285514daed4
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
src/ec/google/chromeec/acpi/cros_ec.asl | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/ec/google/chromeec/acpi/cros_ec.asl b/src/ec/google/chromeec/acpi/cros_ec.asl
index 53b6318..7f3afea 100644
--- a/src/ec/google/chromeec/acpi/cros_ec.asl
+++ b/src/ec/google/chromeec/acpi/cros_ec.asl
@@ -18,4 +18,13 @@ Device (CREC)
Name (_HID, "GOOG0004")
Name (_UID, 1)
Name (_DDN, "EC Command Device")
+
+#ifdef EC_ENABLE_MKBP_DEVICE
+ Device (CKSC)
+ {
+ Name (_HID, "GOOG0007")
+ Name (_UID, 1)
+ Name (_DDN, "EC MKBP Device")
+ }
+#endif
}
More information about the coreboot-gerrit
mailing list