summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-01-30 15:51:54 +0100
committerBjorn Andersson <andersson@kernel.org>2023-02-08 16:13:16 -0800
commit1519c0a9ab90a239c52d8a6d3e7ef78537868496 (patch)
treed8a74941f44c706c21c54e0f5d804a526316ec08
parent5930196eec0d5dc454db6418d82dcfb094c93373 (diff)
downloadlwn-1519c0a9ab90a239c52d8a6d3e7ef78537868496.tar.gz
lwn-1519c0a9ab90a239c52d8a6d3e7ef78537868496.zip
dt-bindings: clock: qcom,sa8775p-gcc: add the power-domains property
The binding document is missing the power-domains property. Add it and update the example. Fixes: 0fff9fa043f9 ("dt-bindings: clock: Add Qualcomm SA8775P GCC") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230130145154.195562-1-brgl@bgdev.pl
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml
index dae65ebc5557..0f641c235b13 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sa8775p-gcc.yaml
@@ -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>;