summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/ssdt.c
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-08-14 18:41:32 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-19 16:48:19 +0000
commitf281b6d175905e625f481bf8b8a2b7b10d037582 (patch)
treefa254daeb34cf39661fe1d8e50ba2cfd59c6154b /src/ec/lenovo/h8/ssdt.c
parent6b7178aa107ef7e2475e3b1f32ac849d98798406 (diff)
downloadcoreboot-f281b6d175905e625f481bf8b8a2b7b10d037582.tar.xz
ec/lenovo/h8/ssdt: Add UWB ACPI interface
Add ACPI methods GUWB and SUWB for thinkpad_acpi. Required for power control of the UWB module. Change-Id: I8f9a56e45c0d765b0e06b8d3600bd3575dd09491 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/21003 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/ssdt.c b/src/ec/lenovo/h8/ssdt.c
index 4df4bd8a87..eccefe25ee 100644
--- a/src/ec/lenovo/h8/ssdt.c
+++ b/src/ec/lenovo/h8/ssdt.c
@@ -51,6 +51,8 @@ void h8_ssdt_generator(struct device *dev)
acpigen_write_name_byte("HWAN", h8_has_wwan(dev) ? ONE_OP : ZERO_OP);
acpigen_write_name_byte("HKBL", (conf && conf->has_keyboard_backlight) ?
ONE_OP : ZERO_OP);
+ acpigen_write_name_byte("HUWB", (conf && conf->has_uwb) ?
+ ONE_OP : ZERO_OP);
acpigen_pop_len(); /* Scope HKEY */
}