Skip to contentSkip to conversation

dt-bindings: clock: qcom,sa8775p-gcc: add the power-domains property

PATCH Applied Bartosz Golaszewski 3 participants 3 messages Jan 30, 2023 – Feb 9, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: clock: qcom,sa8775p-gcc: add the power-domains property

From: Bartosz Golaszewski <[email protected]>

The binding document is missing the power-domains property. Add it and update the example.

Fixes 0fff9fa043f9 ("dt-bindings: clock: Add Qualcomm SA8775P GCC")
---
 .../devicetree/bindings/clock/qcom,sa8775p-gcc.yaml          | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml +5 -0
index dae65ebc5557..0f641c235b13 100644
@@ -40,6 +40,9 @@ properties:
   protected-clocks:
     maxItems: 240
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - clocks
@@ -52,6 +55,7 @@ unevaluatedProperties: false
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmh.h>
+    #include <dt-bindings/power/qcom-rpmpd.h>
 
     gcc: clock-controller@100000 {
         compatible = "qcom,sa8775p-gcc";
@@ -71,6 +75,7 @@ examples:
                  <&pcie_phy_pipe_clk>,
                  <&rxc0_ref_clk>,
                  <&rxc1_ref_clk>;
+        power-domains = <&rpmhpd SA8775P_CX>;
 
         #clock-cells = <1>;
         #reset-cells = <1>;
Signature · 1 line
2.37.2
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

The binding document is missing the power-domains property. Add it and update the example.

Fixes 0fff9fa043f9 ("dt-bindings: clock: Add Qualcomm SA8775P GCC")
---
 .../devicetree/bindings/clock/qcom,sa8775p-gcc.yaml          | 5 +++++
 1 file changed, 5 insertions(+)
maintainer Applied
#2 lore raw
In reply to Bartosz Golaszewski
Quoted 6 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

The binding document is missing the power-domains property. Add it and update the example.

Applied, thanks!

[1/1] dt-bindings: clock: qcom,sa8775p-gcc: add the power-domains property

      commit: 1519c0a9ab90a239c52d8a6d3e7ef78537868496

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>