summaryrefslogtreecommitdiffstats
path: root/src/ec/lenovo/h8/acpi/ec.asl
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-06-16 16:43:04 +0200
committerSven Schnelle <svens@stackframe.org>2011-06-16 17:00:12 +0200
commit86e1aea3e6ff0610ab832d923b530b3c5a768c71 (patch)
tree39da3aeb0f09ea6539886def8e22a2fe08635ee1 /src/ec/lenovo/h8/acpi/ec.asl
parentbfe8e5186ea9916634d31182ec0437f6175e7724 (diff)
downloadcoreboot-86e1aea3e6ff0610ab832d923b530b3c5a768c71.tar.gz
coreboot-86e1aea3e6ff0610ab832d923b530b3c5a768c71.tar.bz2
coreboot-86e1aea3e6ff0610ab832d923b530b3c5a768c71.zip
Lenovo H8 EC: add usb_power_enable()
Can be used to disable/enable Power output on USB ports. Change-Id: I5eb52b33c9e3359b0e5874bda2c0c8d75c196bc2 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/37 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/ec/lenovo/h8/acpi/ec.asl')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 0bcf44159c38..3ba4aa9819ab 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -40,6 +40,8 @@ Device(EC)
Offset (0x3B),
, 1,
KBLT, 1, /* Keyboard Light */
+ , 2,
+ USPW, 1, /* USB Power enable */
Offset (0x4e),
WAKE, 16,
Offset (0x78),
@@ -73,6 +75,12 @@ Device(EC)
Store(Arg0, AMUT)
}
+ Method (USBP, 1, NotSerialized)
+ {
+ Store(Arg0, USPW)
+ }
+
+
/* Sleep Button pressed */
Method(_Q13, 0, NotSerialized)
{