ec/google/wilco/acpi: Add DPTF support
commit98d7de7ea93379957fc3f48bef6912e9947e1099
authorDuncan Laurie <dlaurie@google.com>
Wed, 21 Nov 2018 01:30:47 +0000 (20 17:30 -0800)
committerDuncan Laurie <dlaurie@chromium.org>
Tue, 4 Dec 2018 17:34:38 +0000 (4 17:34 +0000)
tree5f638ec5330ebe11b4ebf59a9cad0377e690c856
parent106a0823c92593fe35150c5255d9852b9bff9c5d
ec/google/wilco/acpi: Add DPTF support

Add the support needed for DPTF.  This includes the methods to
write trip point values, read temperatures, and handle events.

This was tested on a sarien board by inspecting AML debug output
with the kernel while monitoring temperatures and trip points in
sysfs and controlling temperatures with a fan to ensure that when
a trip point is crossed an SCI is generated and the event is
handled properly.

Change-Id: I8d8570d176c0896fa709a6c782b319f58d3c1e52
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/29761
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/ec/google/wilco/acpi/dptf.asl [new file with mode: 0644]
src/ec/google/wilco/acpi/ec.asl
src/ec/google/wilco/acpi/ec_ram.asl
src/ec/google/wilco/acpi/event.asl