diff options
-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) |