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

Skip to content
Commit 22c92698 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Ashay Jaiswal
Browse files

power_supply: introduce properties for supporting external SMB chargers



There are situations when one needs to notify involved power supply
nodes that type detection is about to commence and they should
modify their state and hardware to allow it.

For example, the D+/D- lines are shared by USB PHY and the Charger
driver where the phy pullsdown the D+/D- lines. When USB is inserted
the charger power supply node will need to notify the USB power supply
node to release the pulldowns and allow for type detection.

This property serves as that indication.

Also, create a helper function to set this property.

CRs-Fixed: 1086015
Change-Id: Id896d02a19cf8bdef7e520d452aa764a2d48b7b2
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 8c6614f9
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