OSDN Git Service

smb138x: support usbin-usbin with external rsense
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Mon, 3 Apr 2017 22:27:21 +0000 (15:27 -0700)
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Mon, 3 Apr 2017 22:31:22 +0000 (15:31 -0700)
commitcdd3e6733f7e6d386952aa703578b290161e4473
tree8ddc5d512dc77a07fd408a5de57afc1f8be5b5de
parentf9aee28de6ea082f5ea588ea9865320cd905f65f
smb138x: support usbin-usbin with external rsense

Currently smb138x only support usbin-usbin parallel architecture
where the battery current from the parallel charger flows through
the batfet of the main charger.

Support configurations where there is remote sensing or an external
rsense where the current from parallel charger directly goes to the
battery.

Change-Id: I5506190d83436bfaea3b6c98b1b311746cf85071
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
drivers/power/supply/qcom/smb138x-charger.c