diff options
author | Duncan Laurie <dlaurie@google.com> | 2018-11-20 17:30:47 -0800 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2018-12-04 17:34:38 +0000 |
commit | 98d7de7ea93379957fc3f48bef6912e9947e1099 (patch) | |
tree | 5f638ec5330ebe11b4ebf59a9cad0377e690c856 /src/ec/google/wilco/acpi/event.asl | |
parent | 106a0823c92593fe35150c5255d9852b9bff9c5d (diff) | |
download | coreboot-98d7de7ea93379957fc3f48bef6912e9947e1099.tar.xz |
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>
Diffstat (limited to 'src/ec/google/wilco/acpi/event.asl')
-rw-r--r-- | src/ec/google/wilco/acpi/event.asl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ec/google/wilco/acpi/event.asl b/src/ec/google/wilco/acpi/event.asl index 4d796b5c85..21721f2750 100644 --- a/src/ec/google/wilco/acpi/event.asl +++ b/src/ec/google/wilco/acpi/event.asl @@ -87,6 +87,11 @@ Method (ECQ2, 1, Serialized) Method (ECQ3, 1, Serialized) { Printf ("EVT3: %o", Arg0) + + /* Theraml Events */ + If (EBIT (E3TH, Arg0)) { + ^PATX () + } } /* Handle events in PmEv4 */ |