summaryrefslogtreecommitdiff
path: root/board/hoho
diff options
context:
space:
mode:
Diffstat (limited to 'board/hoho')
-rw-r--r--board/hoho/usb_pd_policy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/hoho/usb_pd_policy.c b/board/hoho/usb_pd_policy.c
index efd1bbc243..0c0dd41908 100644
--- a/board/hoho/usb_pd_policy.c
+++ b/board/hoho/usb_pd_policy.c
@@ -45,6 +45,12 @@ void pd_set_input_current_limit(int port, uint32_t max_ma,
return;
}
+int pd_is_valid_input_voltage(int mv)
+{
+ /* Any voltage less than the max is allowed */
+ return 1;
+}
+
int pd_check_requested_voltage(uint32_t rdo)
{
return EC_SUCCESS;