summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-13 18:22:49 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2015-05-14 15:08:52 +0200
commitcbcf28fef073742ad09689861c0ca279885484bb (patch)
treeb1d3687639ec8559bee2b74c008bc4bcea0bd524 /src/ec
parent4b1f09694cddd27ba320552671ae84c9c7830f3b (diff)
downloadcoreboot-cbcf28fef073742ad09689861c0ca279885484bb.tar.xz
lenovo: Disable radio when suspending or turning off.
Without this some radios may remain operational. They may consume power but the immediate demonstrable effect is wireless LED still being on. Coreboot will reenable radios on resume or poweron. Change-Id: I9fcb08880964b1594f779a246840bc3013a44afe Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10190 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/lenovo/h8/acpi/ec.asl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/acpi/ec.asl b/src/ec/lenovo/h8/acpi/ec.asl
index 8db9221ce3..b7f8741e2b 100644
--- a/src/ec/lenovo/h8/acpi/ec.asl
+++ b/src/ec/lenovo/h8/acpi/ec.asl
@@ -43,6 +43,10 @@ Device(EC)
EVNT, 8, /* write will trigger EC event */
Offset (0x3a),
AMUT, 1, /* Audio Mute */
+ , 3,
+ BTEB, 1,
+ WLEB, 1,
+ WWEB, 1,
Offset (0x3B),
, 1,
KBLT, 1, /* Keyboard Light */
@@ -90,6 +94,13 @@ Device(EC)
Store(Arg0, AMUT)
}
+ Method (RADI, 1, NotSerialized)
+ {
+ Store(Arg0, WLEB)
+ Store(Arg0, WWEB)
+ Store(Arg0, BTEB)
+ }
+
Method (USBP, 1, NotSerialized)
{
Store(Arg0, USPW)