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

Skip to content
Commit d5ea6b0d authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: smb135x-charger: Suspend DC Path for Wipower



DC path needs to be put in suspend when
* power up is from any reason other than device being placed on charge
pad. This can be checked by DCIN present status at probe time.
* when device is removed from the charge pad. This is indicated by
DCIN undervoltage interrupt

Similarly DC path needs to be taken out of suspend when the device is
kept on a charge pad. However, Wipower needs about 1000mS after valid
voltage is seen on DCIN before device can draw power from the charge pad.

Implement code for the above Wipower requirements.

Change-Id: I2bacd160df7deeb7ac8c78c9b36edf96b010d3ee
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 84dce0d6
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