phy: qcom-qmp-pcie: fix initialisation reset
authorJohan Hovold <johan+linaro@kernel.org>
Sat, 5 Nov 2022 14:59:36 +0000 (15:59 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:04:55 +0000 (12:34 +0530)
commitfffdeaf853d8088c5149fc776974344b0f815dc8
treec868639f05e89657605064ae0ba76de8702d2b48
parent7bc609e34899dd3065fc9cbc73bb8a4902e257df
phy: qcom-qmp-pcie: fix initialisation reset

Add the missing delay after asserting reset. This is specifically needed
for the reset to have any effect on SC8280XP.

The vendor driver uses a 1 ms delay, but that seems a bit excessive.
Instead use a 200 us delay which appears to be more than enough and also
matches the UFS reset delay added by commit 870b1279c7a0 ("scsi:
ufs-qcom: Add reset control support for host controller").

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