summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorli feng <li1.feng@intel.com>2015-07-02 13:29:10 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-10 20:42:18 +0000
commit2911e38022a950d9f0e85ed7480829bf21d34a1f (patch)
tree3a5997761bcee8f6443069d4b49cd08c549d386c /include/config.h
parent68b2809ee8f611d089f6d946dba10bb1b6d5c507 (diff)
downloadchrome-ec-2911e38022a950d9f0e85ed7480829bf21d34a1f.tar.gz
Cyan: Added Clamshell/Tablet mode support
Enabled lid angle calculation. Clamshell/Tablet mode is decided by lid angle. Accelerometers are set to be active in S3 also. Trackpad is enabled/disabled by GPIO TP_INT_DISABLE. Keyboard scan and trackpad are enabled in clamshell mode and disabled in tablet mode. Removed enable_keyboard() since keyboard is enabled in clamshell S0 and S3. BUG=chrome-os-partner:41353 TEST=Verify in clamshell mode, system can be waken up from S3 by keyboard/trackpad; And not tablet mode. BRANCH=None Change-Id: Ic5fb5a562e8426288eae2fb9815a213fe5033955 Signed-off-by: li feng <li1.feng@intel.com> Signed-off-by: Shamile Khan <shamile.khan@intel.com> Reviewed-on: https://chromium-review.googlesource.com/287341 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 983184d909..3d7271d07c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -789,10 +789,10 @@
/* Which sensor is located on the lid? */
#undef CONFIG_LID_ANGLE_SENSOR_LID
/*
- * Allows using the lid angle measurement to determine if key scanning should
- * be enabled or disabled when chipset is suspended.
+ * Allows using the lid angle measurement to determine if peripheral devices
+ * should be enabled or disabled, like key scanning, trackpad interrupt.
*/
-#undef CONFIG_LID_ANGLE_KEY_SCAN
+#undef CONFIG_LID_ANGLE_UPDATE
/* Define which index in motion_sensors is in the base. */
#undef CONFIG_SENSOR_BASE