diff options
-rw-r--r-- | baseboard/asurada/baseboard.h | 3 | ||||
-rw-r--r-- | board/asurada/board.c | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/baseboard/asurada/baseboard.h b/baseboard/asurada/baseboard.h index 4fc286a9b1..4fec058f1d 100644 --- a/baseboard/asurada/baseboard.h +++ b/baseboard/asurada/baseboard.h @@ -101,7 +101,8 @@ #define CONFIG_USBC_PPC #define CONFIG_USBC_PPC_DEDICATED_INT #define CONFIG_USBC_PPC_POLARITY -#define CONFIG_USBC_PPC_SYV682X +#define CONFIG_USBC_PPC_SYV682C +#define CONFIG_USBC_PPC_SYV682X_SMART_DISCHARGE #define CONFIG_USBC_PPC_VCONN #define CONFIG_USBC_SS_MUX #define CONFIG_USBC_VCONN diff --git a/board/asurada/board.c b/board/asurada/board.c index 90ef5b3cfe..c2dbba4f6d 100644 --- a/board/asurada/board.c +++ b/board/asurada/board.c @@ -330,3 +330,9 @@ static void board_resume(void) gpio_set_level(GPIO_EN_5V_USM, 1); } DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_resume, HOOK_PRIO_DEFAULT); + +__override int syv682x_board_is_syv682c(int port) +{ + return board_get_version() > 2; +} + |