summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiong.huang <xiong.huang@bitland.corp-partner.google.com>2019-12-20 16:32:09 +0800
committerCommit Bot <commit-bot@chromium.org>2019-12-30 13:24:08 +0000
commitf5d0f72cf9349c18437b5d2b03d0ba9f9d409fdf (patch)
tree5d39caf4c63a8a9dac79fbf7a3f3e9db9d7ee122
parent21786500527520218d3fe256c41eada0573dbf1f (diff)
downloadchrome-ec-f5d0f72cf9349c18437b5d2b03d0ba9f9d409fdf.tar.gz
Kodama: limit the max input current as 2A
The 45W type-c adapter can support 5V/3A and 9V/3A but can not meet DOE efficiency for those power, so it only put 5V/2A and 9V/2A on the label. So we limit the input current to 2A to keep same with the certification. BUG=b:146464104 TEST=the max charger IARCR value is 2A. BRANCH=kukui Change-Id: I50b27ecab50b1ff7267afbe80d2f3acf8fff1aba Signed-off-by: Xiong Huang <xiong.huang@bitland.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1977995 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--baseboard/kukui/baseboard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/kukui/baseboard.h b/baseboard/kukui/baseboard.h
index 1cd7a1c674..b2b177f0aa 100644
--- a/baseboard/kukui/baseboard.h
+++ b/baseboard/kukui/baseboard.h
@@ -197,7 +197,11 @@
#define CONFIG_BATTERY_REVIVE_DISCONNECT
#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000)
+#ifdef BOARD_KODAMA
+#define PD_MAX_CURRENT_MA 2000
+#else
#define PD_MAX_CURRENT_MA 3000
+#endif
#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
#define PD_POWER_SUPPLY_TURN_OFF_DELAY 50000 /* us */