From 11d2f6db059abdae1801cb6bcc4064d24a950ce3 Mon Sep 17 00:00:00 2001 From: Sooraj Govindan Date: Mon, 5 Apr 2021 19:02:09 +0530 Subject: adlrvp: initialise over current indication BUG=none BRANCH=none TEST=ADL-P-RVP boots to OS Signed-off-by: Sooraj Govindan Change-Id: I398c6d642c0cfac48e647878e9b06f164b17db60 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2804000 Reviewed-by: caveh jalali --- baseboard/intelrvp/adlrvp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/baseboard/intelrvp/adlrvp.c b/baseboard/intelrvp/adlrvp.c index 8ded342f09..e14013677f 100644 --- a/baseboard/intelrvp/adlrvp.c +++ b/baseboard/intelrvp/adlrvp.c @@ -286,8 +286,10 @@ static void tcpc_aic_init(void) configure_retimer_usbmux(); /* Initialize the IOEXPANDER on TCPC-AIC */ - for (i = 0; i < CONFIG_USB_PD_PORT_MAX_COUNT; i++) + for (i = 0; i < CONFIG_USB_PD_PORT_MAX_COUNT; i++) { pca9675_init(i); + board_overcurrent_event(i, 0); + } /* Default set the SBU lines to AUX mode on both the TCPC-AIC */ board_connect_c0_sbu_deferred(); -- cgit v1.2.1