summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-11-11 15:02:35 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-20 18:16:12 +0000
commit6d1599b4a05de382b20f13e4677b534672678747 (patch)
tree2e99f66e553a1f3465af18cdb89c85987504d15c /include/usb_pd.h
parent30a9f90a098be3514beea0ed4238252c63d93c51 (diff)
downloadchrome-ec-6d1599b4a05de382b20f13e4677b534672678747.tar.gz
TCPMv2: Use cached battery info
Whenever possible, use our battery information we already cache for host commands to save time providing battery responses. Note that the battery status is not cached, and will still be retrieved over i2c, and any boards without host commands will continue running i2c commands for this message. BRANCH=None BUG=b:172983079,b:173018448 TEST=With GRL and source cap extended patch, TD.PD.SRC3.E15 Battery Capabilities sent timely and TD.PD.SRC3.E7 Battery Status Sent Timely pass Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I567c92601239b801bf0e4e4bba2a4a5809785b7c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533523 Tested-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Sam Hurst <shurst@google.com>
Diffstat (limited to 'include/usb_pd.h')
0 files changed, 0 insertions, 0 deletions