From cbcf28fef073742ad09689861c0ca279885484bb Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 13 May 2015 18:22:49 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/10190 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/ec/lenovo/h8/acpi/ec.asl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/ec/lenovo') 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) -- cgit v1.2.3