diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/cherry/ec.tasklist | 2 | ||||
-rw-r--r-- | board/cherry/gpio.inc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/cherry/ec.tasklist b/board/cherry/ec.tasklist index 75dbb1a828..fa829ffe1a 100644 --- a/board/cherry/ec.tasklist +++ b/board/cherry/ec.tasklist @@ -13,10 +13,10 @@ TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, VENTI_TASK_STACK_SIZE) \ TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, VENTI_TASK_STACK_SIZE) \ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \ - TASK_NOTEST(PDCMD, pd_command_task, NULL, 1024) \ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, 1024) \ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE) \ TASK_ALWAYS(PD_C0, pd_task, NULL, 1280) \ TASK_ALWAYS(PD_C1, pd_task, NULL, 1280) \ + TASK_ALWAYS(PD_INT_C1, pd_interrupt_handler_task, 1, 1024) \ diff --git a/board/cherry/gpio.inc b/board/cherry/gpio.inc index caa8739d7d..895ec70f8c 100644 --- a/board/cherry/gpio.inc +++ b/board/cherry/gpio.inc @@ -38,8 +38,7 @@ GPIO_INT(USB_C0_BC12_INT_ODL,PIN(J, 4), GPIO_INT_FALLING, bc12_interrupt) #else /* TOMATO */ GPIO_INT(USB_C0_BC12_INT_ODL,PIN(I, 5), GPIO_INT_FALLING, bc12_interrupt) #endif -/* TODO: rt1718s interrupt, not implemented */ -GPIO(USB_C1_INT_ODL, PIN(B, 2), GPIO_INPUT | GPIO_INT_FALLING) +GPIO_INT(USB_C1_INT_ODL, PIN(B, 2), GPIO_INT_FALLING, rt1718s_tcpc_interrupt) /* TODO: not used in other devices? */ GPIO(LID_ACCEL_INT_L, PIN(M, 2), GPIO_INT_FALLING | GPIO_SEL_1P8V) @@ -78,7 +77,8 @@ GPIO(EC_INT_L, PIN(E, 6), GPIO_ODR_HIGH | GPIO_SEL_1P8V) /* EC_AP_ /* USB and USBC Signals */ GPIO(DP_PATH_SEL, PIN(G, 0), GPIO_OUT_HIGH) -GPIO(DP_DEMUX_EN, PIN(G, 1), GPIO_OUT_LOW) +/* TODO: Turn off in S3 */ +GPIO(DP_DEMUX_EN, PIN(G, 1), GPIO_OUT_HIGH) GPIO(EC_AP_DP_HPD_ODL, PIN(J, 0), GPIO_ODR_HIGH) GPIO(EN_PP5000_USB_A0_VBUS_X,PIN(B, 7), GPIO_OUT_LOW) GPIO(USB_C0_DP_IN_HPD, PIN(H, 4), GPIO_OUT_LOW) |