summaryrefslogtreecommitdiff
path: root/board/voxel/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/voxel/board.h')
-rw-r--r--board/voxel/board.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/voxel/board.h b/board/voxel/board.h
index baf7fe4218..72981ded09 100644
--- a/board/voxel/board.h
+++ b/board/voxel/board.h
@@ -69,6 +69,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