Commit e6bee116 authored by Willie Ruan's avatar Willie Ruan Committed by Jay Chokshi
Browse files

power: core: add power supply APIs



Add two APIs, 1) set_current_limit API and 2) set_charging_by.
set_current_limit api is used for external control, such as for USB
driver to tell a charger driver the maximum current to draw.
set_charging_by is used to change the state of the charger.

Change-Id: I147eab37836b54627ca1458167eb117ba3eacd7a
Signed-off-by: default avatarWillie Ruan <wruan@codeaurora.org>
parent b9599f1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment