diff options
author | Scott Chao <scott_chao@wistron.corp-partner.google.com> | 2021-08-19 20:12:31 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-24 01:55:14 +0000 |
commit | 723a85ef14d8c41c329e34ddc79312cb5654ae0f (patch) | |
tree | 3ad78537a73b0b89ac15d8cd46d5f11ca63bfbc9 /board/gimble/i2c.c | |
parent | 02d8502be09282c3abe5902830ffd91a05b6e88f (diff) | |
download | chrome-ec-723a85ef14d8c41c329e34ddc79312cb5654ae0f.tar.gz |
gimble: fix port1 i2c setting
PPC, BC1.2, TCPC are all using same i2c bus.
BUG=b:197200924
BRANCH=none
TEST=make -j BOARD=gimble
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I1468e6aca0deea1e4783ebcc2af1b52f22dd93b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3106906
Commit-Queue: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board/gimble/i2c.c')
-rw-r--r-- | board/gimble/i2c.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/board/gimble/i2c.c b/board/gimble/i2c.c index 692c50082c..ed763fffca 100644 --- a/board/gimble/i2c.c +++ b/board/gimble/i2c.c @@ -23,7 +23,7 @@ const struct i2c_port_t i2c_ports[] = { * before raising to 1MHz. */ /* I2C1 */ - .name = "tcpc0,2", + .name = "tcpc0", .port = I2C_PORT_USB_C0_TCPC, .kbps = 400, .scl = GPIO_EC_I2C_USB_C0_C2_TCPC_SCL, @@ -31,7 +31,7 @@ const struct i2c_port_t i2c_ports[] = { }, { /* I2C2 */ - .name = "ppc0,2", + .name = "ppc0", .port = I2C_PORT_USB_C0_PPC, .kbps = 1000, .scl = GPIO_EC_I2C_USB_C0_C2_PPC_BC_SCL, @@ -58,14 +58,6 @@ const struct i2c_port_t i2c_ports[] = { .sda = GPIO_EC_I2C_BAT_SDA, }, { - /* I2C6 */ - .name = "ppc1", - .port = I2C_PORT_USB_C1_PPC, - .kbps = 400, - .scl = GPIO_EC_I2C_USB_C1_MIX_SCL, - .sda = GPIO_EC_I2C_USB_C1_MIX_SDA, - }, - { /* I2C7 */ .name = "eeprom", .port = I2C_PORT_EEPROM, |