USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register
DPSE/DMSE HV interrupt helps detect cable connection event during
TCXO shutdown and/or VDDMIN. Device working in host mode also can
enter LPM with PHY retention and these interrupts can wake up the
device when there is external device(eg. mouse) connecting.
As per HW specification, enable USB2_PHY_DMSE_INTEN/USB2_PHY_DPSE_INTEN
bits of USB_OTG_HS_PHY_CTRL register when USB module enters LPM with
retention mode, and disable these two bits when USB module exits LPM
with retention mode.
CRs-Fixed: 780259
Change-Id: I7b139547246cd64396c69f71da658f91d5f63812
Signed-off-by: Guoping Yu <guopingy@codeaurora.org>
2 files changed