* [PATCH v2 1/4] clk: qcom: camcc-sm8750: Declare icc path dependency for TITAN_TOP_GDSC
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 ` Wenmeng Liu
2026-12-03 9:19 ` sashiko-bot
2026-12-03 9:03 ` [PATCH v2 2/4] clk: qcom: camcc-eliza: " Wenmeng Liu
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Wenmeng Liu @ 2026-12-03 9:03 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, linux-clk, devicetree, Abel Vesa, Wenmeng Liu
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-sm8750.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/qcom/camcc-sm8750.c b/drivers/clk/qcom/camcc-sm8750.c
index 4dac298f06b188e78a61121bc9452f7246e59c56..96a2a50a02bbfcc3730bf6737df7bf09d7c09fec 100644
--- a/drivers/clk/qcom/camcc-sm8750.c
+++ b/drivers/clk/qcom/camcc-sm8750.c
@@ -25,6 +25,10 @@ enum {
DT_SLEEP_CLK,
};
+enum {
+ DT_ICC_TOP_GDSC,
+};
+
enum {
P_BI_TCXO,
P_BI_TCXO_AO,
@@ -2432,6 +2436,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
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v2 1/4] clk: qcom: camcc-sm8750: Declare icc path dependency for TITAN_TOP_GDSC
2026-12-03 9:03 ` [PATCH v2 1/4] clk: qcom: camcc-sm8750: Declare icc path " Wenmeng Liu
@ 2026-12-03 9:19 ` sashiko-bot
0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-12-03 9:19 UTC (permalink / raw)
To: Wenmeng Liu; +Cc: linux-clk, devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] clk: qcom: camcc-sm8750: missing Fixes trailer on bug-fix commit
--
commit 3f8a851585cab497f8ea4a11af7104008781fa30
Author: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> clk: qcom: camcc-sm8750: Declare icc path dependency for TITAN_TOP_GDSC
>
> 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>
[Severity: Low]
This looks like a bug fix for the SM8750 camera clock controller driver.
Should this include:
Fixes: f9580bafd39c ("clk: qcom: camcc: Add camera clock controller driver for SM8750 SoC")
Note that backporting prior to bd09d87c55d6 ("clk: qcom: gdsc: Support
enabling interconnect path for power domain") also requires GDSC interconnect
support.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-camcc-fix-v2-0-9c7616480ce9@oss.qualcomm.com?part=1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 2/4] clk: qcom: camcc-eliza: Declare icc path dependency for TITAN_TOP_GDSC
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
2026-12-03 9:29 ` sashiko-bot
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
3 siblings, 1 reply; 7+ messages in thread
From: Wenmeng Liu @ 2026-12-03 9:03 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, linux-clk, devicetree, Abel Vesa, Wenmeng Liu
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
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v2 2/4] clk: qcom: camcc-eliza: Declare icc path dependency for TITAN_TOP_GDSC
2026-12-03 9:03 ` [PATCH v2 2/4] clk: qcom: camcc-eliza: " Wenmeng Liu
@ 2026-12-03 9:29 ` sashiko-bot
0 siblings, 0 replies; 7+ messages in thread
From: sashiko-bot @ 2026-12-03 9:29 UTC (permalink / raw)
To: Wenmeng Liu; +Cc: linux-clk, devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] clk: qcom: camcc-eliza: missing Fixes trailer for TITAN_TOP_GDSC
icc fix
--
commit e866942ba234b159d381a2344a22ee56bb4e7d38
Author: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> clk: qcom: camcc-eliza: Declare icc path dependency for TITAN_TOP_GDSC
>
> 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>
[Severity: Low]
This fixes a power-collapse hang on cam_cc_titan_top_gdsc, which was
introduced without the interconnect dependency. Should this include:
Fixes: 115631176f8a ("clk: qcom: camcc: Add support for camera clock controller for Eliza")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-camcc-fix-v2-0-9c7616480ce9@oss.qualcomm.com?part=2
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 3/4] arm64: dts: qcom: sm8750: Add interconnects to camcc
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 ` [PATCH v2 2/4] clk: qcom: camcc-eliza: " Wenmeng Liu
@ 2026-12-03 9:03 ` Wenmeng Liu
2026-12-03 9:03 ` [PATCH v2 4/4] arm64: dts: qcom: eliza: " Wenmeng Liu
3 siblings, 0 replies; 7+ messages in thread
From: Wenmeng Liu @ 2026-12-03 9:03 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, linux-clk, devicetree, Wenmeng Liu
Add the interconnect path for the camera clock controller, which is
needed to keep MMNOC voted for while the TITAN_TOP GDSC is on.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8750.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
index d8a853c31eeb15fb1d0023fb8b5a5a59a9ed763b..7d59d1a2d41e9beae01a4b9561d934b70aecdade 100644
--- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
@@ -3791,6 +3791,10 @@ camcc: clock-controller@ade0000 {
<&bi_tcxo_div2>,
<&bi_tcxo_ao_div2>,
<&sleep_clk>;
+
+ interconnects = <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
+ &mmss_noc SLAVE_MNOC_HF_MEM_NOC QCOM_ICC_TAG_ALWAYS>;
+
power-domains = <&rpmhpd RPMHPD_MMCX>,
<&rpmhpd RPMHPD_MXC>;
required-opps = <&rpmhpd_opp_low_svs>,
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH v2 4/4] arm64: dts: qcom: eliza: Add interconnects to camcc
2026-12-03 9:03 [PATCH v2 0/4] camcc-sm8750/eliza: Declare interconnect dependency for TITAN_TOP_GDSC Wenmeng Liu
` (2 preceding siblings ...)
2026-12-03 9:03 ` [PATCH v2 3/4] arm64: dts: qcom: sm8750: Add interconnects to camcc Wenmeng Liu
@ 2026-12-03 9:03 ` Wenmeng Liu
3 siblings, 0 replies; 7+ messages in thread
From: Wenmeng Liu @ 2026-12-03 9:03 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, linux-clk, devicetree, Wenmeng Liu
Add the interconnect path for the camera clock controller, which is
needed to keep MMNOC voted for while the TITAN_TOP GDSC is on.
Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/eliza.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi
index 4a125ef386c025fe6ecdbf4d17a785d1532ba09e..9d0eacadee3fe72283219b630db751f27f61897c 100644
--- a/arch/arm64/boot/dts/qcom/eliza.dtsi
+++ b/arch/arm64/boot/dts/qcom/eliza.dtsi
@@ -3456,6 +3456,9 @@ camcc: clock-controller@ade0000 {
<&sleep_clk>,
<&gcc GCC_CAMERA_AHB_CLK>;
+ interconnects = <&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
+ &mmss_noc SLAVE_MNOC_HF_MEM_NOC QCOM_ICC_TAG_ALWAYS>;
+
power-domains = <&rpmhpd RPMHPD_CX>,
<&rpmhpd RPMHPD_MX>;
required-opps = <&rpmhpd_opp_low_svs>,
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread