power: qpnp-smbcharger: reduce USB ICL to 500mA while shutting down
In the shutdown path the driver resets PMI's USB ICL to HVDCP limits while disabling parallel charger and right after that the driver reruns AICL by momentarily disabling it. Some HVDCP chargers collapse during this time because the PMI attempts to draw the HVDCP limit current (default 2.7A). To avoid this situation, reduce ICL to 500mA. The system is going to shutdown and even though this register is dVdd backed, the CSIR initialization will reset the ICL back to a higher value. CRs-Fixed: 991066 Change-Id: I690b604435b03779cef40314bba262d4c684a7c0 Signed-off-by:Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by:
Vamshi Krishna B V <vbv@codeaurora.org>
Loading
Please register or sign in to comment