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:
Rohith Kollalsi <rkollals@codeaurora.org>
Loading
Please register or sign in to comment