diff options
author | Andrew McRae <amcrae@google.com> | 2020-05-28 02:00:10 +1000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-28 04:03:11 +0000 |
commit | 8a7666863b51b8dc7cc1be467cd9c41c3dd5e932 (patch) | |
tree | 2dd55b50e855c2c936405cca2f623f0a092b2f54 /board/puff | |
parent | f73bd4dd7285bea816af0c2f35059bb441fc4037 (diff) | |
download | chrome-ec-8a7666863b51b8dc7cc1be467cd9c41c3dd5e932.tar.gz |
Puff: Increase I2C bus speed to 400KHz
BUG=b:157554433
TEST=Run on Puff
BRANCH=none
Change-Id: I9566dd8bc59b6a508ab2a98d08ffcc2708c121e0
Signed-off-by: Andrew McRae <amcrae@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2217601
Reviewed-by: Jett Rink <jettrink@chromium.org>
Tested-by: Andrew McRae <amcrae@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
Diffstat (limited to 'board/puff')
-rw-r--r-- | board/puff/board.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/puff/board.c b/board/puff/board.c index d0415f7b62..f6f6d8db8e 100644 --- a/board/puff/board.c +++ b/board/puff/board.c @@ -261,11 +261,11 @@ const struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { /******************************************************************************/ /* I2C port map configuration */ const struct i2c_port_t i2c_ports[] = { - {"ina", I2C_PORT_INA, 100, GPIO_I2C0_SCL, GPIO_I2C0_SDA}, - {"ppc0", I2C_PORT_PPC0, 100, GPIO_I2C1_SCL, GPIO_I2C1_SDA}, - {"tcpc0", I2C_PORT_TCPC0, 100, GPIO_I2C3_SCL, GPIO_I2C3_SDA}, - {"power", I2C_PORT_POWER, 100, GPIO_I2C5_SCL, GPIO_I2C5_SDA}, - {"eeprom", I2C_PORT_EEPROM, 100, GPIO_I2C7_SCL, GPIO_I2C7_SDA}, + {"ina", I2C_PORT_INA, 400, GPIO_I2C0_SCL, GPIO_I2C0_SDA}, + {"ppc0", I2C_PORT_PPC0, 400, GPIO_I2C1_SCL, GPIO_I2C1_SDA}, + {"tcpc0", I2C_PORT_TCPC0, 400, GPIO_I2C3_SCL, GPIO_I2C3_SDA}, + {"power", I2C_PORT_POWER, 400, GPIO_I2C5_SCL, GPIO_I2C5_SDA}, + {"eeprom", I2C_PORT_EEPROM, 400, GPIO_I2C7_SCL, GPIO_I2C7_SDA}, }; const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); |