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

Skip to content
Commit 543e4d4f authored by Jack Pham's avatar Jack Pham
Browse files

msm: qpnp-usbdetect: Add USB VBUS detection driver



This driver is used to enable detection of USB cable connection
based on VBUS voltage. The circuitry connects its detection
output to a PMIC GPIO which in turn will notify USB through
the power_supply_set_present() call.

This will be used on platforms in which VBUS is not directly
connected to the USB PHY and also in lieu of separate USB
charging circuitry that can do additionally do detection.

Change-Id: I6dd9e1a9740fc5af02b82a223eaeef2fafbf1057
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 16c09cc1
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