diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-04-03 16:02:26 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-15 02:11:13 +0000 |
commit | be61a53ffa746143eaf3817bff4bf66ae42babf6 (patch) | |
tree | f02dcd4497cdf7e80f76290fb8f441a97ce01f5a /board/halvor | |
parent | a8bd6d093f1f6088e76bb30a3de0e79bed0e9130 (diff) | |
download | chrome-ec-be61a53ffa746143eaf3817bff4bf66ae42babf6.tar.gz |
charger: Add chgnum arg to charger_get_input_current
With the advent of OCPC, one charger per Type-C, it will be required
to retrieve the input current per charger IC. This commit adds the
chgnum argument to charger_get_input_current. For boards with a
single charger IC, they should simply pass in 0 for this argument.
BUG=b:147440290,b:148980034
BRANCH=None
TEST=`make -j buildall`
TEST=With other code, verify that queries for input current is
targeted at the correct charger IC.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: Iac80255faa539a7b4cfeb495aaed2bf12e62f182
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2135961
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/halvor')
0 files changed, 0 insertions, 0 deletions