summaryrefslogtreecommitdiff
path: root/board/halvor/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/halvor/board.h')
-rw-r--r--board/halvor/board.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/halvor/board.h b/board/halvor/board.h
index b3a1d92946..bd0c033e9c 100644
--- a/board/halvor/board.h
+++ b/board/halvor/board.h
@@ -53,6 +53,19 @@
#define USBC_PORT_1_USB2_NUM 4
#define USBC_PORT_1_USB3_NUM 2
+#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
+#define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */
+#define PD_VCONN_SWAP_DELAY 5000 /* us */
+
+/*
+ * SN5S30 PPC supports up to 24V VBUS source and sink, however passive USB-C
+ * cables only support up to 60W.
+ */
+#define PD_OPERATING_POWER_MW 15000
+#define PD_MAX_POWER_MW 60000
+#define PD_MAX_CURRENT_MA 3000
+#define PD_MAX_VOLTAGE_MV 20000
+
/* Enabling Thunderbolt-compatible mode */
#define CONFIG_USB_PD_TBT_COMPAT_MODE