aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2015-03-13 12:58:47 -0700
committerHemant Kumar <hemantk@codeaurora.org>2015-03-19 12:19:18 -0700
commitaaa9f28f32eec8c3d41e80aee8e08a29230dd1ba (patch)
tree6bb63ff2e4afb17954bc644823b3ba253ad77bdc /scripts/gcc-wrapper.py
parent7ccdc5ef93053e8bdae4719542f2307188a18b9c (diff)
power: power-supply: add property POWER_SUPPLY_PROP_ALLOW_DETECTION
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. Change-Id: I67f14de81214f0bed1bcccf71e1c28b8e5212359 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions