phy: qcom-qmp: Add support for runtime PM
authorManu Gautam <mgautam@codeaurora.org>
Tue, 16 Jan 2018 10:57:11 +0000 (16:27 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 8 Mar 2018 08:26:19 +0000 (13:56 +0530)
commitac0d239936bd87d044d34037a9b581ca260269e3
treeedeaf75c5c7a96eb020beb85d49b376019b0731b
parent891a96f65ac3b12883ddbc6d1a9adf6e54dc903c
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>
drivers/phy/qualcomm/phy-qcom-qmp.c
drivers/phy/qualcomm/phy-qcom-qmp.h