* [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs
@ 2026-09-14 12:46 Abel Vesa
2026-09-14 12:47 ` [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain Abel Vesa
` (51 more replies)
0 siblings, 52 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:46 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Tie the CX power domain to GCC clock controllers for SDM670,
SM8150, SM8250, SM8350, SM8450, SM8550, SM8650, SM8750, SM6350,
SM4450, QDU1000, QCS8300, SDX75, SAR2130P, SC7180, SC7280, SA8775P,
X1E80100, Eliza, Kaanapali, and QCS615.
Also enable the runtime PM in each of the GCC provider drivers.
On SDM845, the DT already describes the CX as power domain for GCC,
only the driver needs runtime PM enabling.
Update the GCC bindings to document and require the CX power-domain
dependency for the affected compatibles.
Only Kaanapali and Eliza require Fixes tags, as runtime PM support was not
available when the other platforms were upstreamed.
---
Changes in v4:
- Rebased on next-20260911.
- Add missing CX power-domain bindings for QCS8300, QDU1000, SDX75, SM4450, and SM6350.
- Address Krzysztof's binding review by documenting the CX power-domain item.
- Explain why the new required property is needed to prevent CX undervolting.
- Include the direct RPMh power-domain header in binding examples.
- Link to v3: https://patch.msgid.link/20260824-qcom-tie-cx-to-gcc-v3-0-f1205a92682b@oss.qualcomm.com
Changes in v2:
- Clarify the runtime PM rationale in the GCC driver commit messages.
- Picked up Konrad's R-b tag for the dts patches.
- Link to v1: https://patch.msgid.link/20260819-qcom-tie-cx-to-gcc-v1-0-840034124e73@oss.qualcomm.com
To: Bjorn Andersson <andersson@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>
To: Brian Masney <bmasney+clk@redhat.com>
To: Jerome Brunet <jbrunet+clk@baylibre.com>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Taniya Das <taniya.das@oss.qualcomm.com>
To: Vinod Koul <vkoul@kernel.org>
To: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
To: Abel Vesa <abel.vesa@oss.qualcomm.com>
To: Konrad Dybcio <konradybcio@kernel.org>
To: Tengfei Fan <tengfei.fan@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Krzysztof Kozlowski <krzk@kernel.org>
---
Abel Vesa (52):
dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain
dt-bindings: clock: qcom: gcc-sm8150: Add CX power domain
dt-bindings: clock: qcom: gcc-sm8250: Add CX power domain
dt-bindings: clock: qcom: gcc-sm8350: Add CX power domain
dt-bindings: clock: qcom: gcc-sm8450: Add CX power domain
dt-bindings: clock: qcom: qcs615-gcc: Add CX power domain
dt-bindings: clock: qcom: sm8550-gcc: Add CX power domain
dt-bindings: clock: qcom: sm8650-gcc: Add CX power domain
dt-bindings: clock: qcom: sm8750-gcc: Add CX power domain
dt-bindings: clock: qcom: sm4450-gcc: Add CX power domain
dt-bindings: clock: qcom: gcc-sm6350: Add CX power domain
dt-bindings: clock: qcom: qcs8300-gcc: Add CX power domain
dt-bindings: clock: qcom: qdu1000-gcc: Add CX power domain
dt-bindings: clock: qcom: sdx75-gcc: Add CX power domain
clk: qcom: gcc-eliza: Tie the CX power domain to controller
clk: qcom: gcc-kaanapali: Tie the CX power domain to controller
clk: qcom: gcc-qcs615: Tie the CX power domain to controller
clk: qcom: gcc-qcs8300: Tie the CX power domain to controller
clk: qcom: gcc-qdu1000: Tie the CX power domain to controller
clk: qcom: gcc-sa8775p: Tie the CX power domain to controller
clk: qcom: gcc-sar2130p: Tie the CX power domain to controller
clk: qcom: gcc-sc7180: Tie the CX power domain to controller
clk: qcom: gcc-sc7280: Tie the CX power domain to controller
clk: qcom: gcc-sdm670: Tie the CX power domain to controller
clk: qcom: gcc-sdm845: Tie the CX power domain to controller
clk: qcom: gcc-sdx75: Tie the CX power domain to controller
clk: qcom: gcc-sm4450: Tie the CX power domain to controller
clk: qcom: gcc-sm6350: Tie the CX power domain to controller
clk: qcom: gcc-sm8150: Tie the CX power domain to controller
clk: qcom: gcc-sm8250: Tie the CX power domain to controller
clk: qcom: gcc-sm8350: Tie the CX power domain to controller
clk: qcom: gcc-sm8450: Tie the CX power domain to controller
clk: qcom: gcc-sm8550: Tie the CX power domain to controller
clk: qcom: gcc-sm8650: Tie the CX power domain to controller
clk: qcom: gcc-sm8750: Tie the CX power domain to controller
clk: qcom: gcc-x1e80100: Tie the CX power domain to controller
arm64: dts: qcom: kaanapali: Add GCC CX power domain
arm64: dts: qcom: monaco: Add GCC CX power domain
arm64: dts: qcom: qdu1000: Add GCC CX power domain
arm64: dts: qcom: sar2130p: Add GCC CX power domain
arm64: dts: qcom: sdm670: Add GCC CX power domain
arm64: dts: qcom: sdx75: Add GCC CX power domain
arm64: dts: qcom: sm4450: Add GCC CX power domain
arm64: dts: qcom: sm6350: Add GCC CX power domain
arm64: dts: qcom: sm8150: Add GCC CX power domain
arm64: dts: qcom: sm8250: Add GCC CX power domain
arm64: dts: qcom: sm8350: Add GCC CX power domain
arm64: dts: qcom: sm8450: Add GCC CX power domain
arm64: dts: qcom: sm8550: Add GCC CX power domain
arm64: dts: qcom: sm8650: Add GCC CX power domain
arm64: dts: qcom: sm8750: Add GCC CX power domain
arm64: dts: qcom: talos: Add GCC CX power domain
Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml | 9 ++++++++-
Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml | 7 +++++++
Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml | 7 +++++++
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 2 ++
arch/arm64/boot/dts/qcom/monaco.dtsi | 1 +
arch/arm64/boot/dts/qcom/qdu1000.dtsi | 1 +
arch/arm64/boot/dts/qcom/sar2130p.dtsi | 1 +
arch/arm64/boot/dts/qcom/sdm670.dtsi | 1 +
arch/arm64/boot/dts/qcom/sdx75.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm4450.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm6350.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 +
arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 ++
arch/arm64/boot/dts/qcom/sm8750.dtsi | 2 ++
arch/arm64/boot/dts/qcom/talos.dtsi | 2 ++
drivers/clk/qcom/gcc-eliza.c | 1 +
drivers/clk/qcom/gcc-kaanapali.c | 1 +
drivers/clk/qcom/gcc-qcs615.c | 1 +
drivers/clk/qcom/gcc-qcs8300.c | 1 +
drivers/clk/qcom/gcc-qdu1000.c | 1 +
drivers/clk/qcom/gcc-sa8775p.c | 1 +
drivers/clk/qcom/gcc-sar2130p.c | 1 +
drivers/clk/qcom/gcc-sc7180.c | 1 +
drivers/clk/qcom/gcc-sc7280.c | 1 +
drivers/clk/qcom/gcc-sdm845.c | 2 ++
drivers/clk/qcom/gcc-sdx75.c | 1 +
drivers/clk/qcom/gcc-sm4450.c | 1 +
drivers/clk/qcom/gcc-sm6350.c | 1 +
drivers/clk/qcom/gcc-sm8150.c | 1 +
drivers/clk/qcom/gcc-sm8250.c | 1 +
drivers/clk/qcom/gcc-sm8350.c | 1 +
drivers/clk/qcom/gcc-sm8450.c | 1 +
drivers/clk/qcom/gcc-sm8550.c | 1 +
drivers/clk/qcom/gcc-sm8650.c | 1 +
drivers/clk/qcom/gcc-sm8750.c | 1 +
drivers/clk/qcom/gcc-x1e80100.c | 1 +
51 files changed, 141 insertions(+), 1 deletion(-)
---
base-commit: 68142f986ff04b2b70b31db00f719bf690f64a9a
change-id: 20260819-qcom-tie-cx-to-gcc-67e6697639b5
Best regards,
--
Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:23 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 02/52] dt-bindings: clock: qcom: gcc-sm8150: " Abel Vesa
` (50 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Describe the CX power-domain dependency for SDM845 and SDM670 GCCs, and
require it for both compatibles.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
index a7523a414341..356af877353d 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
@@ -31,7 +31,8 @@ properties:
maxItems: 5
power-domains:
- maxItems: 1
+ items:
+ - description: CX power domain
required:
- compatible
@@ -56,6 +57,8 @@ allOf:
- const: bi_tcxo
- const: bi_tcxo_ao
- const: sleep_clk
+ required:
+ - power-domains
- if:
properties:
@@ -78,6 +81,8 @@ allOf:
- const: sleep_clk
- const: pcie_0_pipe_clk
- const: pcie_1_pipe_clk
+ required:
+ - power-domains
unevaluatedProperties: false
@@ -85,6 +90,7 @@ examples:
# Example for GCC for SDM845:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,gcc-sdm845";
reg = <0x100000 0x1f0000>;
@@ -94,6 +100,7 @@ examples:
<&pcie0_lane>,
<&pcie1_lane>;
clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "pcie_0_pipe_clk", "pcie_1_pipe_clk";
+ power-domains = <&rpmhpd SDM845_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 02/52] dt-bindings: clock: qcom: gcc-sm8150: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
2026-09-14 12:47 ` [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:25 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 03/52] dt-bindings: clock: qcom: gcc-sm8250: " Abel Vesa
` (49 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Describe the CX power-domain dependency for SM8150 GCC and require it in
the binding.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml
index 5f3f69fe9ddb..82d67b0d82d0 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml
@@ -30,10 +30,15 @@ properties:
- const: bi_tcxo
- const: sleep_clk
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
- clock-names
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -44,12 +49,14 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,gcc-sm8150";
reg = <0x00100000 0x1f0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>;
clock-names = "bi_tcxo", "sleep_clk";
+ power-domains = <&rpmhpd SM8150_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 03/52] dt-bindings: clock: qcom: gcc-sm8250: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
2026-09-14 12:47 ` [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain Abel Vesa
2026-09-14 12:47 ` [PATCH v4 02/52] dt-bindings: clock: qcom: gcc-sm8150: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:26 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 04/52] dt-bindings: clock: qcom: gcc-sm8350: " Abel Vesa
` (48 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM8250 GCC are supplied by the RPMh CX power
domain. Model that parent domain in the GCC binding so the provider can
describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml
index f4cd5a509c60..5f9aae728245 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml
@@ -32,10 +32,15 @@ properties:
- const: bi_tcxo_ao
- const: sleep_clk
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
- clock-names
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -46,6 +51,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,gcc-sm8250";
reg = <0x00100000 0x1f0000>;
@@ -53,6 +59,7 @@ examples:
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>;
clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 04/52] dt-bindings: clock: qcom: gcc-sm8350: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (2 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 03/52] dt-bindings: clock: qcom: gcc-sm8250: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:29 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 05/52] dt-bindings: clock: qcom: gcc-sm8450: " Abel Vesa
` (47 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM8350 GCC are supplied by the RPMh CX power
domain. Model that parent domain in the GCC binding so the provider can
describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml
index 97ffae3b5522..7f3947db5807 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml
@@ -51,10 +51,15 @@ properties:
- const: usb3_uni_phy_sec_gcc_usb30_pipe_clk # Optional clock
minItems: 2
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
- clock-names
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -65,12 +70,14 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,gcc-sm8350";
reg = <0x00100000 0x1f0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>;
clock-names = "bi_tcxo", "sleep_clk";
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 05/52] dt-bindings: clock: qcom: gcc-sm8450: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (3 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 04/52] dt-bindings: clock: qcom: gcc-sm8350: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:30 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 06/52] dt-bindings: clock: qcom: qcs615-gcc: " Abel Vesa
` (46 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM8450 GCC are supplied by the RPMh CX power
domain. Model that parent domain in the GCC binding so the provider can
describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
index 3169ac05e1d8..793ee9e3ff10 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml
@@ -47,10 +47,15 @@ properties:
- const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock
minItems: 2
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
- clock-names
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -61,11 +66,13 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,gcc-sm8450";
reg = <0x00100000 0x001f4200>;
clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>;
clock-names = "bi_tcxo", "sleep_clk";
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 06/52] dt-bindings: clock: qcom: qcs615-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (4 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 05/52] dt-bindings: clock: qcom: gcc-sm8450: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:30 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 07/52] dt-bindings: clock: qcom: sm8550-gcc: " Abel Vesa
` (45 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the QCS615 GCC are supplied by the RPMh CX power
domain. Model that parent domain in the GCC binding so the provider can
describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml
index 4a828e102d25..c87248531563 100644
--- a/Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml
@@ -31,10 +31,15 @@ properties:
- const: bi_tcxo_ao
- const: sleep_clk
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
- clock-names
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -45,6 +50,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,qcs615-gcc";
reg = <0x00100000 0x1f0000>;
@@ -52,6 +58,7 @@ examples:
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>;
clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 07/52] dt-bindings: clock: qcom: sm8550-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (5 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 06/52] dt-bindings: clock: qcom: qcs615-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:30 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 08/52] dt-bindings: clock: qcom: sm8650-gcc: " Abel Vesa
` (44 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM8550 GCC are supplied by the RPMh CX power
domain. Model that parent domain in the GCC binding so the provider can
describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml
index c4e9b9bb63f5..f9423aff5dea 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml
@@ -31,9 +31,14 @@ properties:
- description: UFS Phy Tx symbol 0 clock source
- description: USB3 Phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -44,6 +49,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,sm8550-gcc";
reg = <0x00100000 0x001f4200>;
@@ -55,6 +61,7 @@ examples:
<&ufs_mem_phy 1>,
<&ufs_mem_phy 2>,
<&usb_1_qmpphy>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 08/52] dt-bindings: clock: qcom: sm8650-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (6 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 07/52] dt-bindings: clock: qcom: sm8550-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:31 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 09/52] dt-bindings: clock: qcom: sm8750-gcc: " Abel Vesa
` (43 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM8650 GCC are supplied by the RPMh CX power
domain. Model that parent domain in the GCC binding so the provider can
describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml
index c7143e2abc80..543105b277d5 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml
@@ -32,9 +32,14 @@ properties:
- description: UFS Phy Tx symbol 0 clock source
- description: USB3 Phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -45,6 +50,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,sm8650-gcc";
reg = <0x00100000 0x001f4200>;
@@ -58,6 +64,7 @@ examples:
<&ufs_mem_phy 1>,
<&ufs_mem_phy 2>,
<&usb_1_qmpphy>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 09/52] dt-bindings: clock: qcom: sm8750-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (7 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 08/52] dt-bindings: clock: qcom: sm8650-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:31 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 10/52] dt-bindings: clock: qcom: sm4450-gcc: " Abel Vesa
` (42 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM8750 and Kaanapali GCCs are supplied by the
RPMh CX power domain. Model that parent domain in the GCC binding so the
provider can describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
undervolt it.
Fixes: 342d2a607450 ("dt-bindings: clock: qcom: Add Kaanapali Global clock controller")
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml
index 0114d347b26f..59da3eb2b073 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml
@@ -34,9 +34,14 @@ properties:
- description: UFS Phy Tx symbol 0 clock source
- description: USB3 Phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -47,6 +52,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,sm8750-gcc";
reg = <0x00100000 0x001f4200>;
@@ -58,6 +64,7 @@ examples:
<&ufs_mem_phy 1>,
<&ufs_mem_phy 2>,
<&usb_1_qmpphy>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 10/52] dt-bindings: clock: qcom: sm4450-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (8 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 09/52] dt-bindings: clock: qcom: sm8750-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:31 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 11/52] dt-bindings: clock: qcom: gcc-sm6350: " Abel Vesa
` (41 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM4450 GCC are supplied by the RPMh CX
power domain. Model that parent domain in the GCC binding so the
provider can describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
may undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
index 9cfe859bacc9..e143300e7be9 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml
@@ -29,9 +29,14 @@ properties:
- description: UFS Phy Tx symbol 0 clock source
- description: USB3 Phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -42,12 +47,14 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,sm4450-gcc";
reg = <0x00100000 0x001f4200>;
clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
<&ufs_mem_phy 0>, <&ufs_mem_phy 1>,
<&ufs_mem_phy 2>, <&usb_1_qmpphy>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 11/52] dt-bindings: clock: qcom: gcc-sm6350: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (9 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 10/52] dt-bindings: clock: qcom: sm4450-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:32 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 12/52] dt-bindings: clock: qcom: qcs8300-gcc: " Abel Vesa
` (40 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SM6350 GCC are supplied by the RPMh CX
power domain. Model that parent domain in the GCC binding so the
provider can describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
may undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml
index 819e855eaf9a..098a108b8123 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml
@@ -31,10 +31,15 @@ properties:
- const: bi_tcxo_ao
- const: sleep_clk
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
- clock-names
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -45,12 +50,14 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,gcc-sm6350";
reg = <0x00100000 0x1f0000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
#clock-cells = <1>;
#reset-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 12/52] dt-bindings: clock: qcom: qcs8300-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (10 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 11/52] dt-bindings: clock: qcom: gcc-sm6350: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:32 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 13/52] dt-bindings: clock: qcom: qdu1000-gcc: " Abel Vesa
` (39 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the QCS8300 GCC are supplied by the RPMh CX
power domain. Model that parent domain in the GCC binding so the
provider can describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
may undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml
index 081bc452081f..a2f6e97f1848 100644
--- a/Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml
@@ -33,9 +33,14 @@ properties:
- description: UFS Phy Tx symbol 0 clock source
- description: USB3 Phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -46,6 +51,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,qcs8300-gcc";
reg = <0x00100000 0xc7018>;
@@ -59,6 +65,7 @@ examples:
<&ufs_phy_rx_symbol_1_clk>,
<&ufs_phy_tx_symbol_0_clk>,
<&usb3_phy_wrapper_gcc_usb30_prim_pipe_clk>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 13/52] dt-bindings: clock: qcom: qdu1000-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (11 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 12/52] dt-bindings: clock: qcom: qcs8300-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-15 9:15 ` Taniya Das
2026-09-14 12:47 ` [PATCH v4 14/52] dt-bindings: clock: qcom: sdx75-gcc: " Abel Vesa
` (38 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the QDU1000 GCC are supplied by the RPMh CX
power domain. Model that parent domain in the GCC binding so the
provider can describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
may undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml
index 2c5a9ef4fe4d..3f2452d0c09e 100644
--- a/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,qdu1000-gcc.yaml
@@ -28,9 +28,14 @@ properties:
- description: PCIE 0 Phy Auxiliary clock source
- description: USB3 Phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -41,12 +46,14 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@100000 {
compatible = "qcom,qdu1000-gcc";
reg = <0x00100000 0x001f4200>;
clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
<&pcie_0_pipe_clk>, <&pcie_0_phy_aux_clk>,
<&usb3_phy_wrapper_pipe_clk>;
+ power-domains = <&rpmhpd QDU1000_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 14/52] dt-bindings: clock: qcom: sdx75-gcc: Add CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (12 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 13/52] dt-bindings: clock: qcom: qdu1000-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-17 8:32 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 15/52] clk: qcom: gcc-eliza: Tie the CX power domain to controller Abel Vesa
` (37 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GDSCs provided by the SDX75 GCC are supplied by the RPMh CX
power domain. Model that parent domain in the GCC binding so the
provider can describe the dependency in devicetree.
Add a single CX power-domain entry to the binding and make it required.
Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
may undervolt it.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml
index 29a0b29bcb81..75a38e9f3248 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml
@@ -38,9 +38,14 @@ properties:
- description: PCIE Pipe clock source
- description: USB3 phy wrapper pipe clock source
+ power-domains:
+ items:
+ - description: CX power domain
+
required:
- compatible
- clocks
+ - power-domains
- '#power-domain-cells'
allOf:
@@ -51,6 +56,7 @@ unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
+ #include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@80000 {
compatible = "qcom,sdx75-gcc";
reg = <0x80000 0x1f7400>;
@@ -59,6 +65,7 @@ examples:
<&emac1_sgmiiphy_mac_rclk>, <&emac1_sgmiiphy_mac_tclk>, <&emac1_sgmiiphy_rclk>,
<&emac1_sgmiiphy_tclk>, <&pcie20_phy_aux_clk>, <&pcie_1_pipe_clk>,
<&pcie_2_pipe_clk>, <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 15/52] clk: qcom: gcc-eliza: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (13 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 14/52] dt-bindings: clock: qcom: sdx75-gcc: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 16/52] clk: qcom: gcc-kaanapali: " Abel Vesa
` (36 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Fixes: 6393a36fe184 ("clk: qcom: Add support for Global clock controller on Eliza")
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-eliza.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-eliza.c b/drivers/clk/qcom/gcc-eliza.c
index fe18942a59ac..e26e6e6e52f1 100644
--- a/drivers/clk/qcom/gcc-eliza.c
+++ b/drivers/clk/qcom/gcc-eliza.c
@@ -3068,6 +3068,7 @@ static const struct qcom_cc_desc gcc_eliza_desc = {
.num_resets = ARRAY_SIZE(gcc_eliza_resets),
.gdscs = gcc_eliza_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_eliza_gdscs),
+ .use_rpm = true,
.driver_data = &gcc_eliza_driver_data,
};
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 16/52] clk: qcom: gcc-kaanapali: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (14 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 15/52] clk: qcom: gcc-eliza: Tie the CX power domain to controller Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 17/52] clk: qcom: gcc-qcs615: " Abel Vesa
` (35 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Fixes: d1919c375f21 ("clk: qcom: Add support for Global clock controller on Kaanapali")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-kaanapali.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-kaanapali.c b/drivers/clk/qcom/gcc-kaanapali.c
index 5bcbcd178657..c40d2da1086a 100644
--- a/drivers/clk/qcom/gcc-kaanapali.c
+++ b/drivers/clk/qcom/gcc-kaanapali.c
@@ -3502,6 +3502,7 @@ static const struct qcom_cc_desc gcc_kaanapali_desc = {
.num_resets = ARRAY_SIZE(gcc_kaanapali_resets),
.gdscs = gcc_kaanapali_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_kaanapali_gdscs),
+ .use_rpm = true,
.driver_data = &gcc_kaanapali_driver_data,
};
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 17/52] clk: qcom: gcc-qcs615: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (15 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 16/52] clk: qcom: gcc-kaanapali: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 18/52] clk: qcom: gcc-qcs8300: " Abel Vesa
` (34 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-qcs615.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-qcs615.c b/drivers/clk/qcom/gcc-qcs615.c
index 57f8c80c6f32..914a49573811 100644
--- a/drivers/clk/qcom/gcc-qcs615.c
+++ b/drivers/clk/qcom/gcc-qcs615.c
@@ -2968,6 +2968,7 @@ static const struct qcom_cc_desc gcc_qcs615_desc = {
.num_resets = ARRAY_SIZE(gcc_qcs615_resets),
.gdscs = gcc_qcs615_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_qcs615_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_qcs615_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 18/52] clk: qcom: gcc-qcs8300: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (16 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 17/52] clk: qcom: gcc-qcs615: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 19/52] clk: qcom: gcc-qdu1000: " Abel Vesa
` (33 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-qcs8300.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-qcs8300.c b/drivers/clk/qcom/gcc-qcs8300.c
index 146b3b5dfead..d04980e4a0bb 100644
--- a/drivers/clk/qcom/gcc-qcs8300.c
+++ b/drivers/clk/qcom/gcc-qcs8300.c
@@ -3681,6 +3681,7 @@ static const struct qcom_cc_desc gcc_qcs8300_desc = {
.num_resets = ARRAY_SIZE(gcc_qcs8300_resets),
.gdscs = gcc_qcs8300_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_qcs8300_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_qcs8300_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 19/52] clk: qcom: gcc-qdu1000: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (17 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 18/52] clk: qcom: gcc-qcs8300: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 20/52] clk: qcom: gcc-sa8775p: " Abel Vesa
` (32 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-qdu1000.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-qdu1000.c b/drivers/clk/qcom/gcc-qdu1000.c
index 915bb9b4ff81..172303ac4c9b 100644
--- a/drivers/clk/qcom/gcc-qdu1000.c
+++ b/drivers/clk/qcom/gcc-qdu1000.c
@@ -2649,6 +2649,7 @@ static const struct qcom_cc_desc gcc_qdu1000_desc = {
.num_resets = ARRAY_SIZE(gcc_qdu1000_resets),
.gdscs = gcc_qdu1000_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_qdu1000_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_qdu1000_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 20/52] clk: qcom: gcc-sa8775p: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (18 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 19/52] clk: qcom: gcc-qdu1000: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 21/52] clk: qcom: gcc-sar2130p: " Abel Vesa
` (31 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sa8775p.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sa8775p.c b/drivers/clk/qcom/gcc-sa8775p.c
index dca316decd0e..2f867596bbc5 100644
--- a/drivers/clk/qcom/gcc-sa8775p.c
+++ b/drivers/clk/qcom/gcc-sa8775p.c
@@ -4652,6 +4652,7 @@ static const struct qcom_cc_desc gcc_sa8775p_desc = {
.num_resets = ARRAY_SIZE(gcc_sa8775p_resets),
.gdscs = gcc_sa8775p_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sa8775p_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sa8775p_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 21/52] clk: qcom: gcc-sar2130p: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (19 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 20/52] clk: qcom: gcc-sa8775p: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 22/52] clk: qcom: gcc-sc7180: " Abel Vesa
` (30 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sar2130p.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sar2130p.c b/drivers/clk/qcom/gcc-sar2130p.c
index 475e2cda3618..1a16f9d68bab 100644
--- a/drivers/clk/qcom/gcc-sar2130p.c
+++ b/drivers/clk/qcom/gcc-sar2130p.c
@@ -2308,6 +2308,7 @@ static const struct qcom_cc_desc gcc_sar2130p_desc = {
.num_resets = ARRAY_SIZE(gcc_sar2130p_resets),
.gdscs = gcc_sar2130p_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sar2130p_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sar2130p_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 22/52] clk: qcom: gcc-sc7180: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (20 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 21/52] clk: qcom: gcc-sar2130p: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 23/52] clk: qcom: gcc-sc7280: " Abel Vesa
` (29 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sc7180.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c
index 4a49ad7a9e5b..f3a245470a4d 100644
--- a/drivers/clk/qcom/gcc-sc7180.c
+++ b/drivers/clk/qcom/gcc-sc7180.c
@@ -2418,6 +2418,7 @@ static const struct qcom_cc_desc gcc_sc7180_desc = {
.num_resets = ARRAY_SIZE(gcc_sc7180_resets),
.gdscs = gcc_sc7180_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sc7180_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sc7180_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 23/52] clk: qcom: gcc-sc7280: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (21 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 22/52] clk: qcom: gcc-sc7180: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-15 8:06 ` Taniya Das
2026-09-14 12:47 ` [PATCH v4 24/52] clk: qcom: gcc-sdm670: " Abel Vesa
` (28 subsequent siblings)
51 siblings, 1 reply; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sc7280.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sc7280.c b/drivers/clk/qcom/gcc-sc7280.c
index 4502926a2691..bb8f6efb88b1 100644
--- a/drivers/clk/qcom/gcc-sc7280.c
+++ b/drivers/clk/qcom/gcc-sc7280.c
@@ -3446,6 +3446,7 @@ static const struct qcom_cc_desc gcc_sc7280_desc = {
.num_resets = ARRAY_SIZE(gcc_sc7280_resets),
.gdscs = gcc_sc7280_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sc7280_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sc7280_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 24/52] clk: qcom: gcc-sdm670: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (22 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 23/52] clk: qcom: gcc-sc7280: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 25/52] clk: qcom: gcc-sdm845: " Abel Vesa
` (27 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sdm845.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c
index 6d0f9cede5cf..57d54b45fa52 100644
--- a/drivers/clk/qcom/gcc-sdm845.c
+++ b/drivers/clk/qcom/gcc-sdm845.c
@@ -3948,6 +3948,7 @@ static const struct qcom_cc_desc gcc_sdm670_desc = {
.num_resets = ARRAY_SIZE(gcc_sdm845_resets),
.gdscs = gcc_sdm670_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sdm670_gdscs),
+ .use_rpm = true,
};
static const struct qcom_cc_desc gcc_sdm845_desc = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 25/52] clk: qcom: gcc-sdm845: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (23 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 24/52] clk: qcom: gcc-sdm670: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 26/52] clk: qcom: gcc-sdx75: " Abel Vesa
` (26 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sdm845.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c
index 57d54b45fa52..cde863dcf185 100644
--- a/drivers/clk/qcom/gcc-sdm845.c
+++ b/drivers/clk/qcom/gcc-sdm845.c
@@ -3959,6 +3959,7 @@ static const struct qcom_cc_desc gcc_sdm845_desc = {
.num_resets = ARRAY_SIZE(gcc_sdm845_resets),
.gdscs = gcc_sdm845_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sdm845_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sdm845_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 26/52] clk: qcom: gcc-sdx75: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (24 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 25/52] clk: qcom: gcc-sdm845: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 27/52] clk: qcom: gcc-sm4450: " Abel Vesa
` (25 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sdx75.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sdx75.c b/drivers/clk/qcom/gcc-sdx75.c
index 6712e76f875c..7a17e300abce 100644
--- a/drivers/clk/qcom/gcc-sdx75.c
+++ b/drivers/clk/qcom/gcc-sdx75.c
@@ -2913,6 +2913,7 @@ static const struct qcom_cc_desc gcc_sdx75_desc = {
.num_resets = ARRAY_SIZE(gcc_sdx75_resets),
.gdscs = gcc_sdx75_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sdx75_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sdx75_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 27/52] clk: qcom: gcc-sm4450: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (25 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 26/52] clk: qcom: gcc-sdx75: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 28/52] clk: qcom: gcc-sm6350: " Abel Vesa
` (24 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm4450.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm4450.c b/drivers/clk/qcom/gcc-sm4450.c
index 30fc7af09930..41d5f35c8f5e 100644
--- a/drivers/clk/qcom/gcc-sm4450.c
+++ b/drivers/clk/qcom/gcc-sm4450.c
@@ -2823,6 +2823,7 @@ static const struct qcom_cc_desc gcc_sm4450_desc = {
.num_resets = ARRAY_SIZE(gcc_sm4450_resets),
.gdscs = gcc_sm4450_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm4450_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm4450_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 28/52] clk: qcom: gcc-sm6350: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (26 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 27/52] clk: qcom: gcc-sm4450: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 29/52] clk: qcom: gcc-sm8150: " Abel Vesa
` (23 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm6350.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm6350.c b/drivers/clk/qcom/gcc-sm6350.c
index a4d6dff9d0f7..b99a5bc53048 100644
--- a/drivers/clk/qcom/gcc-sm6350.c
+++ b/drivers/clk/qcom/gcc-sm6350.c
@@ -2545,6 +2545,7 @@ static const struct qcom_cc_desc gcc_sm6350_desc = {
.num_resets = ARRAY_SIZE(gcc_sm6350_resets),
.gdscs = gcc_sm6350_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm6350_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm6350_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 29/52] clk: qcom: gcc-sm8150: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (27 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 28/52] clk: qcom: gcc-sm6350: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 30/52] clk: qcom: gcc-sm8250: " Abel Vesa
` (22 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8150.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c
index a93d1f412a7b..1404996d33c3 100644
--- a/drivers/clk/qcom/gcc-sm8150.c
+++ b/drivers/clk/qcom/gcc-sm8150.c
@@ -3771,6 +3771,7 @@ static const struct qcom_cc_desc gcc_sm8150_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8150_resets),
.gdscs = gcc_sm8150_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8150_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8150_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 30/52] clk: qcom: gcc-sm8250: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (28 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 29/52] clk: qcom: gcc-sm8150: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 31/52] clk: qcom: gcc-sm8350: " Abel Vesa
` (21 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8250.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8250.c b/drivers/clk/qcom/gcc-sm8250.c
index 1c59d70e0f96..44f6e197433e 100644
--- a/drivers/clk/qcom/gcc-sm8250.c
+++ b/drivers/clk/qcom/gcc-sm8250.c
@@ -3619,6 +3619,7 @@ static const struct qcom_cc_desc gcc_sm8250_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8250_resets),
.gdscs = gcc_sm8250_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8250_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8250_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 31/52] clk: qcom: gcc-sm8350: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (29 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 30/52] clk: qcom: gcc-sm8250: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 32/52] clk: qcom: gcc-sm8450: " Abel Vesa
` (20 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8350.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8350.c b/drivers/clk/qcom/gcc-sm8350.c
index 2d94f3046b71..69350fa4c914 100644
--- a/drivers/clk/qcom/gcc-sm8350.c
+++ b/drivers/clk/qcom/gcc-sm8350.c
@@ -3787,6 +3787,7 @@ static const struct qcom_cc_desc gcc_sm8350_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8350_resets),
.gdscs = gcc_sm8350_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8350_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8350_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 32/52] clk: qcom: gcc-sm8450: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (30 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 31/52] clk: qcom: gcc-sm8350: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 33/52] clk: qcom: gcc-sm8550: " Abel Vesa
` (19 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8450.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8450.c b/drivers/clk/qcom/gcc-sm8450.c
index b18bb34889ab..00ce241c9adb 100644
--- a/drivers/clk/qcom/gcc-sm8450.c
+++ b/drivers/clk/qcom/gcc-sm8450.c
@@ -3400,6 +3400,7 @@ static const struct qcom_cc_desc gcc_sm8450_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8450_resets),
.gdscs = gcc_sm8450_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8450_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8450_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 33/52] clk: qcom: gcc-sm8550: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (31 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 32/52] clk: qcom: gcc-sm8450: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 34/52] clk: qcom: gcc-sm8650: " Abel Vesa
` (18 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8550.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8550.c b/drivers/clk/qcom/gcc-sm8550.c
index 36a5b7de5b55..4d6db0e59bee 100644
--- a/drivers/clk/qcom/gcc-sm8550.c
+++ b/drivers/clk/qcom/gcc-sm8550.c
@@ -3327,6 +3327,7 @@ static const struct qcom_cc_desc gcc_sm8550_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8550_resets),
.gdscs = gcc_sm8550_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8550_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8550_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 34/52] clk: qcom: gcc-sm8650: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (32 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 33/52] clk: qcom: gcc-sm8550: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 35/52] clk: qcom: gcc-sm8750: " Abel Vesa
` (17 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8650.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8650.c b/drivers/clk/qcom/gcc-sm8650.c
index f7e2d7ec60c9..e539cef33ecc 100644
--- a/drivers/clk/qcom/gcc-sm8650.c
+++ b/drivers/clk/qcom/gcc-sm8650.c
@@ -3785,6 +3785,7 @@ static const struct qcom_cc_desc gcc_sm8650_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8650_resets),
.gdscs = gcc_sm8650_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8650_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8650_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 35/52] clk: qcom: gcc-sm8750: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (33 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 34/52] clk: qcom: gcc-sm8650: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 36/52] clk: qcom: gcc-x1e80100: " Abel Vesa
` (16 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-sm8750.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-sm8750.c b/drivers/clk/qcom/gcc-sm8750.c
index 6cfe90122268..f25926a9b69c 100644
--- a/drivers/clk/qcom/gcc-sm8750.c
+++ b/drivers/clk/qcom/gcc-sm8750.c
@@ -3196,6 +3196,7 @@ static const struct qcom_cc_desc gcc_sm8750_desc = {
.num_resets = ARRAY_SIZE(gcc_sm8750_resets),
.gdscs = gcc_sm8750_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_sm8750_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_sm8750_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 36/52] clk: qcom: gcc-x1e80100: Tie the CX power domain to controller
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (34 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 35/52] clk: qcom: gcc-sm8750: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 37/52] arm64: dts: qcom: kaanapali: Add GCC CX power domain Abel Vesa
` (15 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
Enable runtime PM for the controller, allowing CX to be powered down
once all GCC consumers have released their clocks and GDSCs.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
drivers/clk/qcom/gcc-x1e80100.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/qcom/gcc-x1e80100.c b/drivers/clk/qcom/gcc-x1e80100.c
index 8c146d62c077..832633a85f1a 100644
--- a/drivers/clk/qcom/gcc-x1e80100.c
+++ b/drivers/clk/qcom/gcc-x1e80100.c
@@ -7449,6 +7449,7 @@ static const struct qcom_cc_desc gcc_x1e80100_desc = {
.num_resets = ARRAY_SIZE(gcc_x1e80100_resets),
.gdscs = gcc_x1e80100_gdscs,
.num_gdscs = ARRAY_SIZE(gcc_x1e80100_gdscs),
+ .use_rpm = true,
};
static const struct of_device_id gcc_x1e80100_match_table[] = {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 37/52] arm64: dts: qcom: kaanapali: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (35 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 36/52] clk: qcom: gcc-x1e80100: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 38/52] arm64: dts: qcom: monaco: " Abel Vesa
` (14 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on Kaanapali are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Fixes: 2eeb5767d53f ("arm64: dts: qcom: Introduce Kaanapali SoC")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/kaanapali.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
index 131fd2a16c54..c1528cc8b7b3 100644
--- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi
+++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi
@@ -552,6 +552,8 @@ gcc: clock-controller@100000 {
<&ufs_mem_phy 2>,
<0>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
+
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 38/52] arm64: dts: qcom: monaco: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (36 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 37/52] arm64: dts: qcom: kaanapali: Add GCC CX power domain Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 39/52] arm64: dts: qcom: qdu1000: " Abel Vesa
` (13 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on QCS8300 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/monaco.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi
index 395d32d36844..8478e81c4ada 100644
--- a/arch/arm64/boot/dts/qcom/monaco.dtsi
+++ b/arch/arm64/boot/dts/qcom/monaco.dtsi
@@ -897,6 +897,7 @@ gcc: clock-controller@100000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<&pcie0_phy>,
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 39/52] arm64: dts: qcom: qdu1000: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (37 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 38/52] arm64: dts: qcom: monaco: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 40/52] arm64: dts: qcom: sar2130p: " Abel Vesa
` (12 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on QDU1000 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/qdu1000.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
index af106aebd30d..accb4b989655 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
+++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
@@ -396,6 +396,7 @@ gcc: clock-controller@80000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd QDU1000_CX>;
};
ecpricc: clock-controller@280000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 40/52] arm64: dts: qcom: sar2130p: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (38 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 39/52] arm64: dts: qcom: qdu1000: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 41/52] arm64: dts: qcom: sdm670: " Abel Vesa
` (11 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SAR2130P are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sar2130p.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sar2130p.dtsi b/arch/arm64/boot/dts/qcom/sar2130p.dtsi
index 2ecead79806c..ceeb9c47093e 100644
--- a/arch/arm64/boot/dts/qcom/sar2130p.dtsi
+++ b/arch/arm64/boot/dts/qcom/sar2130p.dtsi
@@ -474,6 +474,7 @@ gcc: clock-controller@100000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<&pcie0_phy>,
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 41/52] arm64: dts: qcom: sdm670: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (39 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 40/52] arm64: dts: qcom: sar2130p: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 42/52] arm64: dts: qcom: sdx75: " Abel Vesa
` (10 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SDM670 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sdm670.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
index 5c60ea36f04a..1978a54db23b 100644
--- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
@@ -626,6 +626,7 @@ gcc: clock-controller@100000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd SDM670_CX>;
};
qfprom: qfprom@784000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 42/52] arm64: dts: qcom: sdx75: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (40 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 41/52] arm64: dts: qcom: sdm670: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 43/52] arm64: dts: qcom: sm4450: " Abel Vesa
` (9 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SDX75 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sdx75.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi
index 81292850e531..c66f7bd9bf9a 100644
--- a/arch/arm64/boot/dts/qcom/sdx75.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi
@@ -486,6 +486,7 @@ gcc: clock-controller@80000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
};
ipcc: mailbox@408000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 43/52] arm64: dts: qcom: sm4450: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (41 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 42/52] arm64: dts: qcom: sdx75: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 44/52] arm64: dts: qcom: sm6350: " Abel Vesa
` (8 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM4450 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm4450.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi
index bc9c788b92b1..11ab6ed4f655 100644
--- a/arch/arm64/boot/dts/qcom/sm4450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi
@@ -389,6 +389,7 @@ gcc: clock-controller@100000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>,
<0>,
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 44/52] arm64: dts: qcom: sm6350: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (42 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 43/52] arm64: dts: qcom: sm4450: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 45/52] arm64: dts: qcom: sm8150: " Abel Vesa
` (7 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM6350 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm6350.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
index 15d38b7e803c..ded5c3a45891 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -794,6 +794,7 @@ gcc: clock-controller@100000 {
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
+ power-domains = <&rpmhpd SM6350_CX>;
clock-names = "bi_tcxo",
"bi_tcxo_ao",
"sleep_clk";
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 45/52] arm64: dts: qcom: sm8150: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (43 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 44/52] arm64: dts: qcom: sm6350: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 46/52] arm64: dts: qcom: sm8250: " Abel Vesa
` (6 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8150 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8150.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 94a3b02cb289..397c0142ea57 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -913,6 +913,7 @@ gcc: clock-controller@100000 {
"sleep_clk";
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>;
+ power-domains = <&rpmhpd SM8150_CX>;
};
gpi_dma0: dma-controller@800000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 46/52] arm64: dts: qcom: sm8250: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (44 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 45/52] arm64: dts: qcom: sm8150: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 47/52] arm64: dts: qcom: sm8350: " Abel Vesa
` (5 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8250 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
index 8483a1bc56f4..a90e4f30d39a 100644
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
@@ -970,6 +970,7 @@ gcc: clock-controller@100000 {
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
};
ipcc: mailbox@408000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 47/52] arm64: dts: qcom: sm8350: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (45 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 46/52] arm64: dts: qcom: sm8250: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 48/52] arm64: dts: qcom: sm8450: " Abel Vesa
` (4 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8350 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
index 100faea925a3..2a7c6621ece2 100644
--- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
@@ -698,6 +698,7 @@ gcc: clock-controller@100000 {
<&ufs_mem_phy 2>,
<&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
<0>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
};
ipcc: mailbox@408000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 48/52] arm64: dts: qcom: sm8450: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (46 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 47/52] arm64: dts: qcom: sm8350: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 49/52] arm64: dts: qcom: sm8550: " Abel Vesa
` (3 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8450 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 484ec8ec8c10..1af29c5476e3 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -941,6 +941,7 @@ gcc: clock-controller@100000 {
"ufs_phy_rx_symbol_1_clk",
"ufs_phy_tx_symbol_0_clk",
"usb3_phy_wrapper_gcc_usb30_pipe_clk";
+ power-domains = <&rpmhpd RPMHPD_CX>;
};
gpi_dma2: dma-controller@800000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 49/52] arm64: dts: qcom: sm8550: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (47 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 48/52] arm64: dts: qcom: sm8450: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 50/52] arm64: dts: qcom: sm8650: " Abel Vesa
` (2 subsequent siblings)
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8550 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
index 23604436add3..9e60836f4064 100644
--- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
@@ -1194,6 +1194,7 @@ gcc: clock-controller@100000 {
<&ufs_mem_phy 1>,
<&ufs_mem_phy 2>,
<&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
};
ipcc: mailbox@408000 {
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 50/52] arm64: dts: qcom: sm8650: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (48 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 49/52] arm64: dts: qcom: sm8550: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 51/52] arm64: dts: qcom: sm8750: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 52/52] arm64: dts: qcom: talos: " Abel Vesa
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8650 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 99509305f970..9cf38a7e0b94 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -2018,6 +2018,8 @@ gcc: clock-controller@100000 {
<&ufs_mem_phy 2>,
<&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
+
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 51/52] arm64: dts: qcom: sm8750: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (49 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 50/52] arm64: dts: qcom: sm8650: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
2026-09-14 12:47 ` [PATCH v4 52/52] arm64: dts: qcom: talos: " Abel Vesa
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on SM8750 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sm8750.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
index 28cf22da854d..b9e943afc510 100644
--- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
@@ -677,6 +677,8 @@ gcc: clock-controller@100000 {
<0>,
<&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
+ power-domains = <&rpmhpd RPMHPD_CX>;
+
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* [PATCH v4 52/52] arm64: dts: qcom: talos: Add GCC CX power domain
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
` (50 preceding siblings ...)
2026-09-14 12:47 ` [PATCH v4 51/52] arm64: dts: qcom: sm8750: " Abel Vesa
@ 2026-09-14 12:47 ` Abel Vesa
51 siblings, 0 replies; 68+ messages in thread
From: Abel Vesa @ 2026-09-14 12:47 UTC (permalink / raw)
To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
Abel Vesa
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
The GCC GDSCs on QCS615 are backed by the RPMh CX power domain. Without
describing that parent domain, consumers of GCC-provided GDSCs can enable
their local domain without causing the required CX vote to be held.
Add the CX power-domain reference to the GCC node so votes from GCC GDSC
consumers can propagate to RPMh CX.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/talos.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index 531cf41b94dc..860673697f1a 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -705,6 +705,8 @@ gcc: clock-controller@100000 {
"bi_tcxo_ao",
"sleep_clk";
+ power-domains = <&rpmhpd RPMHPD_CX>;
+
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
--
2.54.0
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 23/52] clk: qcom: gcc-sc7280: Tie the CX power domain to controller
2026-09-14 12:47 ` [PATCH v4 23/52] clk: qcom: gcc-sc7280: " Abel Vesa
@ 2026-09-15 8:06 ` Taniya Das
0 siblings, 0 replies; 68+ messages in thread
From: Taniya Das @ 2026-09-15 8:06 UTC (permalink / raw)
To: Abel Vesa, Bjorn Andersson, Abel Vesa, Stephen Boyd,
Brian Masney, Jerome Brunet, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Vinod Koul, Jingyi Wang, Ajit Pandey,
Konrad Dybcio, Imran Shaik, Konrad Dybcio, Dmitry Baryshkov,
Tengfei Fan
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
On 9/14/2026 6:17 PM, Abel Vesa wrote:
> Enable runtime PM for the controller, allowing CX to be powered down
> once all GCC consumers have released their clocks and GDSCs.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> drivers/clk/qcom/gcc-sc7280.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/qcom/gcc-sc7280.c b/drivers/clk/qcom/gcc-sc7280.c
> index 4502926a2691..bb8f6efb88b1 100644
> --- a/drivers/clk/qcom/gcc-sc7280.c
> +++ b/drivers/clk/qcom/gcc-sc7280.c
> @@ -3446,6 +3446,7 @@ static const struct qcom_cc_desc gcc_sc7280_desc = {
> .num_resets = ARRAY_SIZE(gcc_sc7280_resets),
> .gdscs = gcc_sc7280_gdscs,
> .num_gdscs = ARRAY_SIZE(gcc_sc7280_gdscs),
> + .use_rpm = true,
> };
>
> static const struct of_device_id gcc_sc7280_match_table[] = {
>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
--
Thanks,
Taniya Das
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 13/52] dt-bindings: clock: qcom: qdu1000-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 13/52] dt-bindings: clock: qcom: qdu1000-gcc: " Abel Vesa
@ 2026-09-15 9:15 ` Taniya Das
0 siblings, 0 replies; 68+ messages in thread
From: Taniya Das @ 2026-09-15 9:15 UTC (permalink / raw)
To: Abel Vesa, Bjorn Andersson, Abel Vesa, Stephen Boyd,
Brian Masney, Jerome Brunet, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Vinod Koul, Jingyi Wang, Ajit Pandey,
Konrad Dybcio, Imran Shaik, Konrad Dybcio, Dmitry Baryshkov,
Tengfei Fan
Cc: linux-arm-msm, linux-clk, devicetree, linux-kernel, Krzysztof Kozlowski
On 9/14/2026 6:17 PM, Abel Vesa wrote:
> The GDSCs provided by the QDU1000 GCC are supplied by the RPMh CX
> power domain. Model that parent domain in the GCC binding so the
> provider can describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
> may undervolt it.
This is a always powered device and the minimum Operating level for this
target is NOMINAL and does not scale any further down. This target does
not follow our regular PMIC for the CX rail. It is better to drop this
target.
--
Thanks,
Taniya Das
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain Abel Vesa
@ 2026-09-17 8:23 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:23 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:00PM +0300, Abel Vesa wrote:
> Describe the CX power-domain dependency for SDM845 and SDM670 GCCs, and
The domain is already there thus first part "describe ..." is not
accurate. You changed nothing.
> require it for both compatibles.
>
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
> index a7523a414341..356af877353d 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
> @@ -31,7 +31,8 @@ properties:
> maxItems: 5
>
> power-domains:
> - maxItems: 1
> + items:
> + - description: CX power domain
>
> required:
> - compatible
> @@ -56,6 +57,8 @@ allOf:
> - const: bi_tcxo
> - const: bi_tcxo_ao
> - const: sleep_clk
> + required:
> + - power-domains
>
> - if:
> properties:
> @@ -78,6 +81,8 @@ allOf:
> - const: sleep_clk
> - const: pcie_0_pipe_clk
> - const: pcie_1_pipe_clk
> + required:
> + - power-domains
Why is this required per each "if" branch, but not in the top-level?
There are only two compatibles here.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 02/52] dt-bindings: clock: qcom: gcc-sm8150: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 02/52] dt-bindings: clock: qcom: gcc-sm8150: " Abel Vesa
@ 2026-09-17 8:25 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:25 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:01PM +0300, Abel Vesa wrote:
> Describe the CX power-domain dependency for SM8150 GCC and require it in
> the binding.
>
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 03/52] dt-bindings: clock: qcom: gcc-sm8250: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 03/52] dt-bindings: clock: qcom: gcc-sm8250: " Abel Vesa
@ 2026-09-17 8:26 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:26 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:02PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM8250 GCC are supplied by the RPMh CX power
> domain. Model that parent domain in the GCC binding so the provider can
> describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,gcc-sm8250.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 04/52] dt-bindings: clock: qcom: gcc-sm8350: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 04/52] dt-bindings: clock: qcom: gcc-sm8350: " Abel Vesa
@ 2026-09-17 8:29 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:29 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:03PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM8350 GCC are supplied by the RPMh CX power
> domain. Model that parent domain in the GCC binding so the provider can
> describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,gcc-sm8350.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 05/52] dt-bindings: clock: qcom: gcc-sm8450: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 05/52] dt-bindings: clock: qcom: gcc-sm8450: " Abel Vesa
@ 2026-09-17 8:30 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:30 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:04PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM8450 GCC are supplied by the RPMh CX power
> domain. Model that parent domain in the GCC binding so the provider can
> describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 06/52] dt-bindings: clock: qcom: qcs615-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 06/52] dt-bindings: clock: qcom: qcs615-gcc: " Abel Vesa
@ 2026-09-17 8:30 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:30 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:05PM +0300, Abel Vesa wrote:
> The GDSCs provided by the QCS615 GCC are supplied by the RPMh CX power
> domain. Model that parent domain in the GCC binding so the provider can
> describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,qcs615-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 07/52] dt-bindings: clock: qcom: sm8550-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 07/52] dt-bindings: clock: qcom: sm8550-gcc: " Abel Vesa
@ 2026-09-17 8:30 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:30 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:06PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM8550 GCC are supplied by the RPMh CX power
> domain. Model that parent domain in the GCC binding so the provider can
> describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 08/52] dt-bindings: clock: qcom: sm8650-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 08/52] dt-bindings: clock: qcom: sm8650-gcc: " Abel Vesa
@ 2026-09-17 8:31 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:31 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:07PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM8650 GCC are supplied by the RPMh CX power
> domain. Model that parent domain in the GCC binding so the provider can
> describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,sm8650-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 09/52] dt-bindings: clock: qcom: sm8750-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 09/52] dt-bindings: clock: qcom: sm8750-gcc: " Abel Vesa
@ 2026-09-17 8:31 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:31 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:08PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM8750 and Kaanapali GCCs are supplied by the
> RPMh CX power domain. Model that parent domain in the GCC binding so the
> provider can describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh may
> undervolt it.
>
> Fixes: 342d2a607450 ("dt-bindings: clock: qcom: Add Kaanapali Global clock controller")
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,sm8750-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 10/52] dt-bindings: clock: qcom: sm4450-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 10/52] dt-bindings: clock: qcom: sm4450-gcc: " Abel Vesa
@ 2026-09-17 8:31 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:31 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:09PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM4450 GCC are supplied by the RPMh CX
> power domain. Model that parent domain in the GCC binding so the
> provider can describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
> may undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,sm4450-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 11/52] dt-bindings: clock: qcom: gcc-sm6350: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 11/52] dt-bindings: clock: qcom: gcc-sm6350: " Abel Vesa
@ 2026-09-17 8:32 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:32 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:10PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SM6350 GCC are supplied by the RPMh CX
> power domain. Model that parent domain in the GCC binding so the
> provider can describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
> may undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,gcc-sm6350.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 12/52] dt-bindings: clock: qcom: qcs8300-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 12/52] dt-bindings: clock: qcom: qcs8300-gcc: " Abel Vesa
@ 2026-09-17 8:32 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:32 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:11PM +0300, Abel Vesa wrote:
> The GDSCs provided by the QCS8300 GCC are supplied by the RPMh CX
> power domain. Model that parent domain in the GCC binding so the
> provider can describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
> may undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,qcs8300-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
* Re: [PATCH v4 14/52] dt-bindings: clock: qcom: sdx75-gcc: Add CX power domain
2026-09-14 12:47 ` [PATCH v4 14/52] dt-bindings: clock: qcom: sdx75-gcc: " Abel Vesa
@ 2026-09-17 8:32 ` Krzysztof Kozlowski
0 siblings, 0 replies; 68+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-17 8:32 UTC (permalink / raw)
To: Abel Vesa
Cc: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Taniya Das, Vinod Koul, Jingyi Wang, Ajit Pandey, Konrad Dybcio,
Imran Shaik, Konrad Dybcio, Dmitry Baryshkov, Tengfei Fan,
linux-arm-msm, linux-clk, devicetree, linux-kernel
On Mon, Sep 14, 2026 at 03:47:13PM +0300, Abel Vesa wrote:
> The GDSCs provided by the SDX75 GCC are supplied by the RPMh CX
> power domain. Model that parent domain in the GCC binding so the
> provider can describe the dependency in devicetree.
>
> Add a single CX power-domain entry to the binding and make it required.
> Without this dependency, GCC GDSC consumers cannot vote for CX and RPMh
> may undervolt it.
>
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/clock/qcom,sdx75-gcc.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 68+ messages in thread
end of thread, other threads:[~2026-09-17 8:32 UTC | newest]
Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14 12:46 [PATCH v4 00/52] clk: qcom: Tie CX power domains to GCCs Abel Vesa
2026-09-14 12:47 ` [PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain Abel Vesa
2026-09-17 8:23 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 02/52] dt-bindings: clock: qcom: gcc-sm8150: " Abel Vesa
2026-09-17 8:25 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 03/52] dt-bindings: clock: qcom: gcc-sm8250: " Abel Vesa
2026-09-17 8:26 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 04/52] dt-bindings: clock: qcom: gcc-sm8350: " Abel Vesa
2026-09-17 8:29 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 05/52] dt-bindings: clock: qcom: gcc-sm8450: " Abel Vesa
2026-09-17 8:30 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 06/52] dt-bindings: clock: qcom: qcs615-gcc: " Abel Vesa
2026-09-17 8:30 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 07/52] dt-bindings: clock: qcom: sm8550-gcc: " Abel Vesa
2026-09-17 8:30 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 08/52] dt-bindings: clock: qcom: sm8650-gcc: " Abel Vesa
2026-09-17 8:31 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 09/52] dt-bindings: clock: qcom: sm8750-gcc: " Abel Vesa
2026-09-17 8:31 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 10/52] dt-bindings: clock: qcom: sm4450-gcc: " Abel Vesa
2026-09-17 8:31 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 11/52] dt-bindings: clock: qcom: gcc-sm6350: " Abel Vesa
2026-09-17 8:32 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 12/52] dt-bindings: clock: qcom: qcs8300-gcc: " Abel Vesa
2026-09-17 8:32 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 13/52] dt-bindings: clock: qcom: qdu1000-gcc: " Abel Vesa
2026-09-15 9:15 ` Taniya Das
2026-09-14 12:47 ` [PATCH v4 14/52] dt-bindings: clock: qcom: sdx75-gcc: " Abel Vesa
2026-09-17 8:32 ` Krzysztof Kozlowski
2026-09-14 12:47 ` [PATCH v4 15/52] clk: qcom: gcc-eliza: Tie the CX power domain to controller Abel Vesa
2026-09-14 12:47 ` [PATCH v4 16/52] clk: qcom: gcc-kaanapali: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 17/52] clk: qcom: gcc-qcs615: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 18/52] clk: qcom: gcc-qcs8300: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 19/52] clk: qcom: gcc-qdu1000: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 20/52] clk: qcom: gcc-sa8775p: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 21/52] clk: qcom: gcc-sar2130p: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 22/52] clk: qcom: gcc-sc7180: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 23/52] clk: qcom: gcc-sc7280: " Abel Vesa
2026-09-15 8:06 ` Taniya Das
2026-09-14 12:47 ` [PATCH v4 24/52] clk: qcom: gcc-sdm670: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 25/52] clk: qcom: gcc-sdm845: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 26/52] clk: qcom: gcc-sdx75: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 27/52] clk: qcom: gcc-sm4450: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 28/52] clk: qcom: gcc-sm6350: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 29/52] clk: qcom: gcc-sm8150: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 30/52] clk: qcom: gcc-sm8250: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 31/52] clk: qcom: gcc-sm8350: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 32/52] clk: qcom: gcc-sm8450: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 33/52] clk: qcom: gcc-sm8550: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 34/52] clk: qcom: gcc-sm8650: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 35/52] clk: qcom: gcc-sm8750: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 36/52] clk: qcom: gcc-x1e80100: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 37/52] arm64: dts: qcom: kaanapali: Add GCC CX power domain Abel Vesa
2026-09-14 12:47 ` [PATCH v4 38/52] arm64: dts: qcom: monaco: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 39/52] arm64: dts: qcom: qdu1000: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 40/52] arm64: dts: qcom: sar2130p: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 41/52] arm64: dts: qcom: sdm670: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 42/52] arm64: dts: qcom: sdx75: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 43/52] arm64: dts: qcom: sm4450: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 44/52] arm64: dts: qcom: sm6350: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 45/52] arm64: dts: qcom: sm8150: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 46/52] arm64: dts: qcom: sm8250: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 47/52] arm64: dts: qcom: sm8350: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 48/52] arm64: dts: qcom: sm8450: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 49/52] arm64: dts: qcom: sm8550: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 50/52] arm64: dts: qcom: sm8650: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 51/52] arm64: dts: qcom: sm8750: " Abel Vesa
2026-09-14 12:47 ` [PATCH v4 52/52] arm64: dts: qcom: talos: " Abel Vesa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®