mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 09:01:35 +00:00
ish i2c: add I2C Fast Mode Plus 1Mbps speed option
Also added CONFI_ISH_I2C_PORT0_SPEED, CONFI_ISH_I2C_PORT1_SPEED, and CONFI_ISH_I2C_PORT2_SPEED to define speed for each ISH I2C port. By default, those are set to fast mode, 400kbps, I2C_SPEED_FAST. The values can be modified in board.h. BUG=None BRANCH=None TEST=On Soraka modified board for ISH, set I2C stardard mode, fast mode and fast mode plus, measured I2C clock freq using scope respectively and confirmed the freq matched I2C mode. Change-Id: I426b50dc935c3760903360a50f6069e99bd0abff Signed-off-by: li feng <li1.feng@intel.com> Reviewed-on: https://chromium-review.googlesource.com/784091 Commit-Ready: Li1 Feng <li1.feng@intel.com> Tested-by: Li1 Feng <li1.feng@intel.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -1613,6 +1613,10 @@
|
||||
*/
|
||||
#undef CONFIG_I2C_MULTI_PORT_CONTROLLER
|
||||
|
||||
#undef CONFI_ISH_I2C_PORT0_SPEED
|
||||
#undef CONFI_ISH_I2C_PORT1_SPEED
|
||||
#undef CONFI_ISH_I2C_PORT2_SPEED
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Current/Power monitor */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user