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

Skip to content
Commit f98fb1fc authored by Rohith Kollalsi's avatar Rohith Kollalsi
Browse files

usb: dwc3: Set current accordingly based on type of charger detection



For ADSP based charger detection set the current for all
charger types as it will again be handled on ADSP side.
Other wise set current only for SDP charger which is usb
based charger. For NON ADSP based charger detection if
'iio-channel-names' is passed in the device tree, charger
detection is done through iio channel or else it is
done by power_supply_get_property.

Change-Id: I17e65448459318ad26b7a2c36742296afa5f0adf
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent b22b60a0
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