[coreboot-gerrit] Patch set updated for coreboot: afb82a7 Add declaration of dock registers 1, 2 and 3.
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Wed Nov 20 00:44:54 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 afb82a7dcff6bf52df365fc94d4b5b214098aeea
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 afc1cbe..50668b5 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)
{
More information about the coreboot-gerrit
mailing list