From e0c415b8f76a5179474b89418094f986fd1cd772 Mon Sep 17 00:00:00 2001 From: Eric Herrmann Date: Fri, 14 Feb 2020 11:04:48 -0800 Subject: TCPMv2: Add pathway to enable FRS from PPC driver Some PPCs have integrated CC line detection to trigger FRS faster, but this needs to be enabled from the USBC policy engine only after the sink capabilities have been exchanged. BUG=b:148144711 TEST=make buildall BRANCH=none Change-Id: Iaa64f64845c5ffdd32fa66a3eb6f6251abb7c157 Signed-off-by: Eric Herrmann Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2056493 Reviewed-by: Keith Short --- baseboard/zork/baseboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'baseboard') diff --git a/baseboard/zork/baseboard.h b/baseboard/zork/baseboard.h index edeb359d52..3b7b6bbf45 100644 --- a/baseboard/zork/baseboard.h +++ b/baseboard/zork/baseboard.h @@ -134,7 +134,7 @@ /* Enable TCPMv2 Fast Role Swap */ /* Turn off until FRSwap is working */ - #undef CONFIG_USB_TYPEC_PD_FAST_ROLE_SWAP + #undef CONFIG_USB_PD_FRS_TCPC #endif #define CONFIG_HOSTCMD_PD_CONTROL @@ -339,7 +339,7 @@ void bc12_interrupt(enum gpio_signal signal); void ppc_interrupt(enum gpio_signal signal); #endif -#ifdef CONFIG_USB_TYPEC_PD_FAST_ROLE_SWAP +#ifdef CONFIG_USB_PD_FRS_TCPC int board_tcpc_fast_role_swap_enable(int port, int enable); #endif -- cgit v1.2.1