summaryrefslogtreecommitdiff
path: root/board/gimble/i2c.c
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2021-07-17 16:15:15 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-22 00:02:02 +0000
commit2bb173c3987f977a74e3c7b044e903820185217b (patch)
treef08c5c4b2c764f25a5571286697f775eb1a8966d /board/gimble/i2c.c
parent55d16f133a82db1e34f32ed84ec0c7ff22391fcf (diff)
downloadchrome-ec-2bb173c3987f977a74e3c7b044e903820185217b.tar.gz
gimble: downspeed tcpc i2c speed
BUG=b:194260437 BRANCH=none TEST=make -j BOARD=gimble Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Change-Id: I6e5c34a5c2bc14316fa55c80c8c3de5140aa692e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034793 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/gimble/i2c.c')
-rw-r--r--board/gimble/i2c.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/board/gimble/i2c.c b/board/gimble/i2c.c
index 95b626e3eb..692c50082c 100644
--- a/board/gimble/i2c.c
+++ b/board/gimble/i2c.c
@@ -18,10 +18,14 @@ const struct i2c_port_t i2c_ports[] = {
.sda = GPIO_EC_I2C_SENSOR_SDA,
},
{
+ /* I2C1
+ * TODO(b/194264003) Need to check the signals with a scope
+ * before raising to 1MHz.
+ */
/* I2C1 */
.name = "tcpc0,2",
.port = I2C_PORT_USB_C0_TCPC,
- .kbps = 1000,
+ .kbps = 400,
.scl = GPIO_EC_I2C_USB_C0_C2_TCPC_SCL,
.sda = GPIO_EC_I2C_USB_C0_C2_TCPC_SDA,
},
@@ -34,6 +38,10 @@ const struct i2c_port_t i2c_ports[] = {
.sda = GPIO_EC_I2C_USB_C0_C2_PPC_BC_SDA,
},
{
+ /* I2C4
+ * TODO(b/194264003) Need to check the signals with a scope
+ * before raising to 1MHz.
+ */
/* I2C4 C1 TCPC */
.name = "tcpc1",
.port = I2C_PORT_USB_C1_TCPC,