mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
Allow 5V/3A on Plankton
Plankton is capable of supplying 5V at 3A. Advertise 5V/3A as well. BRANCH=None BUG=chrome-os-partner:33133 TEST=Switch plankton to 5V/12V/20V source and measure power with INA. Change-Id: Iea0545b30127b415a9dc51fceff0b7eff162c1d0 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/224986 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
e26aedecf7
commit
35a01462f1
@@ -24,13 +24,14 @@
|
||||
/* Source PDOs */
|
||||
const uint32_t pd_src_pdo[] = {
|
||||
PDO_FIXED(5000, 500, PDO_FIXED_EXTERNAL),
|
||||
PDO_FIXED(5000, 3000, PDO_FIXED_EXTERNAL),
|
||||
PDO_FIXED(12000, 3000, PDO_FIXED_EXTERNAL),
|
||||
PDO_FIXED(20000, 3000, PDO_FIXED_EXTERNAL),
|
||||
};
|
||||
static const int pd_src_pdo_cnts[3] = {
|
||||
[SRC_CAP_5V] = 1,
|
||||
[SRC_CAP_12V] = 2,
|
||||
[SRC_CAP_20V] = 3,
|
||||
[SRC_CAP_5V] = 2,
|
||||
[SRC_CAP_12V] = 3,
|
||||
[SRC_CAP_20V] = 4,
|
||||
};
|
||||
|
||||
static int pd_src_pdo_idx;
|
||||
|
||||
Reference in New Issue
Block a user