phy: qcom-snps: Add runtime suspend and resume handlers
authorWesley Cheng <wcheng@codeaurora.org>
Thu, 25 Jun 2020 19:54:43 +0000 (12:54 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 29 Jun 2020 09:45:52 +0000 (15:15 +0530)
commit0d75f508a9d56133a2834215959cde4605c804d1
tree43e5f63fe657468cc32b1b177c3179fceb4effb7
parent90b65347cfc5c812b4c3fba4c5f55cbb2c19d286
phy: qcom-snps: Add runtime suspend and resume handlers

Allow for the PHY to be put into a powered down state when possible.
Add the required suspend and resume callbacks, which will determine
what resources can be turned off depending on the cable status.

Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lore.kernel.org/r/20200625195444.15130-2-wcheng@codeaurora.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c