diff options
Diffstat (limited to 'include/usb_pd_dpm.h')
-rw-r--r-- | include/usb_pd_dpm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usb_pd_dpm.h b/include/usb_pd_dpm.h index d897c8ce84..d0e49a7383 100644 --- a/include/usb_pd_dpm.h +++ b/include/usb_pd_dpm.h @@ -84,4 +84,12 @@ void dpm_remove_sink(int port); */ int dpm_get_source_pdo(const uint32_t **src_pdo, const int port); +/* + * Report offered source current for this port + * + * @param port USB-C port number + * @return Current offered, in mA + */ +int dpm_get_source_current(const int port); + #endif /* __CROS_EC_USB_DPM_H */ |