summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2019-10-14 15:53:07 +0530
committerStephen Boyd <sboyd@kernel.org>2019-11-07 13:15:35 -0800
commit8b9e0562f330ac20f0e77c0feb38cc7953274d7f (patch)
treec00176f62ab3bc6eb727c2c9eecbae818b1e6f19 /Documentation
parent9de7269e9703f32f742d8c88211320baaece58bc (diff)
downloadlinux-stable-8b9e0562f330ac20f0e77c0feb38cc7953274d7f.tar.gz
linux-stable-8b9e0562f330ac20f0e77c0feb38cc7953274d7f.tar.bz2
linux-stable-8b9e0562f330ac20f0e77c0feb38cc7953274d7f.zip
dt-bindings: clock: Add sc7180 GCC clock binding
Add device tree bindings for global clock subsystem clock controller for Qualcomm Technology Inc's SC7180 SoCs. Signed-off-by: Taniya Das <tdas@codeaurora.org> Link: https://lkml.kernel.org/r/20191014102308.27441-5-tdas@codeaurora.org Reviewed-by: Rob Herring <robh@kernel.org> [sboyd@kernel.org: Reword subject to make sc7180 specific, sort compatible] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,gcc.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml
index b3ef1e24e91a..e73a56fb60ca 100644
--- a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml
@@ -33,6 +33,7 @@ properties:
- qcom,gcc-msm8998
- qcom,gcc-mdm9615
- qcom,gcc-qcs404
+ - qcom,gcc-sc7180
- qcom,gcc-sdm630
- qcom,gcc-sdm660
- qcom,gcc-sdm845
@@ -118,6 +119,7 @@ else:
contains:
enum:
- qcom,gcc-sm8150
+ - qcom,gcc-sc7180
then:
required:
- clocks
@@ -171,4 +173,16 @@ examples:
#reset-cells = <1>;
#power-domain-cells = <1>;
};
+
+ # Example of GCC with clock nodes properties for SC7180:
+ - |
+ clock-controller@100000 {
+ compatible = "qcom,gcc-sc7180";
+ reg = <0x100000 0x1f0000>;
+ clocks = <&rpmhcc 0>, <&rpmhcc 1>;
+ clock-names = "bi_tcxo", "bi_tcxo_ao";
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ #power-domain-cells = <1>;
+ };
...