diff options
author | David Huang <david.huang@quanta.corp-partner.google.com> | 2020-06-11 18:37:21 +0800 |
---|---|---|
committer | Marco Chen <marcochen@chromium.org> | 2020-06-15 04:26:29 +0000 |
commit | 58732e1f79886bd816e7000159d00f8c90c30f82 (patch) | |
tree | d549a0daab31261c385326ca62b73db07ca7bd28 /docs/unit_tests.md | |
parent | 3df08544d75c8854c8d0088e2afb4fe88f94b64b (diff) | |
download | chrome-ec-58732e1f79886bd816e7000159d00f8c90c30f82.tar.gz |
Syv682x: Set 5V source current limit base on the config definition
Add set 5V source current limit in init based on CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT.
Default is set to 1.5A if there's no define config.
BUG=b:154772847, b:156711950
BRANCH=octopus
TEST=connect a sink device with a pd analyzer to see if OC is triggered in PPC when pulling more than 1.75A by external sink device.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I55aae8655703870ea9e023d1a4ddbb9efe1ffd14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2241076
Reviewed-by: Marco Chen <marcochen@chromium.org>
Commit-Queue: Marco Chen <marcochen@chromium.org>
Diffstat (limited to 'docs/unit_tests.md')
0 files changed, 0 insertions, 0 deletions