All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Casey Connolly <casey.connolly@linaro.org>,
	u-boot-qcom@groups.io, Sumit Garg <sumit.garg@kernel.org>,
	Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] phy: qcom: snps-femto-v2: assert reset in probe
Date: Tue, 18 Nov 2025 09:09:51 +0100	[thread overview]
Message-ID: <f980ac5d-e9a2-4c07-8fc2-75be8fd593fa@linaro.org> (raw)
In-Reply-To: <20251114144722.173021-2-casey.connolly@linaro.org>

On 11/14/25 15:47, Casey Connolly wrote:
> 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.
> 
> Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
> ---
>   drivers/phy/qcom/phy-qcom-snps-femto-v2.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/phy/qcom/phy-qcom-snps-femto-v2.c b/drivers/phy/qcom/phy-qcom-snps-femto-v2.c
> index 04f0f0e7817d..e782de07ebc5 100644
> --- a/drivers/phy/qcom/phy-qcom-snps-femto-v2.c
> +++ b/drivers/phy/qcom/phy-qcom-snps-femto-v2.c
> @@ -173,9 +173,9 @@ static int qcom_snps_hsphy_phy_probe(struct udevice *dev)
>   		printf("failed to get resets, ret = %d\n", ret);
>   		return ret;
>   	}
>   
> -	reset_deassert_bulk(&priv->resets);
> +	reset_assert_bulk(&priv->resets);
>   
>   	return 0;
>   }
>   

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

  reply	other threads:[~2025-11-18  8:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14 14:47 [PATCH] phy: qcom: snps-femto-v2: assert reset in probe Casey Connolly
2025-11-18  8:09 ` Neil Armstrong [this message]
2026-01-16 18:03 ` Casey Connolly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f980ac5d-e9a2-4c07-8fc2-75be8fd593fa@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=casey.connolly@linaro.org \
    --cc=sumit.garg@kernel.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.