aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2018-01-26 17:53:38 -0800
committerFurquan Shaikh <furquan@google.com>2018-01-30 20:20:52 +0000
commitf8344fb1d8f4281a5dff5cf410f2f1f82dc3ac8a (patch)
treedcf75e19161d766cac8f4513397b0572c62e037b /src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
parentcb58683ef581708fd256b875e05ed7263f867ab1 (diff)
mb/google/poppy/variants/soraka: Enable mode-aware DPTF
This change selects EC tablet event and provides trip point temperatures for tablet and non-tablet mode so that DPTF can be supported depending upon device mode. BUG=b:65467566 TEST=Verified by changing modes that the trip point temperatures are updated in the OS (/sys/devices/virtual/thermal/thermal_zone{2,3,4,5}). Change-Id: I071868982fa87821550b870a6d8050cf2a030b49 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/23463 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/mainboard/google/poppy/variants/soraka/include/variant/ec.h')
-rw-r--r--src/mainboard/google/poppy/variants/soraka/include/variant/ec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h b/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
index 047abb6b4d..a28b9903ca 100644
--- a/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
+++ b/src/mainboard/google/poppy/variants/soraka/include/variant/ec.h
@@ -18,4 +18,6 @@
#include <baseboard/ec.h>
+#define EC_ENABLE_TABLET_EVENT /* Tablet event to support DPTF */
+
#endif /* __MAINBOARD_EC_H__ */