summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index ae11f8bc09..3a1d306c86 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -918,6 +918,13 @@ int pd_is_valid_input_voltage(int mv);
int pd_check_requested_voltage(uint32_t rdo);
/**
+ * Run board specific checks on request message
+ *
+ * @return EC_SUCCESS if request is ok , <0 else.
+ */
+int pd_board_check_request(uint32_t rdo);
+
+/**
* Select a new output voltage.
*
* param idx index of the new voltage in the source PDO table.