diff options
author | Scott Collyer <scollyer@google.com> | 2020-11-06 21:12:27 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-13 02:56:49 +0000 |
commit | ff4f8fd9a4685ff9072826008fa928c400e65122 (patch) | |
tree | 5db8e3784d4fbc8e08e7240358d115169f87b16a /board/quiche | |
parent | 3a03483f801c5b21aa662d6a2da97fed042f60ee (diff) | |
download | chrome-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/quiche')
-rw-r--r-- | board/quiche/ec.tasklist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/quiche/ec.tasklist b/board/quiche/ec.tasklist index fb51fe2088..0e18704a4c 100644 --- a/board/quiche/ec.tasklist +++ b/board/quiche/ec.tasklist @@ -10,4 +10,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(PD_C0, pd_task, NULL, VENTI_TASK_STACK_SIZE) + TASK_ALWAYS(PD_C0, pd_task, NULL, VENTI_TASK_STACK_SIZE) \ + TASK_ALWAYS(UCPD, ucpd_task, 0, LARGER_TASK_STACK_SIZE) |