summaryrefslogtreecommitdiff
path: root/board/halvor
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2020-04-03 16:02:26 -0700
committerCommit Bot <commit-bot@chromium.org>2020-04-15 02:11:13 +0000
commitbe61a53ffa746143eaf3817bff4bf66ae42babf6 (patch)
treef02dcd4497cdf7e80f76290fb8f441a97ce01f5a /board/halvor
parenta8bd6d093f1f6088e76bb30a3de0e79bed0e9130 (diff)
downloadchrome-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