diff mbox series

dt-bindings: clock: qcom,gcc-sc8280xp: document power domain

Message ID 20230102085909.24620-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series dt-bindings: clock: qcom,gcc-sc8280xp: document power domain | expand

Commit Message

Krzysztof Kozlowski Jan. 2, 2023, 8:59 a.m. UTC
GCC clock controller is supplied by CX power domain:

  sc8280xp-crd.dtb: clock-controller@100000: Unevaluated properties are not allowed ('power-domains' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml       | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Bjorn Andersson Jan. 3, 2023, 3:15 a.m. UTC | #1
On Mon, 2 Jan 2023 09:59:09 +0100, Krzysztof Kozlowski wrote:
> GCC clock controller is supplied by CX power domain:
> 
>   sc8280xp-crd.dtb: clock-controller@100000: Unevaluated properties are not allowed ('power-domains' was unexpected)
> 
> 

Applied, thanks!

[1/1] dt-bindings: clock: qcom,gcc-sc8280xp: document power domain
      commit: cae04c4425e374ed10dc8a8c1f3bd369934945d7

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
index c9d8e436d73a..5681e535fede 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml
@@ -55,6 +55,10 @@  properties:
       - description: First EMAC controller reference clock
       - description: Second EMAC controller reference clock
 
+  power-domains:
+    items:
+      - description: CX domain
+
   protected-clocks:
     maxItems: 389
 
@@ -70,6 +74,8 @@  unevaluatedProperties: false
 examples:
   - |
     #include <dt-bindings/clock/qcom,rpmh.h>
+    #include <dt-bindings/power/qcom-rpmpd.h>
+
     clock-controller@100000 {
       compatible = "qcom,gcc-sc8280xp";
       reg = <0x00100000 0x1f0000>;
@@ -106,6 +112,7 @@  examples:
                <&pcie4_lane>,
                <&rxc0_ref_clk>,
                <&rxc1_ref_clk>;
+      power-domains = <&rpmhpd SC8280XP_CX>;
 
       #clock-cells = <1>;
       #reset-cells = <1>;