aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/acpi/ec.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/acpi/ec.asl')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index b182766947..a40d0acbc0 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -322,6 +322,7 @@ Device (EC0)
Notify (CREC, 0x80)
}
+#ifdef EC_ENABLE_TABLET_EVENT
// TABLET mode switch Event
Method (_Q1D, 0, NotSerialized)
{
@@ -329,7 +330,9 @@ Device (EC0)
If (CondRefOf (\_SB.DPTF.TPET)) {
\_SB.DPTF.TPET()
}
+ Notify (TBMC, 0x80)
}
+#endif
/*
* Dynamic Platform Thermal Framework support
@@ -478,4 +481,8 @@ Device (EC0)
#ifdef EC_ENABLE_PD_MCU_DEVICE
#include "pd.asl"
#endif
+
+#ifdef EC_ENABLE_TABLET_EVENT
+ #include "tbmc.asl"
+#endif
}