aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t440p/acpi
diff options
context:
space:
mode:
authorAmit Caleechurn <acaleechurn@gmail.com>2020-05-16 16:46:59 +0400
committerPatrick Georgi <pgeorgi@google.com>2020-05-28 09:33:27 +0000
commitc43a09b1186c36f72f6edcac37ce17cefd34f241 (patch)
tree808144413700413bfc61bc799b344361f535f089 /src/mainboard/lenovo/t440p/acpi
parent25ae99fe65374357729fc61a0d8a10b7a7b62710 (diff)
mb/lenovo/t440p: Include ACPI for battery threshold
This fixes ACPI errors below when invoking tlp-stat and allows setting battery thresholds as natacpi is now enabled. thinkpad_acpi: acpi_evalf(BCTG, dd, ...) failed: AE_NOT_FOUND thinkpad_acpi: acpi_evalf(BCTG, dd, ...) failed: AE_NOT_FOUND Test: Fedora 32 [also on Fedora 31 before the upgrade] Kernel 5.6.12-300 Signed-off-by: Amit Caleechurn <acaleechurn@gmail.com> Change-Id: Ie345cdd05e38a8b7f646f44d814446543baeed3b Reviewed-on: https://review.coreboot.org/c/coreboot/+/41472 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/t440p/acpi')
-rw-r--r--src/mainboard/lenovo/t440p/acpi/ec.asl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t440p/acpi/ec.asl b/src/mainboard/lenovo/t440p/acpi/ec.asl
index c4a43a1c2f..8dea152079 100644
--- a/src/mainboard/lenovo/t440p/acpi/ec.asl
+++ b/src/mainboard/lenovo/t440p/acpi/ec.asl
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <ec/lenovo/h8/acpi/ec.asl>
+#include <ec/lenovo/h8/acpi/thinkpad_bat_thresholds_b0.asl>