summaryrefslogtreecommitdiff
path: root/board/aleena/ec.tasklist
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-12-04 12:28:16 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-12-05 01:13:32 -0800
commit0034f8f365e647514e16c61031f661753089cf66 (patch)
tree3803572b3aa026d8e9d9f99487cc83c5f61228d2 /board/aleena/ec.tasklist
parent2b9ee186544863f29a84477aa46a80a57d8f09e0 (diff)
downloadchrome-ec-0034f8f365e647514e16c61031f661753089cf66.tar.gz
aleena/kasumi: Add support for motion sensors
Adjust Grunt baseboard to allow for per-sku support for motion sensors. Use this to enable motion sensors for SKU 82 (Kasumi360). Only enable the interrupt if the sensor is present. BUG=b:119795894 BRANCH=grunt TEST=Kasumi360 `ectool motionsense lid_angle` shows correct angles. Change-Id: Icb34359d7ac4cd894776e134c2c1fb7032741f03 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1361987 Tested-by: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com> Reviewed-by: Ryan Zhang <ryan.zhang@quanta.corp-partner.google.com> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/aleena/ec.tasklist')
-rw-r--r--board/aleena/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/aleena/ec.tasklist b/board/aleena/ec.tasklist
index 67453cd670..97711213a1 100644
--- a/board/aleena/ec.tasklist
+++ b/board/aleena/ec.tasklist
@@ -25,6 +25,7 @@
TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, TASK_STACK_SIZE) \
TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, TASK_STACK_SIZE) \
TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(PDCMD, pd_command_task, NULL, LARGER_TASK_STACK_SIZE) \