From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: 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,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Dikshita Agarwal <quic_dikshita@quicinc.com>,
Vikash Garodia <quic_vgarodia@quicinc.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>
Subject: [PATCH v2 00/18] Qualcomm GCC/VIDEOCC reset overhaul for Venus
Date: Tue, 06 Feb 2024 19:43:33 +0100 [thread overview]
Message-ID: <20240105-topic-venus_reset-v2-0-c37eba13b5ce@linaro.org> (raw)
Some resets associated with venus require a larger delay for the hardware
on the other end to function properly. These seem to fall into three
categories:
- 150us for 8250 and earlier
- 400us for 8350 and friends
- 1000us for >=8450
Make some housecleaning changes and describe these delays in preparation
to moving this data out of the venus driver.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v2:
- Wrap the function parameters in patch 2
- Better describe the sources of reset delay values
- Pick up tags, rebase (with no changes)
- Link to v1: https://lore.kernel.org/r/20240105-topic-venus_reset-v1-0-981c7a624855@linaro.org
---
Konrad Dybcio (18):
clk: qcom: reset: Increase max reset delay
clk: qcom: reset: Commonize the de/assert functions
clk: qcom: reset: Ensure write completion on reset de/assertion
clk: qcom: gcc-sa8775p: Set delay for Venus CLK resets
clk: qcom: gcc-sc8180x: Set delay for Venus CLK resets
clk: qcom: gcc-sc8280xp: Set delay for Venus CLK resets
clk: qcom: gcc-sm4450: Set delay for Venus CLK resets
clk: qcom: gcc-sm7150: Set delay for Venus CLK resets
clk: qcom: gcc-sm8250: Set delay for Venus CLK resets
clk: qcom: gcc-sm8350: Set delay for Venus CLK resets
clk: qcom: gcc-sm8450: Set delay for Venus CLK resets
clk: qcom: gcc-sm8550: Set delay for Venus CLK resets
clk: qcom: gcc-sm8650: Set delay for Venus CLK resets
clk: qcom: videocc-sm8150: Set delay for Venus CLK resets
clk: qcom: videocc-sm8250: Set delay for Venus CLK resets
clk: qcom: videocc-sm8350: Set delay for Venus CLK resets
clk: qcom: videocc-sm8450: Set delay for Venus CLK resets
clk: qcom: videocc-sm8550: Set delay for Venus CLK resets
drivers/clk/qcom/gcc-sa8775p.c | 4 ++--
drivers/clk/qcom/gcc-sc8180x.c | 6 +++---
drivers/clk/qcom/gcc-sc8280xp.c | 4 ++--
drivers/clk/qcom/gcc-sm4450.c | 4 ++--
drivers/clk/qcom/gcc-sm7150.c | 2 +-
drivers/clk/qcom/gcc-sm8250.c | 4 ++--
drivers/clk/qcom/gcc-sm8350.c | 4 ++--
drivers/clk/qcom/gcc-sm8450.c | 4 ++--
drivers/clk/qcom/gcc-sm8550.c | 4 ++--
drivers/clk/qcom/gcc-sm8650.c | 4 ++--
drivers/clk/qcom/reset.c | 27 ++++++++++++++-------------
drivers/clk/qcom/reset.h | 2 +-
drivers/clk/qcom/videocc-sm8150.c | 2 +-
drivers/clk/qcom/videocc-sm8250.c | 4 ++--
drivers/clk/qcom/videocc-sm8350.c | 4 ++--
drivers/clk/qcom/videocc-sm8450.c | 4 ++--
drivers/clk/qcom/videocc-sm8550.c | 4 ++--
17 files changed, 44 insertions(+), 43 deletions(-)
---
base-commit: ac139fc7db67968e5061715508b5fc4aa7c40c56
change-id: 20240105-topic-venus_reset-b5461bf1a087
Best regards,
--
Konrad Dybcio <konrad.dybcio@linaro.org>
next reply other threads:[~2024-02-06 18:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-06 18:43 Konrad Dybcio [this message]
2024-02-06 18:43 ` [PATCH v2 01/18] clk: qcom: reset: Increase max reset delay Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 02/18] clk: qcom: reset: Commonize the de/assert functions Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 03/18] clk: qcom: reset: Ensure write completion on reset de/assertion Konrad Dybcio
2024-02-07 9:07 ` Johan Hovold
2024-02-07 11:52 ` Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 04/18] clk: qcom: gcc-sa8775p: Set delay for Venus CLK resets Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 05/18] clk: qcom: gcc-sc8180x: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 06/18] clk: qcom: gcc-sc8280xp: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 07/18] clk: qcom: gcc-sm4450: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 08/18] clk: qcom: gcc-sm7150: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 09/18] clk: qcom: gcc-sm8250: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 10/18] clk: qcom: gcc-sm8350: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 11/18] clk: qcom: gcc-sm8450: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 12/18] clk: qcom: gcc-sm8550: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 13/18] clk: qcom: gcc-sm8650: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 14/18] clk: qcom: videocc-sm8150: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 15/18] clk: qcom: videocc-sm8250: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 16/18] clk: qcom: videocc-sm8350: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 17/18] clk: qcom: videocc-sm8450: " Konrad Dybcio
2024-02-06 18:43 ` [PATCH v2 18/18] clk: qcom: videocc-sm8550: " Konrad Dybcio
2024-02-07 4:46 ` [PATCH v2 00/18] Qualcomm GCC/VIDEOCC reset overhaul for Venus Bjorn Andersson
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=20240105-topic-venus_reset-v2-0-c37eba13b5ce@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.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;
as well as URLs for NNTP newsgroup(s).