summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-09-23 23:58:04 -0700
committerCommit Bot <commit-bot@chromium.org>2021-09-28 16:01:25 +0000
commit16c1d44caebe58dbd4af36b603a0c929764873a9 (patch)
treeadaaa6e7fc04eebbd12a82d6e0bfba76239b6db1 /README.md
parentb7a4de94f6c425b9c642b71da4cdc569c3351bc2 (diff)
downloadchrome-ec-16c1d44caebe58dbd4af36b603a0c929764873a9.tar.gz
common/i2c: Implement i2cspeed console command
This adds the "i2cspeed port [speed]" console command. If only the port number is given, then the current port bus speed is reported. With 2 arguments, the port bus speed is changed. Valid speeds are 100, 400, 1000 and the unit is kHz. BRANCH=none BUG=b:201039003 TEST=with follow-on patches, switched I2C bus speed between 400 kHz and 1 MHz. Change-Id: I7ca6b2c7a8fd9abe8e8ec77e4d1702529b297fe8 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3181504 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions