[coreboot-gerrit] New patch to review for coreboot: d93b20b Add declaration of dock registers 1, 2 and 3.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Thu Nov 14 19:36:29 CET 2013


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4081

-gerrit

commit d93b20bc378166212163c188925984a4ef7dc44b
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Thu Nov 14 19:08:38 2013 +0100

    Add declaration of dock registers 1, 2 and 3.
    
    Needed to make dock work on X201.
    
    Change-Id: Id0b32266cacf04bb48530bedf50818c268f947ec
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/ec/lenovo/h8/acpi/ec.asl | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 30339ee..c9db5d7 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -37,27 +37,34 @@ Device(EC)
 	OperationRegion(ERAM, EmbeddedControl, 0x00, 0x100)
 	Field (ERAM, ByteAcc, NoLock, Preserve)
 	{
+		Offset (0x02),
+				DKR1, 1,
 		Offset (0x05),
 				HSPA, 1,
 		Offset (0x0C),
 				LEDS, 8,	/* LED state */
+		Offset (0x1a),
+				DKR2, 1,
 		Offset (0x2a),
 				EVNT, 8,	/* write will trigger EC event */
 		Offset (0x3a),
 				AMUT, 1,	/* Audio Mute */
 		Offset (0x3B),
 				    , 1,
-				KBLT, 1,        /* Keyboard Light */
+				KBLT, 1,	/* Keyboard Light */
 				    , 2,
 				USPW, 1,	/* USB Power enable */
 		Offset (0x4e),
-		               WAKE, 16,
+			       WAKE, 16,
 		Offset (0x78),
 				TMP0, 8,	/* Thermal Zone 0 temperature */
 				TMP1, 8,	/* Thermal Zone 1 temperature */
 		Offset (0x81),
-				PAGE, 8		/* Information Page Selector */
-        }
+				PAGE, 8,	/* Information Page Selector */
+		Offset (0xfe),
+				    , 4,
+				DKR3, 1
+	}
 
 	Method (_CRS, 0)
 	{



More information about the coreboot-gerrit mailing list