diff options
author | Furquan Shaikh <furquan@google.com> | 2018-03-09 17:03:46 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-21 20:48:36 -0700 |
commit | e513b7339ad66c30fa9cee626e478d06a714e42c (patch) | |
tree | 43cb2db9c6e7b52ae7230cc56f7c4b29d345a36b /board/nautilus/board.h | |
parent | 9aee2a19e81949eca86eb0b113c99d1782eaa2d2 (diff) | |
download | chrome-ec-e513b7339ad66c30fa9cee626e478d06a714e42c.tar.gz |
nautilus: Use I2C callbacks to ensure minimum bus free time for battery
Battery on nautilus requires a minimum bus free time of 5ms between
I2C transactions. Use I2C_XFER_CALLBACK mechanism to ensure that this
time is guaranteed before starting a new i2c transaction.
BUG=b:73147310
BRANCH=None
TEST=make -j BOARD=nautilus. Verified on nautilus that no issue is
observed while charging the battery.
Change-Id: Ieba168835190b5d1334e413dc4f74e0248bf5a15
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/957966
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/nautilus/board.h')
-rw-r--r-- | board/nautilus/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h index 242bbc0524..b6362799a2 100644 --- a/board/nautilus/board.h +++ b/board/nautilus/board.h @@ -25,6 +25,7 @@ #define CONFIG_FPU #define CONFIG_I2C #define CONFIG_I2C_MASTER +#define CONFIG_I2C_XFER_BOARD_CALLBACK #define CONFIG_KEYBOARD_COL2_INVERTED #define CONFIG_KEYBOARD_PROTOCOL_8042 #define CONFIG_LED_COMMON |