mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 16:46:23 +00:00
cheza: Lower the I2C bus speed of smart battery
The I2C speed of the smart battery is 100KHz. Lower the bus speed. BRANCH=none BUG=b:74395451 TEST=Used console command "i2cscan" to check the smart battery. Change-Id: I3f5f1e7ac1707ba416036214afa2ff46dad7f174 Signed-off-by: Tom Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/1040874 Commit-Ready: Wai-Hong Tam <waihong@google.com> Tested-by: Wai-Hong Tam <waihong@google.com> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
de6825d3ff
commit
499e404d98
@@ -67,7 +67,7 @@ BUILD_ASSERT(ARRAY_SIZE(power_signal_list) == POWER_SIGNAL_COUNT);
|
||||
|
||||
/* I2C port map */
|
||||
const struct i2c_port_t i2c_ports[] = {
|
||||
{"power", I2C_PORT_POWER, 400, GPIO_I2C0_SCL, GPIO_I2C0_SDA},
|
||||
{"power", I2C_PORT_POWER, 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},
|
||||
{"eeprom", I2C_PORT_EEPROM, 400, GPIO_I2C5_SCL, GPIO_I2C5_SDA},
|
||||
|
||||
Reference in New Issue
Block a user