From 97c2fbbb2692e0395d360cdc75140f9f1d6e5911 Mon Sep 17 00:00:00 2001 From: Ting Shen Date: Thu, 6 Feb 2020 15:46:35 +0800 Subject: juniper: implement otg function - set otg limit to 5V/3.3A according to hw requirement - remove unused charger_is_sourcing_otg_power function BUG=b:148627490 TEST=verify that the USB ports (both C and A) can supply up to 3A BRANCH=kukui Change-Id: I61b047f1d05e5428d4eef74c9e0af3a222449779 Signed-off-by: Ting Shen Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2040879 Reviewed-by: Eric Yilun Lin Tested-by: Ting Shen Commit-Queue: Ting Shen --- board/kappa/board.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'board/kappa/board.c') diff --git a/board/kappa/board.c b/board/kappa/board.c index 51ea4de1ef..8ebd0ee349 100644 --- a/board/kappa/board.c +++ b/board/kappa/board.c @@ -271,12 +271,6 @@ const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); #endif /* SECTION_IS_RW */ -/* TODO(b:138640167): config charger correctly */ -int charger_is_sourcing_otg_power(int port) -{ - return 0; -} - /* Called on AP S5 -> S3 transition */ static void board_chipset_startup(void) { -- cgit v1.2.1