summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chen <ben.chen2@quanta.corp-partner.google.com>2021-03-31 13:26:07 +0800
committerCommit Bot <commit-bot@chromium.org>2021-06-04 05:41:25 +0000
commit8c272466895fcdbedbed3c48be0149c52eb63a0b (patch)
tree0bc67983e1683460c3e9025fd303d35677b7f2ed
parent7f462b762b504e185f27078ea7693975edd67751 (diff)
downloadchrome-ec-stabilize-14013.B-main.tar.gz
spherion: support 65w adapterstabilize-14013.B-main
modify max power and max current to support 65w adapter, SYV682X_HV_ILIM to 5.5A BUG=b:183174897 BRANCH=asurada TEST=make buildall PASS Change-Id: I704ad3a647a2007b808d55928298fd38c34387fe Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2793851 Reviewed-by: Eric Yilun Lin <yllin@google.com>
-rw-r--r--baseboard/asurada/baseboard.h7
-rw-r--r--board/asurada/board.h7
-rw-r--r--board/spherion/board.h9
3 files changed, 16 insertions, 7 deletions
diff --git a/baseboard/asurada/baseboard.h b/baseboard/asurada/baseboard.h
index 4cf9c876cd..60696180c7 100644
--- a/baseboard/asurada/baseboard.h
+++ b/baseboard/asurada/baseboard.h
@@ -132,13 +132,6 @@
#define CONFIG_USB_PID 0x5053
#define CONFIG_USB_POWER_DELIVERY
-#define PD_MAX_CURRENT_MA 3000
-#define PD_MAX_VOLTAGE_MV 20000
-#define PD_OPERATING_POWER_MW 15000
-#define PD_MAX_POWER_MW 60000
-#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
-#define PD_POWER_SUPPLY_TURN_OFF_DELAY 250000 /* us */
-
/* USB-A */
#define CONFIG_USB_PORT_POWER_DUMB
#define CONFIG_USB_PORT_POWER_DUMB_CUSTOM_HOOK
diff --git a/board/asurada/board.h b/board/asurada/board.h
index d7cbb1fc37..03d421a748 100644
--- a/board/asurada/board.h
+++ b/board/asurada/board.h
@@ -31,6 +31,13 @@
#endif
/* PD / USB-C / PPC */
+#define CONFIG_USB_PD_DEBUG_LEVEL 3
+#define PD_MAX_CURRENT_MA 3000
+#define PD_MAX_VOLTAGE_MV 20000
+#define PD_OPERATING_POWER_MW 15000
+#define PD_MAX_POWER_MW 60000
+#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
+#define PD_POWER_SUPPLY_TURN_OFF_DELAY 250000 /* us */
/* Optional console commands */
#define CONFIG_CMD_FLASH
diff --git a/board/spherion/board.h b/board/spherion/board.h
index 79c519fe17..201b0d82e0 100644
--- a/board/spherion/board.h
+++ b/board/spherion/board.h
@@ -36,6 +36,15 @@
#define CONFIG_PWM_KBLIGHT
/* PD / USB-C / PPC */
+#define CONFIG_USB_PD_DEBUG_LEVEL 3
+#define PD_MAX_POWER_MW 65000
+#define PD_MAX_CURRENT_MA 3250
+#define PD_MAX_VOLTAGE_MV 20000
+#define PD_OPERATING_POWER_MW 15000
+#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
+#define PD_POWER_SUPPLY_TURN_OFF_DELAY 250000 /* us */
+#undef CONFIG_SYV682X_HV_ILIM
+#define CONFIG_SYV682X_HV_ILIM SYV682X_HV_ILIM_5_50
/* Optional console commands */
#define CONFIG_CMD_FLASH