diff options
author | Manu Gautam <mgautam@codeaurora.org> | 2018-01-16 16:27:11 +0530 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-03-08 13:56:19 +0530 |
commit | ac0d239936bd87d044d34037a9b581ca260269e3 (patch) | |
tree | edeaf75c5c7a96eb020beb85d49b376019b0731b /drivers/phy/qualcomm/phy-qcom-qmp.h | |
parent | 891a96f65ac3b12883ddbc6d1a9adf6e54dc903c (diff) | |
download | linux-stable-ac0d239936bd87d044d34037a9b581ca260269e3.tar.gz linux-stable-ac0d239936bd87d044d34037a9b581ca260269e3.tar.bz2 linux-stable-ac0d239936bd87d044d34037a9b581ca260269e3.zip |
phy: qcom-qmp: Add support for runtime PM
Disable clocks and enable PHY autonomous mode to detect
wakeup events when PHY is suspended.
Core driver should notify speed to PHY driver to enable
LFPS and/or RX_DET interrupts.
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp.h')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.h b/drivers/phy/qualcomm/phy-qcom-qmp.h index 944269a62761..d1c6905d0439 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp.h @@ -274,4 +274,7 @@ #define QPHY_V3_PCS_FLL_MAN_CODE 0x0d4 #define QPHY_V3_PCS_RX_SIGDET_LVL 0x1d8 +/* Only for QMP V3 PHY - PCS_MISC registers */ +#define QPHY_V3_PCS_MISC_CLAMP_ENABLE 0x0c + #endif |