summaryrefslogtreecommitdiff
path: root/board/vell/board.h
diff options
context:
space:
mode:
authorDevin Lu <Devin.Lu@quantatw.com>2021-12-20 14:05:36 +0800
committerCommit Bot <commit-bot@chromium.org>2021-12-24 03:49:05 +0000
commit23b5dbe2c3d2b941e8862dd0c2e11aeb87771836 (patch)
tree27c6706f8e32310f341141d2e11d714b0b682147 /board/vell/board.h
parent94bc01a62e35b1c8b4245b1f8e3cf24209a7c70a (diff)
downloadchrome-ec-23b5dbe2c3d2b941e8862dd0c2e11aeb87771836.tar.gz
vell: Increase PD max power to 100W
Increase the max power PD can sink to 100W. Since Vell is using a 100W charger. BUG=b:211826141 BRANCH=none TEST=ectool usbpdpower to make sure we are sink to 20V@4.5A with 90W charger. Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: I53715e1641eeb5348d59373f26f06e06dc60bbf2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3350266 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/vell/board.h')
-rw-r--r--board/vell/board.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/board/vell/board.h b/board/vell/board.h
index 6330a41dfd..494d17ccaa 100644
--- a/board/vell/board.h
+++ b/board/vell/board.h
@@ -68,13 +68,12 @@
#define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */
#define PD_VCONN_SWAP_DELAY 5000 /* us */
-/*
- * Passive USB-C cables only support up to 60W.
- */
+/* USB Type C and USB PD defines */
#define PD_OPERATING_POWER_MW 15000
-#define PD_MAX_POWER_MW 60000
-#define PD_MAX_CURRENT_MA 3000
+#define PD_MAX_CURRENT_MA 5000
#define PD_MAX_VOLTAGE_MV 20000
+/* Max Power = 100 W */
+#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000)
/*
* Macros for GPIO signals used in common code that don't match the