[coreboot-gerrit] New patch to review for coreboot: google/chromeec: Add support for cros_ec_keyb device

Furquan Shaikh (furquan@google.com) gerrit at coreboot.org
Wed Mar 8 01:06:57 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 587273b1551c92c4c7c26b7501a81473e6e42ba9
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 AP.
    1. Define EC buttons device using GOOG0007 ACPI ID.
    2. Gaurd enabling of this device using EC_ENABLE_KEYB_DEVICE.
    
    BUG=b:3577493
    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..8508218 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_KEYB_DEVICE
+	Device (ECBT)
+	{
+		Name (_HID, "GOOG0007")
+		Name (_UID, 1)
+		Name (_DDN, "EC Buttons Device")
+	}
+#endif
 }



More information about the coreboot-gerrit mailing list