aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/ssdt.c
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-08-13 12:55:41 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-19 16:43:08 +0000
commit60eca531df7d13272d9d8b41c7992d18fad75a16 (patch)
treeeb95ec1e6df0cdf978dea2aa9a93b3440febf43d /src/ec/lenovo/h8/ssdt.c
parent94d79a338bb7f035257d3e3137c315eb1b9ea3ae (diff)
ec/lenovo/h8/acpi: Add WWAN ACPI methods
Implement GWAN and SWAN for thinkpad_acpi kernel module. Both methods allow power control of the WWAN module. Change-Id: I5550c78e0d36884eca7a8d8ece19b64aaee44045 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/20986 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/ec/lenovo/h8/ssdt.c')
-rw-r--r--src/ec/lenovo/h8/ssdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/ssdt.c b/src/ec/lenovo/h8/ssdt.c
index 35570b0b72..84a52f5f63 100644
--- a/src/ec/lenovo/h8/ssdt.c
+++ b/src/ec/lenovo/h8/ssdt.c
@@ -46,6 +46,7 @@ void h8_ssdt_generator(struct device *dev)
/* Used by thinkpad_acpi */
acpigen_write_name_byte("HBDC", h8_has_bdc(dev) ? ONE_OP : ZERO_OP);
+ acpigen_write_name_byte("HWAN", h8_has_wwan(dev) ? ONE_OP : ZERO_OP);
acpigen_pop_len(); /* Scope HKEY */
}