summaryrefslogtreecommitdiff
path: root/board/gingerbread/ec.tasklist
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2020-11-06 21:12:27 -0800
committerCommit Bot <commit-bot@chromium.org>2020-12-13 02:56:49 +0000
commitff4f8fd9a4685ff9072826008fa928c400e65122 (patch)
tree5db8e3784d4fbc8e08e7240358d115169f87b16a /board/gingerbread/ec.tasklist
parent3a03483f801c5b21aa662d6a2da97fed042f60ee (diff)
downloadchrome-ec-ff4f8fd9a4685ff9072826008fa928c400e65122.tar.gz
stm32g4: ucpd: Add support for USB-PD messaging
This CL adds routines required to support USB-PD messaging to the UCPD driver. UCPD is performs TCPC type functions, but is not a TCPC. UCPD does utilize the common TCPCI APIs as entry points called from the port's PD task. In addition, UCPD has its own task to manage more easily transmit requests from TCPM layer and GoodCRC messages which must be intiated in the UCPD driver itself. BUG=b:167601672 BRANCH=None TEST=verfied type-c attaches properly on quiche Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: I0c02bee4badc479125832a6b5a6fa156e998c201 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247117 Tested-by: Scott Collyer <scollyer@chromium.org> Auto-Submit: Scott Collyer <scollyer@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/gingerbread/ec.tasklist')
-rw-r--r--board/gingerbread/ec.tasklist3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/gingerbread/ec.tasklist b/board/gingerbread/ec.tasklist
index c272906fc7..9b3c3aa0a3 100644
--- a/board/gingerbread/ec.tasklist
+++ b/board/gingerbread/ec.tasklist
@@ -9,4 +9,5 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
- TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE)
+ TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(UCPD, ucpd_task, 0, LARGER_TASK_STACK_SIZE)