Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 872e203c authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: notify charger if source is PPS capable



The charger driver may need to perform different charging
behavior depending on whether the source is PPS capable or
not. This can be determined when evaluating the source
capabilities. If PPS capable, set PD_ACTIVE to 2. Use the
new enum definitions POWER_SUPPLY_PD_ACTIVE,
POWER_SUPPLY_PD_PPS_ACTIVE and POWER_SUPPLY_PD_INACTIVE
for better readability.

Change-Id: I2255fe404951e88a342095de21303358ae8ea50b
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent e795fce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment