summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/it8987/acpi/thermal.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/starlabs/it8987/acpi/thermal.asl')
-rw-r--r--src/ec/starlabs/it8987/acpi/thermal.asl14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ec/starlabs/it8987/acpi/thermal.asl b/src/ec/starlabs/it8987/acpi/thermal.asl
new file mode 100644
index 0000000000..6bf25bf7b6
--- /dev/null
+++ b/src/ec/starlabs/it8987/acpi/thermal.asl
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+Method(_QF0) // Thermal event.
+{
+ If (LEqual (DBGS, 0x00))
+ {
+ /* Only handle the numerous thermal events if we are */
+ /* NOT doing ACPI Debugging. */
+ If (CondRefOf (\_TZ.TZ01))
+ {
+ Notify (\_TZ.TZ01, 0x80)
+ }
+ }
+}