summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-01-26 01:22:40 +0200
committerVinod Koul <vkoul@kernel.org>2024-01-30 22:35:38 +0530
commitfe3ec7600a16649812bf73f058e991429ccc28fb (patch)
treebe75daa6f055626081b74cd5763aa14bd4255f79 /drivers/phy
parentc01e03f97c4ea501fbd7dfe3eb7920a9a855e635 (diff)
downloadlinux-fe3ec7600a16649812bf73f058e991429ccc28fb.tar.gz
linux-fe3ec7600a16649812bf73f058e991429ccc28fb.tar.bz2
linux-fe3ec7600a16649812bf73f058e991429ccc28fb.zip
phy: qcom: qmp-usbc: drop has_pwrdn_delay handling
None of the PHYs supported by the USBC driver need power down delay. Drop corresponding flag and code. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240126-phy-qmp-merge-common-v2-6-a463d0b57836@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-qmp-usbc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
index d316a541f628..5cbc5fd529eb 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
@@ -315,9 +315,6 @@ struct qmp_phy_cfg {
/* array of registers with different offsets */
const unsigned int *regs;
-
- /* true, if PHY needs delay after POWER_DOWN */
- bool has_pwrdn_delay;
};
struct qmp_usbc {
@@ -546,9 +543,6 @@ static int qmp_usbc_power_on(struct phy *phy)
qmp_configure(qmp->pcs, cfg->pcs_tbl, cfg->pcs_tbl_num);
- if (cfg->has_pwrdn_delay)
- usleep_range(10, 20);
-
/* Pull PHY out of reset state */
qphy_clrbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);