[PATCH v4 01/52] dt-bindings: clock: qcom: gcc-sdm845: Add CX power domain
From: Abel Vesa
Date: Mon Sep 14 2026 - 09:56:01 EST
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@xxxxxxxxxxxxxxxx>
---
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