[coreboot-gerrit] New patch to review for coreboot: ec/lenovo/h8: Add USB Always On fields
nemo (mtcoreboot@gmail.com)
gerrit at coreboot.org
Sun Jan 10 03:24:36 CET 2016
nemo (mtcoreboot at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12888
-gerrit
commit cafe06a1f0eba4dbe3f9fe5c33ea13db3c86c8de
Author: Marian Tietz <mtcoreboot at gmail.com>
Date: Sat Jan 9 17:41:14 2016 +0100
ec/lenovo/h8: Add USB Always On fields
USB AO is the internal name for the dedicated charging port
on ThinkPads when in S3 or lower.
AOEN is used for enabling the feature (on PTS) and AOCF is
the configuration field for the different modes. The modes
are (according to Peter Stuge):
00 => AC S3 S4 S4 USB on, battery S3 USB on, battery S4 S5 off
11 => AC S3 S4 S4 USB on, battery S3 S4 S5 USB off
10, 01 => equivalent to 00
Change-Id: Ief8de3e41fd6a701c6b3dbce81118d5eeb0fa648
Signed-off-by: Marian Tietz <mtcoreboot at gmail.com>
---
src/ec/lenovo/h8/acpi/ec.asl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 085492d..9adf6d9 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -32,6 +32,10 @@ Device(EC)
HSPA, 1,
Offset (0x0C),
LEDS, 8, /* LED state */
+ Offset (0x0D),
+ AOEN, 1, /* USB Always On Enable */
+ , 1,
+ AOCF, 2, /* USB Always On Config */
Offset (0x1a),
DKR2, 1, /* Dock register 2 */
Offset (0x2a),
More information about the coreboot-gerrit
mailing list