Files
OpenCellular/chip
Dino Li dc8a8767fa it83xx: i2c: remove instructions that aren't necessary
- To i2c channel(d/e/f), we remove instructions that aren't necessary.
- Changes of i2c_reset():
  Before the change, we try to send a START/STOP bit if we get a reset.
  But i2c_unwedge() already done it, so we just need reset i2c module
  in i2c_reset().
- Add enhanced_i2c_start() to channel(d/e/f) for each transaction start:
  We prepare transaction start by calling i2c_reset(),
  but this doesn't match the definition of i2c_reset(),
  so we correct it.

BRANCH=none
BUG=none
TEST=1. console commands: "i2cscan", "charger" and "battery".
     2. sensors, battery, charger and mux work on reef_it8320.

Change-Id: I4e3595479e04a5994a5b19409cfc4e9a46f63d4f
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/674467
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2017-09-26 22:35:20 -07:00
..
2017-09-27 00:51:09 +00:00
2017-09-07 15:01:05 -07:00
2017-09-07 15:01:05 -07:00
2017-09-07 15:01:05 -07:00
2017-09-07 15:01:05 -07:00
2017-09-07 15:01:05 -07:00
2017-09-22 10:18:50 -07:00