From: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org,
Abel Vesa <abel.vesa@oss.qualcomm.com>,
Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Subject: [PATCH v2 2/4] clk: qcom: camcc-eliza: Declare icc path dependency for TITAN_TOP_GDSC
Date: Thu, 03 Dec 2026 17:03:36 +0800 [thread overview]
Message-ID: <20261203-camcc-fix-v2-2-9c7616480ce9@oss.qualcomm.com> (raw)
In-Reply-To: <20261203-camcc-fix-v2-0-9c7616480ce9@oss.qualcomm.com>
The TITAN_TOP GDSC hosts the camera NoC (camnoc). If MMNOC is left
without any client vote while TITAN_TOP is still on, MMNOC attempts a
power collapse while camnoc may still be active (QACTIVE high). The
power collapse then gets stuck, and so does the MMNOC BCM, so any later
bandwidth request through it times out in RPMh:
Error sending AMC RPMH requests (-110)
Declare the interconnect path for TITAN_TOP_GDSC, so that MMNOC is kept
voted for as long as the GDSC is on.
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
drivers/clk/qcom/camcc-eliza.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/qcom/camcc-eliza.c b/drivers/clk/qcom/camcc-eliza.c
index 7348f4dde65aeacc27182a926a8c0e5b88eacd74..389fb580985ea8b667ab8cc41c6675c0d9057a42 100644
--- a/drivers/clk/qcom/camcc-eliza.c
+++ b/drivers/clk/qcom/camcc-eliza.c
@@ -27,6 +27,10 @@ enum {
DT_AHB_CLK,
};
+enum {
+ DT_ICC_TOP_GDSC,
+};
+
enum {
P_BI_TCXO,
P_CAM_CC_PLL0_OUT_EVEN,
@@ -2526,6 +2530,8 @@ static struct gdsc cam_cc_titan_top_gdsc = {
},
.pwrsts = PWRSTS_OFF_ON,
.flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE,
+ .needs_icc = true,
+ .icc_path_index = DT_ICC_TOP_GDSC,
};
static struct gdsc cam_cc_ipe_0_gdsc = {
--
2.34.1
next prev parent reply other threads:[~2026-12-03 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 9:03 [PATCH v2 0/4] camcc-sm8750/eliza: Declare interconnect dependency for TITAN_TOP_GDSC Wenmeng Liu
2026-12-03 9:03 ` [PATCH v2 1/4] clk: qcom: camcc-sm8750: Declare icc path " Wenmeng Liu
2026-12-03 9:03 ` Wenmeng Liu [this message]
2026-12-03 9:03 ` [PATCH v2 3/4] arm64: dts: qcom: sm8750: Add interconnects to camcc Wenmeng Liu
2026-12-03 9:03 ` [PATCH v2 4/4] arm64: dts: qcom: eliza: " Wenmeng Liu
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=20261203-camcc-fix-v2-2-9c7616480ce9@oss.qualcomm.com \
--to=wenmeng.liu@oss.qualcomm.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=robh@kernel.org \
--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