summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.motionsense
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.motionsense')
-rw-r--r--zephyr/Kconfig.motionsense10
1 files changed, 3 insertions, 7 deletions
diff --git a/zephyr/Kconfig.motionsense b/zephyr/Kconfig.motionsense
index 86a7fb08bc..7cf991918b 100644
--- a/zephyr/Kconfig.motionsense
+++ b/zephyr/Kconfig.motionsense
@@ -93,9 +93,10 @@ config PLATFORM_EC_LID_ANGLE
peripheral devices(refer "Lid Angle Update" below).
# TODO(b/173507858): add more detail after .dts change
+if PLATFORM_EC_LID_ANGLE
+
config PLATFORM_EC_LID_ANGLE_UPDATE
bool "Lid Angle Update"
- depends on PLATFORM_EC_LID_ANGLE
help
Enable this to allow using the lid angle measurement to determine if
peripheral devices should be enabled or disabled, like key scanning,
@@ -126,6 +127,7 @@ config PLATFORM_EC_GMR_TABLET_MODE
in common/tablet_mode.c.
endif # PLATFORM_EC_TABLET_MODE
+endif # PLATFORM_EC_LID_ANGLE
config PLATFORM_EC_CONSOLE_CMD_ACCELS
bool "Console commands: accels, accelrate, accelinit, accelinfo, etc."
@@ -172,10 +174,4 @@ config PLATFORM_EC_CONSOLE_CMD_ACCEL_SPOOF
endif # PLATFORM_EC_ACCEL_SPOOF_MODE
-config PLATFORM_EC_GESTURE_HOST_DETECTION
- bool "Gesture host detection"
- help
- Enable gesture host interface
-
rsource "Kconfig.sensor_devices"
-rsource "Kconfig.body_detection"