diff options
author | Sam McNally <sammc@chromium.org> | 2023-02-24 18:58:21 +1100 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-28 06:43:49 +0000 |
commit | 3a6067fbdee184f72cda62d48d6add90022f40ee (patch) | |
tree | 4da5d70a3d9ca82fa854aafc8feea1d238d7c058 | |
parent | ace29ea2c082f46fb6dbc1c5430ac6056be7cbd1 (diff) | |
download | chrome-ec-3a6067fbdee184f72cda62d48d6add90022f40ee.tar.gz |
dibbi: Remove overridden typec_set_source_current_limit().
With a PPC in use, overriding typec_set_source_current_limit() is no
longer necessary. The implementation included some remnants of the
pre-PPC implementation, causing 3A to map to 1.5A.
BUG=b:270077963
TEST=dibbi charges at over 1.75A
BRANCH=none
Change-Id: I17f9bae3f2c168b9502734d11afc18c4e23a59bf
Signed-off-by: Sam McNally <sammc@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4290947
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Peter Marheine <pmarheine@chromium.org>
-rw-r--r-- | board/dibbi/board.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/dibbi/board.c b/board/dibbi/board.c index 86830d5aa5..34ae317d14 100644 --- a/board/dibbi/board.c +++ b/board/dibbi/board.c @@ -205,19 +205,6 @@ void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled) */ } -__override void typec_set_source_current_limit(int port, enum tcpc_rp_value rp) -{ - int ilim3A; - - if (port < 0 || port > CONFIG_USB_PD_PORT_MAX_COUNT) - return; - - /* Switch between 1.5A and 3A ILIM values */ - ilim3A = (rp == TYPEC_RP_3A0); - - tcpm_select_rp_value(0, ilim3A); -} - /******************************************************************************/ /* * Since dibbi has no battery, it must source all of its power from either |