summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorVijayavardhan Vennapusa <vvreddy@codeaurora.org>2016-11-10 12:49:54 +0530
committerVijayavardhan Vennapusa <vvreddy@codeaurora.org>2016-11-10 15:43:17 +0530
commitb833212e4401d0283eb453eea2ec6e9723634a9f (patch)
tree047bd85c429198869dbf5bf44efdf42fff16e6ac /lib/mpi/mpiutil.c
parent0cc66e3892775d2fc8c9bc8f4463637370f3484d (diff)
usb: phy: qusb: Make sure QUSB PHY is into proper state
On some platforms, QUSB PHY's DVDD related power supply (LDO) is not always ON. Hence when this power supply is switched off, QUSB PHY's register configuration is not retained. QUSB PHY state is unknown when required LDOs are turned ON with USB cable connect case and may interfere charger detection. Hence use suggested sequence which involves resetting QUSB PHY and performing few set of QUSB PHY register configuration to bring QUSB PHY into non-driving mode. Also it is required to disable QUSB2PHY level shifter by writing to TCSR_QUSB2PHY_CLAMP_DIG_N_1P8 register during disconnect to avoid leakage current. Hence add support for the same. Change-Id: I30b8488a1c19815601e6a1c5bcbdeed53715f8fa Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions