diff options
Diffstat (limited to 'board/wheatley/usb_pd_policy.c')
-rw-r--r-- | board/wheatley/usb_pd_policy.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/wheatley/usb_pd_policy.c b/board/wheatley/usb_pd_policy.c index e0bdef8e20..29cf4b4b9a 100644 --- a/board/wheatley/usb_pd_policy.c +++ b/board/wheatley/usb_pd_policy.c @@ -69,28 +69,6 @@ void pd_power_supply_reset(int port) pd_send_host_event(PD_EVENT_POWER_CHANGE); } -void pd_set_input_current_limit(int port, uint32_t max_ma, - uint32_t supply_voltage) -{ -#ifdef CONFIG_CHARGE_MANAGER - struct charge_port_info charge; - charge.current = max_ma; - charge.voltage = supply_voltage; - charge_manager_update_charge(CHARGE_SUPPLIER_PD, port, &charge); -#endif -} - -void typec_set_input_current_limit(int port, uint32_t max_ma, - uint32_t supply_voltage) -{ -#ifdef CONFIG_CHARGE_MANAGER - struct charge_port_info charge; - charge.current = max_ma; - charge.voltage = supply_voltage; - charge_manager_update_charge(CHARGE_SUPPLIER_TYPEC, port, &charge); -#endif -} - int pd_snk_is_vbus_provided(int port) { return !gpio_get_level(port ? GPIO_USB_C1_VBUS_WAKE_L : |