summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Chen <marcochen@google.com>2020-12-01 20:38:23 +0800
committerCommit Bot <commit-bot@chromium.org>2020-12-07 02:14:58 +0000
commit96ff4b86f9b6ceac2232c41527103f3d7bd825f3 (patch)
tree2e7ce4061d05e7bc37f69cce842eb1f7e71333b6
parent6ab06ea9d28f9e92a6ec4edf81f3de7c373393d9 (diff)
downloadchrome-ec-96ff4b86f9b6ceac2232c41527103f3d7bd825f3.tar.gz
casta: change CONFIG_BC12_MAX14637_DELAY_FROM_OFF_TO_ON to 100
BUG=b:173166535 BRANCH=octopus TEST=build and flash to casta; verify whether BC12 can detect CDP/DCP/SDP correctly. TEST=`make buildall -j` Signed-off-by: Marco Chen <marcochen@chromium.org> Change-Id: I6e3b9d79416a0cdf8200dae16e22cf0b2564c391 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2573657
-rw-r--r--board/casta/board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/casta/board.h b/board/casta/board.h
index 64c758de1b..6599e78a6f 100644
--- a/board/casta/board.h
+++ b/board/casta/board.h
@@ -63,6 +63,10 @@
#define CONFIG_CHARGER_PROFILE_OVERRIDE
#define CONFIG_I2C_XFER_BOARD_CALLBACK
+/* The board needs 100ms for VBUS_C[0|1]_BC12 to drop to lower VvbusUVLO */
+#undef CONFIG_BC12_MAX14637_DELAY_FROM_OFF_TO_ON_MS
+#define CONFIG_BC12_MAX14637_DELAY_FROM_OFF_TO_ON_MS 100
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"