usb: msm: 8x60: use PHY ID circuit for ID_GND to ID_A transistions.
uAs PMIC can't generate detect ID_GND to ID_A transistions use PHY
ID circuit for ID_GND to ID_A and ID_A to ID_GND transistions.
As both PMIC ID pullup and PHY ID pullup can't be enabled at the same
time decouple enabling the PMIC MPP2(which will close FET for HSUSB PHY
ID detection) from configuring the PMIC ID IRQ.
Configure the PMIC ID IRQ upon cable disconnect and disable PHY ID
circuit.
Upon cable connect, unconfigure the PMIC ID IRQ and enable PHY ID
circuit.
Change-Id: I1639a389b07c30a5d678fa64ac2b1ba35b3a5ab2
CRs-fixed: 312423
Signed-off-by:
Anji jonnala <anjir@codeaurora.org>
Loading
Please sign in to comment