2023-01-02 09:21:50

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] dt-bindings: clock: qcom,gcc-sc8280xp: document power domain

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 <[email protected]>
---
.../devicetree/bindings/clock/qcom,gcc-sc8280xp.yaml | 7 +++++++
1 file changed, 7 insertions(+)

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>;
--
2.34.1


2023-01-03 03:29:20

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: clock: qcom,gcc-sc8280xp: document power domain

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,
--
Bjorn Andersson <[email protected]>