diff options
Diffstat (limited to 'board/strago/usb_pd_policy.c')
-rw-r--r-- | board/strago/usb_pd_policy.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/strago/usb_pd_policy.c b/board/strago/usb_pd_policy.c index e252f98dc9..64e0d4f863 100644 --- a/board/strago/usb_pd_policy.c +++ b/board/strago/usb_pd_policy.c @@ -64,28 +64,6 @@ void pd_power_supply_reset(int port) gpio_set_level(GPIO_USB_C0_5V_EN, 0); } -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(GPIO_USB_C0_VBUS_WAKE_L); |