diff options
author | Jett Rink <jettrink@chromium.org> | 2018-04-25 13:13:19 -0600 |
---|---|---|
committer | Jett Rink <jettrink@chromium.org> | 2018-04-26 13:53:54 +0000 |
commit | f3de6cf48de8be0fe1ba208ce182f1730dec420e (patch) | |
tree | 675820e10879ca76a11a4c64f316018e71c8f7bd /board/yorp | |
parent | 805b9850a6402d56e3671e3cb1d5abd9cd68dd50 (diff) | |
download | chrome-ec-f3de6cf48de8be0fe1ba208ce182f1730dec420e.tar.gz |
yorp: lower i2c speeds to 100kHz
We need to tune the i2c parameters for the nuvoton chip on our yorp board
to be able to operate at 400kHz. Currently we do not need the extra speed
or bandwidth, so we are reverting to a lower speed where the default
timing parameters work well.
BRANCH=none
BUG=b:78554726,b:78225299
TEST=HDMI over TypeC works on yorp
This reverts commit 2e7e6665b1e712a950eef8ae3d3f64ae0f1d2ec1.
Change-Id: Ic4ba1d5ef25661bd6c7f9490450af65b4e1393ad
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1028752
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'board/yorp')
-rw-r--r-- | board/yorp/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/yorp/board.c b/board/yorp/board.c index df34cad66b..d5608a2be4 100644 --- a/board/yorp/board.c +++ b/board/yorp/board.c @@ -121,8 +121,8 @@ BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT); /* I2C port map. */ const struct i2c_port_t i2c_ports[] = { {"battery", I2C_PORT_BATTERY, 100, GPIO_I2C0_SCL, GPIO_I2C0_SDA}, - {"tcpc0", I2C_PORT_TCPC0, 400, GPIO_I2C1_SCL, GPIO_I2C1_SDA}, - {"tcpc1", I2C_PORT_TCPC1, 400, GPIO_I2C2_SCL, GPIO_I2C2_SDA}, + {"tcpc0", I2C_PORT_TCPC0, 100, GPIO_I2C1_SCL, GPIO_I2C1_SDA}, + {"tcpc1", I2C_PORT_TCPC1, 100, GPIO_I2C2_SCL, GPIO_I2C2_SDA}, {"eeprom", I2C_PORT_EEPROM, 100, GPIO_I2C3_SCL, GPIO_I2C3_SDA}, {"charger", I2C_PORT_CHARGER, 100, GPIO_I2C4_SCL, GPIO_I2C4_SDA}, {"sensor", I2C_PORT_SENSOR, 100, GPIO_I2C7_SCL, GPIO_I2C7_SDA}, |