Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4081
-gerrit
commit 1ab1a1a9ff77bc1037582f1dfb066820141bb40e Author: Vladimir Serbinenko phcoder@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@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 0f7312f..f2a8061 100644 --- a/src/ec/lenovo/h8/acpi/ec.asl +++ b/src/ec/lenovo/h8/acpi/ec.asl @@ -38,27 +38,34 @@ Device(EC) OperationRegion(ERAM, EmbeddedControl, 0x00, 0x100) Field (ERAM, ByteAcc, NoLock, Preserve) { + Offset (0x02), + DKR1, 1, /* Dock register 1 */ Offset (0x05), HSPA, 1, Offset (0x0C), LEDS, 8, /* LED state */ + Offset (0x1a), + DKR2, 1, /* Dock register 2 */ 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 /* Dock register 3 */ + }
Method (_CRS, 0) {