summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2020-02-06 15:46:35 +0800
committerCommit Bot <commit-bot@chromium.org>2020-02-10 06:04:44 +0000
commit97c2fbbb2692e0395d360cdc75140f9f1d6e5911 (patch)
tree3eb25f91d9d731b4646a2b5a8d7d8255b8a5a4f7 /board
parentc5c52f91941a27f5e548e2063bf056c67aee0f99 (diff)
downloadchrome-ec-97c2fbbb2692e0395d360cdc75140f9f1d6e5911.tar.gz
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 <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2040879 Reviewed-by: Eric Yilun Lin <yllin@chromium.org> Tested-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/damu/board.c6
-rw-r--r--board/jacuzzi/board.c6
-rw-r--r--board/kappa/board.c6
3 files changed, 0 insertions, 18 deletions
diff --git a/board/damu/board.c b/board/damu/board.c
index 946f925081..4639a23e50 100644
--- a/board/damu/board.c
+++ b/board/damu/board.c
@@ -257,12 +257,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)
{
diff --git a/board/jacuzzi/board.c b/board/jacuzzi/board.c
index 123a378f6f..7199f9ce12 100644
--- a/board/jacuzzi/board.c
+++ b/board/jacuzzi/board.c
@@ -417,12 +417,6 @@ const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);
#endif /* !VARIANT_KUKUI_NO_SENSORS */
-/* 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)
{
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)
{