[PATCH 12/18] power: supply: Add power_supply_set_input_current_limit_from_supplier helper

2017-08-06 Thread Hans de Goede
On some devices the USB Type-C port power (USB PD 2.0) negotiation is done by a separate port-controller IC, while the current limit is controlled through another (charger) IC. It has been decided to model this by modelling the external Type-C power brick (adapter/charger) as a power-supply class

[PATCH 12/18] power: supply: Add power_supply_set_input_current_limit_from_supplier helper

2017-08-06 Thread Hans de Goede
On some devices the USB Type-C port power (USB PD 2.0) negotiation is done by a separate port-controller IC, while the current limit is controlled through another (charger) IC. It has been decided to model this by modelling the external Type-C power brick (adapter/charger) as a power-supply class