summaryrefslogtreecommitdiff
path: root/extra/usb_updater/servo_updater.py
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-09-18 00:19:11 -0700
committerCommit Bot <commit-bot@chromium.org>2021-09-25 03:06:22 +0000
commit1808a11f2a43a665aa88a662eef96028db5da6e5 (patch)
tree1d19812e55d5f332271a3ae7ca4d45c2d4a0e361 /extra/usb_updater/servo_updater.py
parent7d96d1326fe160c373d1deb0a017611f3f6baf74 (diff)
downloadchrome-ec-1808a11f2a43a665aa88a662eef96028db5da6e5.tar.gz
npcx/i2c: Refactor i2c_freq_changed
This splits the implementation of i2c_freq_changed() into a per-port worker function and a top-level iterator function. This change makes i2c_port_set_freq() available to set a port's I2C speed. BRANCH=none BUG=b:201039003 TEST=with follow-on patches, switched I2C bus speed between 400 kHz and 1 MHz. Change-Id: Ifb5613ac3a59cbd64f01f3a396f978db5e77d9f1 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3170291 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'extra/usb_updater/servo_updater.py')
0 files changed, 0 insertions, 0 deletions