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

Skip to content
Commit 6e3630b5 authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3-msm: Support external charging detection



External circuitry can perform USB charger detection, obviating
the need for the USB controller to read the D+/D- lines itself.
Notification of detected charger type would happen by way of the
power_supply_set_type() callback. This patch adds handling of
the POWER_SUPPLY_PROP_TYPE property to set the detected charger
type in the dwc3-msm driver and bypass the internal driver-based
detection routine.

Change-Id: Icf32bd418a189de901c5f47034ed0b0a317aef5f
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 1deb6375
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