power: wm831x_power: Support USB charger current limit management
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others. Signed-off-by: NMark Brown <broonie@kernel.org> Signed-off-by: NBaolin Wang <baolin.wang@linaro.org> Acked-by: NLee Jones <lee.jones@linaro.org> Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
Showing
想要评论请 注册 或 登录