dt-bindings: clocks: Add clock controller bindings for SM8150

Add clock controller bindings to support SM8150.

Change-Id: I78b757d5f0bedea75f95c7686ff90d7523e6e685
This commit is contained in:
Veera Vegivada 2020-04-02 19:45:33 +05:30
commit 29c1abcc48
8 changed files with 76 additions and 5 deletions

View file

@ -7,6 +7,11 @@ Required properties :
"qcom,lahaina-camcc"
"qcom,lahaina-camcc-v2"
"qcom,shima-camcc"
"qcom,sm8150-camcc"
"qcom,sm8150-camcc-v2"
"qcom,sa8155-camcc"
"qcom,sa8155-camcc-v2"
- reg : shall contain base register location and length.
- reg-names: names of registers listed in the same order as in
the reg property.

View file

@ -8,6 +8,7 @@ Required properties :
"qcom,shima-debugcc"
"qcom,holi-debugcc"
"qcom,sdxlemur-debugcc"
"qcom,sm8150-debugcc"
- qcom,gcc: phandle to the GCC device node.
- qcom,videocc: phandle to the Video CC device node.

View file

@ -9,6 +9,8 @@ Required properties :
"qcom,lahaina-dispcc"
"qcom,shima-dispcc"
"qcom,holi-dispcc"
"qcom,sm8150-dispcc"
"qcom,sm8150-dispcc-v2"
- reg : shall contain base register location and length.
- #clock-cells : from common clock binding, shall contain 1.

View file

@ -24,10 +24,10 @@ Required properties :
"qcom,gcc-sdm660"
"qcom,gcc-sdm845"
"qcom,lahaina-gcc"
"qcom,gcc-sm8150"
"qcom,gcc-sm8150-v2"
"qcom,gcc-sa8155"
"qcom,gcc-sa8155-v2"
"qcom,sm8150-gcc"
"qcom,sm8150-gcc-v2"
"qcom,sa8155-gcc"
"qcom,sa8155-gcc-v2"
"qcom,shima-gcc"
"qcom,holi-gcc"
"qcom,sdxlemur-gcc"

View file

@ -5,7 +5,10 @@ Required properties :
- compatible : shall contain "qcom,sdm845-gpucc" or "qcom,msm8998-gpucc",
"qcom,lahaina-gpucc",
"qcom,shima-gpucc",
"qcom,holi-gpucc".
"qcom,holi-gpucc",
"qcom,sm8150-gpucc",
"qcom,sa8155-gpucc".
- reg: shall contain base register offset and size.
- reg-names: names of registers listed in the same order as in the reg property.
Must contain "cc_base".

View file

@ -0,0 +1,33 @@
Qualcomm Technologies, Inc. NPU Clock & Reset Controller Binding
----------------------------------------------------------------
Required properties :
- compatible : shall contain only one of the following:
"qcom,sm8150-npucc"
"qcom,sm8150-npucc-v2"
"qcom,sa8155-npucc"
"qcom,sa8155-npucc-v2"
- reg : shall contain base register location and length.
- reg-names: names of registers listed in the same order as in
the reg property.
- vdd_cx-supply: phandle to the CX rail that needs to be voted
on behalf of the NPU CC clocks.
- vdd_gdsc-supply: phandle to the NPU core GDSC that needs to be
toggled as part of the CRC sequence.
- #clock-cells : shall contain 1.
- #reset-cells : shall contain 1.
Optional properties :
- #power-domain-cells : from generic power domain binding, shall contain 1
Example:
npucc: qcom,npucc {
compatible = "qcom,npucc-sm8150";
reg = <0x9910000 0x10000>;
reg-names = "cc_base";
vdd_cx-supply = <&pm8150l_s6_level>;
vdd_gdsc-supply = <&npu_core_gdsc>;
#clock-cells = <1>;
#reset-cells = <1>;
};

View file

@ -0,0 +1,23 @@
Qualcomm Technologies, Inc. Sensor Clock Controller Bindings
Required properties:
- compatible : shall contain only one of the following:
"qcom,sm8150-scc"
"qcom,sm8150-scc-v2"
"qcom,sa8155-scc"
"qcom,sa8155-scc-v2"
- reg: shall contain base register location and length.
- vdd_scc_cx-supply: the logic rail supply.
- #clock-cells: shall contain 1.
Optional properties :
- #power-domain-cells : from generic power domain binding, shall contain 1
Example:
qcom,scc@2b10000 {
compatible = "qcom,scc-sm8150";
reg = <0x2b10000 0x30000>;
vdd_scc_cx-supply = <&VDD_CX_LEVEL>;
#clock-cells = <1>;
};

View file

@ -7,6 +7,10 @@ Required properties :
"qcom,sdm845-videocc"
"qcom,lahaina-videocc"
"qcom,shima-videocc"
"qcom,sm8150-videocc"
"qcom,sm8150-videocc-v2"
"qcom,sa8155-videocc"
"qcom,sa8155-videocc-v2"
- reg : shall contain base register location and length
- #clock-cells : from common clock binding, shall contain 1.