diff options
author | Matthew Blecker <matthewb@chromium.org> | 2018-09-21 06:52:15 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-30 02:53:08 -0700 |
commit | 84ba15bdb58a9f2a13d1aabbc095d96ffaa1c09b (patch) | |
tree | 54a6846790fff0cff4591a86cddcc59e7522154a /board/aleena | |
parent | 01f95b49e6dc69c2485c671b71d2075eb9e34f66 (diff) | |
download | chrome-ec-84ba15bdb58a9f2a13d1aabbc095d96ffaa1c09b.tar.gz |
Add i2c-pseudo Linux kernel module.
This Linux kernel module provides I2C adapters that can be backed by
userspace programs. This allows for userspace implementations of
functionality such as tunneling I2C through another communication channel
to a remote I2C bus.
BRANCH=none
BUG=b:79684405
TEST=Used i2c-tools CLI to i2c-dev to issue I2C queries, and Python
interactive interpreter as the I2C pseudo adapter controller. The
i2c-pseudo module correctly proxied write, read, write+read, and multi-byte
reads through the controller character device, and it correctly proxied
back the responses from the character device, including the specific byte
values read. Later, I implemented an I2C pseudo controller in Servod and
used it to flash an ITE EC over I2C using both Servo Micro and Suzy-Q.
Change-Id: Idda764e56b9e9d577302b59286e873291ea36d25
Signed-off-by: Matthew Blecker <matthewb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1250029
Reviewed-by: Nick Sanders <nsanders@chromium.org>
Diffstat (limited to 'board/aleena')
0 files changed, 0 insertions, 0 deletions