summaryrefslogtreecommitdiff
path: root/board/asurada/ec.tasklist
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2020-04-06 16:12:10 +0800
committerCommit Bot <commit-bot@chromium.org>2020-05-08 12:09:16 +0000
commit1c1ce953d6cc50082140053e62815a8f1f4d817b (patch)
treeec20793b5407a0188b6d53d1496d5ecd62c9d054 /board/asurada/ec.tasklist
parentbf7f4a3e51d50d42375dda84c7e444f967adb055 (diff)
downloadchrome-ec-1c1ce953d6cc50082140053e62815a8f1f4d817b.tar.gz
mt8192: add MediaTek MT8192 power sequencing support
Add power sequencing for asurada rev0 board. Craft mt8192 PS from mt8183. Mostly are the same, except that MT8192 doesn't use EC reset as AP reset. BRANCH=none BUG=b:150341779 TEST=TEST=Tried the following cases: * Cold reset: $ dut-control cold_reset:on sleep:0.2 cold_reset:off Result: G3 -> S0 * Long power press to shutdown: $ dut-control pwr_button:press sleep:8.2 pwr_button:release Result: S0 -> S5 -> G3 * Long power press to power-on but then shutdown: $ dut-control pwr_button:press sleep:8.2 pwr_button:release Result: G3 -> S0 -> S5 -> G3 * Short power press to power-on: $ dut-control pwr_button:press sleep:0.2 pwr_button:release Result: G3 -> S0 * Console command: apreset Result: S0, AP reboots * Console command: apshutdown Result: S0 -> S5 -> G3 * Lid open to power-on: $ dut-control lid_open:no sleep:0.2 lid_open:yes Result: G3 -> S0 Change-Id: Ib8ac1ed700fc0a46fe8a1e6e40e1fefa3401d3c0 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2120114 Reviewed-by: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/asurada/ec.tasklist')
-rw-r--r--board/asurada/ec.tasklist3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/asurada/ec.tasklist b/board/asurada/ec.tasklist
index c551e9c1fe..774e0337a8 100644
--- a/board/asurada/ec.tasklist
+++ b/board/asurada/ec.tasklist
@@ -7,10 +7,11 @@
* See CONFIG_TASK_LIST in config.h for details.
*/
/**
- TODO: missing CHIPSET and MOTIONSENSE task
+ TODO: missing MOTIONSENSE task
*/
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_NOTEST(CHIPSET, chipset_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, 1024) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \