OSDN Git Service

phy: qcom-qmp-pcie-msm8996: drop power-down delay config
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 12 Oct 2022 08:12:37 +0000 (10:12 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 28 Oct 2022 12:12:29 +0000 (17:42 +0530)
commitabc0841666b9ab6568229e6b9816505c987d8a59
tree17f3590d73c27d061cffb1eaf9eeec896b0ec4dc
parent51bd33069f80705aba5f4725287bc5688ca6d92a
phy: qcom-qmp-pcie-msm8996: drop power-down delay config

The power-down delay was included in the first version of the QMP driver
for MSM8996 as an optional delay after powering on the PHY (using
POWER_DOWN_CONTROL) and just before starting it. Later changes modified
this sequence by powering on before initialising the PHY, but the
optional delay stayed where it was (i.e. before starting the PHY).

The vendor driver does not use a delay before starting the PHY and this
is likely not needed on any platform unless there is a corresponding
delay in the vendor kernel init sequence tables (i.e. in devicetree).

Let's keep the delay for now, but drop the redundant configuration
options while increasing the unnecessarily low timer slack somewhat.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221012081241.18273-11-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c