]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
phy: qcom: snps-femto-v2: assert reset in probe
authorCasey Connolly <casey.connolly@linaro.org>
Fri, 14 Nov 2025 14:47:21 +0000 (15:47 +0100)
committerCasey Connolly <casey.connolly@linaro.org>
Wed, 14 Jan 2026 15:25:09 +0000 (16:25 +0100)
The power on function for the phy only deasserts the reset, so the phy
might be in a weird state that we don't clean up properly.

Assert the reset in probe() so that when we power on we will have the
phy in a clean state.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251114144722.173021-2-casey.connolly@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/phy/qcom/phy-qcom-snps-femto-v2.c

index 04f0f0e7817d0f2bbd38c814bd5b5ca6507511ff..e782de07ebc51f3b9a41cf05a23650c74533af64 100644 (file)
@@ -174,7 +174,7 @@ static int qcom_snps_hsphy_phy_probe(struct udevice *dev)
                return ret;
        }
 
-       reset_deassert_bulk(&priv->resets);
+       reset_assert_bulk(&priv->resets);
 
        return 0;
 }