From f1114d891865e70ae1f2ba58844fec11d055ae3a Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 14 Nov 2017 19:00:20 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/20985 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens Reviewed-by: Patrick Georgi --- src/ec/lenovo/h8/h8.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ec/lenovo/h8/h8.h') 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 -- cgit v1.2.3