From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org,
Dikshita Agarwal <quic_dikshita@quicinc.com>,
Vikash Garodia <quic_vgarodia@quicinc.com>,
Manivannan Sadhasivam <mani@kernel.org>
Subject: Re: [PATCH 09/18] clk: qcom: gcc-sm8250: Set delay for Venus CLK resets
Date: Tue, 9 Jan 2024 00:34:46 +0000 [thread overview]
Message-ID: <0cbedc75-cacf-43f8-a1f9-284546ad548a@linaro.org> (raw)
In-Reply-To: <20240105-topic-venus_reset-v1-9-981c7a624855@linaro.org>
On 08/01/2024 12:32, Konrad Dybcio wrote:
> Some Venus resets may require more time when toggling. Describe that.
May or does ?
I'd prefer a strong declaration of where this value came from and why
its being added.
May is ambiguous.
"Downstream has a 150 us delay for this. My own testing shows this to be
necessary in upstream"
Later commits want to add a 1000 us delay. Have all of these delays been
tested ?
If not please describe where the values come.
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> drivers/clk/qcom/gcc-sm8250.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/qcom/gcc-sm8250.c b/drivers/clk/qcom/gcc-sm8250.c
> index c6c5261264f1..61d01d4c379b 100644
> --- a/drivers/clk/qcom/gcc-sm8250.c
> +++ b/drivers/clk/qcom/gcc-sm8250.c
> @@ -3576,8 +3576,8 @@ static const struct qcom_reset_map gcc_sm8250_resets[] = {
> [GCC_USB3PHY_PHY_PRIM_BCR] = { 0x50004 },
> [GCC_USB3PHY_PHY_SEC_BCR] = { 0x50010 },
> [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 },
> - [GCC_VIDEO_AXI0_CLK_ARES] = { 0xb024, 2 },
> - [GCC_VIDEO_AXI1_CLK_ARES] = { 0xb028, 2 },
> + [GCC_VIDEO_AXI0_CLK_ARES] = { 0xb024, .bit = 2, .udelay = 150 },
> + [GCC_VIDEO_AXI1_CLK_ARES] = { 0xb028, .bit = 2, .udelay = 150 },
> };
>
> static const struct clk_rcg_dfs_data gcc_dfs_clocks[] = {
>
next prev parent reply other threads:[~2024-01-09 0:34 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-08 12:32 [PATCH 00/18] Qualcomm GCC/VIDEOCC reset overhaul for Venus Konrad Dybcio
2024-01-08 12:32 ` [PATCH 01/18] clk: qcom: reset: Increase max reset delay Konrad Dybcio
2024-01-08 12:32 ` [PATCH 02/18] clk: qcom: reset: Commonize the de/assert functions Konrad Dybcio
2024-01-09 0:29 ` Bryan O'Donoghue
2024-01-08 12:32 ` [PATCH 03/18] clk: qcom: reset: Ensure write completion on reset de/assertion Konrad Dybcio
2024-01-08 12:32 ` [PATCH 04/18] clk: qcom: gcc-sa8775p: Set delay for Venus CLK resets Konrad Dybcio
2024-01-08 12:32 ` [PATCH 05/18] clk: qcom: gcc-sc8180x: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 06/18] clk: qcom: gcc-sc8280xp: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 07/18] clk: qcom: gcc-sm4450: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 08/18] clk: qcom: gcc-sm7150: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 09/18] clk: qcom: gcc-sm8250: " Konrad Dybcio
2024-01-09 0:34 ` Bryan O'Donoghue [this message]
2024-01-09 9:33 ` Konrad Dybcio
2024-01-27 23:05 ` Bjorn Andersson
2024-01-08 12:32 ` [PATCH 10/18] clk: qcom: gcc-sm8350: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 11/18] clk: qcom: gcc-sm8450: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 12/18] clk: qcom: gcc-sm8550: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 13/18] clk: qcom: gcc-sm8650: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 14/18] clk: qcom: videocc-sm8150: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 15/18] clk: qcom: videocc-sm8250: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 16/18] clk: qcom: videocc-sm8350: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 17/18] clk: qcom: videocc-sm8450: " Konrad Dybcio
2024-01-08 12:32 ` [PATCH 18/18] clk: qcom: videocc-sm8550: " Konrad Dybcio
2024-01-08 23:45 ` [PATCH 00/18] Qualcomm GCC/VIDEOCC reset overhaul for Venus Bryan O'Donoghue
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=0cbedc75-cacf-43f8-a1f9-284546ad548a@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=andersson@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=quic_dikshita@quicinc.com \
--cc=quic_vgarodia@quicinc.com \
--cc=sboyd@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox