diff options
author | Justin TerAvest <teravest@chromium.org> | 2018-07-03 15:12:39 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-04 20:21:29 -0700 |
commit | 626d419bf155f22cb228413c7b201a5c6f899f28 (patch) | |
tree | 9130b72b52a9ab91573edfffdb2b4b74688248de | |
parent | cc285ac52efc99a710c6520c6b02a9d4617a8c2c (diff) | |
download | chrome-ec-626d419bf155f22cb228413c7b201a5c6f899f28.tar.gz |
phaser: Enable DPTF and orientation
These are required for the EC to correctly report tablet mode changes to
the SoC.
BUG=b:111078678
TEST=With coreboot change, tablet mode detected by evtest and powerd
BRANCH=none
Change-Id: I8882873b884fe8be755675151e3992a30a4cb018
Signed-off-by: Justin TerAvest <teravest@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1125261
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Paul Ma <magf@bitland.corp-partner.google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/phaser/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/phaser/board.h b/board/phaser/board.h index 17f3ab37e7..9a47d75ae9 100644 --- a/board/phaser/board.h +++ b/board/phaser/board.h @@ -45,6 +45,9 @@ #define CONFIG_TABLET_SWITCH #define TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L +#define CONFIG_DPTF +#define CONFIG_DPTF_DEVICE_ORIENTATION + /* Interrupt and fifo are only used for base accelerometer * and the lid sensor is polled real-time (in forced mode). */ |