diff options
author | David Huang <david.huang@quanta.corp-partner.google.com> | 2021-09-02 10:31:45 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-03 04:23:38 +0000 |
commit | 3f53ca62748c1f9a703b875e98ab4cc614caa014 (patch) | |
tree | 50ed2ecb4fb8adfdcc92c9bdf49c88186942456d /board/brask | |
parent | 7b35af03ae2054071d34dc1fb7892cf7eb1f79d8 (diff) | |
download | chrome-ec-3f53ca62748c1f9a703b875e98ab4cc614caa014.tar.gz |
brask: Support cec
Enable support cec function
BUG=b:197474873
BRANCH=None
TEST=make builadall -j
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I6e626425853ef7261efdb8f40905ddcbfd4f48f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3139615
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'board/brask')
-rw-r--r-- | board/brask/board.h | 6 | ||||
-rw-r--r-- | board/brask/ec.tasklist | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/board/brask/board.h b/board/brask/board.h index e27292c08f..21a25c3811 100644 --- a/board/brask/board.h +++ b/board/brask/board.h @@ -18,6 +18,12 @@ /* Barrel Jack */ #define DEDICATED_CHARGE_PORT 3 +/* HDMI CEC */ +#define CONFIG_CEC +#define CEC_GPIO_OUT GPIO_HDMI_CEC_OUT +#define CEC_GPIO_IN GPIO_HDMI_CEC_IN +#define CEC_GPIO_PULL_UP GPIO_HDMI_CEC_PULL_UP + /* USB Type A Features */ #define USB_PORT_COUNT 4 #define CONFIG_USB_PORT_POWER_DUMB diff --git a/board/brask/ec.tasklist b/board/brask/ec.tasklist index 86693f82a5..46863551f9 100644 --- a/board/brask/ec.tasklist +++ b/board/brask/ec.tasklist @@ -23,4 +23,5 @@ TASK_ALWAYS(PD_C1, pd_task, NULL, VENTI_TASK_STACK_SIZE) \ TASK_ALWAYS(PD_C2, pd_task, NULL, VENTI_TASK_STACK_SIZE) \ TASK_ALWAYS(PD_INT_C0, pd_shared_alert_task, (BIT(2) | BIT(0)), TASK_STACK_SIZE) \ - TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, TASK_STACK_SIZE) + TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, TASK_STACK_SIZE) \ + TASK_ALWAYS(CEC, cec_task, NULL, TASK_STACK_SIZE) |