From 4af38d440d1618e3e837aea016de30004a642e2c Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 15 Oct 2018 15:10:21 -0700 Subject: ec/google/wilco: Add ACPI battery and AC objects Add the expected objects (_BST, _BIF, _BIX) for reading battery information and status from the embedded controller, and the expected objects for reporting AC power status. The battery was tested by booting with a battery attached and checking that it is present in /sys/class/power_supply/BAT0 and that the values are consistent and within expected ranges. The AC device was tested by checking the AC status in sysfs when AC is inserted or removed while the system is running. Change-Id: Ie996891c383c9e990736690aef9795512ad6d35a Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/29123 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/ec/google/wilco/acpi/ec.asl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ec/google/wilco/acpi/ec.asl') diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl index 8197c549a7..d669854920 100644 --- a/src/ec/google/wilco/acpi/ec.asl +++ b/src/ec/google/wilco/acpi/ec.asl @@ -132,6 +132,8 @@ Device (EC0) #include "ec_dev.asl" #include "ec_ram.asl" + #include "ac.asl" + #include "battery.asl" #include "lid.asl" #include "platform.asl" } -- cgit v1.2.3