diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-11-14 19:00:20 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-09 09:19:59 +0000 |
commit | f1114d891865e70ae1f2ba58844fec11d055ae3a (patch) | |
tree | 93d58cca13f40c9ee0edee69ebd7b7c3fa62dede /src/ec/lenovo/h8/h8.h | |
parent | 01d2e46ddb9e17bda911ccce97bfef8ad77b1cbc (diff) | |
download | coreboot-f1114d891865e70ae1f2ba58844fec11d055ae3a.tar.xz |
ec/lenovo/h8/acpi: Add BDC interface
* Add SSDT generator to add dynamic ACPI code.
* Implement GBDC and SBDC for thinkpad_acpi kernel module.
Required for BDC power control from userspace.
Tested on Lenovo T430:
The bluetooth module is detected and can be powercycled using network manager.
Change-Id: Ida825196650966194a883945896a038b0790fe45
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/20985
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/ec/lenovo/h8/h8.h')
-rw-r--r-- | src/ec/lenovo/h8/h8.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/lenovo/h8/h8.h b/src/ec/lenovo/h8/h8.h index 19b9cf60d2..4ac395a098 100644 --- a/src/ec/lenovo/h8/h8.h +++ b/src/ec/lenovo/h8/h8.h @@ -39,6 +39,8 @@ void h8_wwan_enable(int on); bool h8_wwan_nv_enable(void); bool h8_has_wwan(struct device *dev); +void h8_ssdt_generator(struct device *dev); + /* EC registers */ #define H8_CONFIG0 0x00 #define H8_CONFIG0_EVENTS_ENABLE 0x02 |