summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/asurada/board.h7
-rw-r--r--board/spherion/board.h9
2 files changed, 16 insertions, 0 deletions
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