Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: separate SDM845 GCC clock bindings

Separate qcom,gcc-sdm845 clock bindings from the clock-less
qcom,gcc.yaml, so that we can add required clocks and clock-names
properties.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20210409183004.1617777-2-dmitry.baryshkov@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Dmitry Baryshkov and committed by
Stephen Boyd
ca22cac2 d0a859ed

+82 -2
+82
Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,gcc-sdm845.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Global Clock & Reset Controller Binding 8 + 9 + maintainers: 10 + - Stephen Boyd <sboyd@kernel.org> 11 + - Taniya Das <tdas@codeaurora.org> 12 + 13 + description: | 14 + Qualcomm global clock control module which supports the clocks, resets and 15 + power domains on SDM845 16 + 17 + See also: 18 + - dt-bindings/clock/qcom,gcc-sdm845.h 19 + 20 + properties: 21 + compatible: 22 + const: qcom,gcc-sdm845 23 + 24 + clocks: 25 + items: 26 + - description: Board XO source 27 + - description: Board active XO source 28 + - description: Sleep clock source 29 + - description: PCIE 0 Pipe clock source 30 + - description: PCIE 1 Pipe clock source 31 + 32 + clock-names: 33 + items: 34 + - const: bi_tcxo 35 + - const: bi_tcxo_ao 36 + - const: sleep_clk 37 + - const: pcie_0_pipe_clk 38 + - const: pcie_1_pipe_clk 39 + 40 + '#clock-cells': 41 + const: 1 42 + 43 + '#reset-cells': 44 + const: 1 45 + 46 + '#power-domain-cells': 47 + const: 1 48 + 49 + reg: 50 + maxItems: 1 51 + 52 + protected-clocks: 53 + description: 54 + Protected clock specifier list as per common clock binding. 55 + 56 + required: 57 + - compatible 58 + - reg 59 + - '#clock-cells' 60 + - '#reset-cells' 61 + - '#power-domain-cells' 62 + 63 + additionalProperties: false 64 + 65 + examples: 66 + # Example for GCC for SDM845: 67 + - | 68 + #include <dt-bindings/clock/qcom,rpmh.h> 69 + clock-controller@100000 { 70 + compatible = "qcom,gcc-sdm845"; 71 + reg = <0x100000 0x1f0000>; 72 + clocks = <&rpmhcc RPMH_CXO_CLK>, 73 + <&rpmhcc RPMH_CXO_CLK_A>, 74 + <&sleep_clk>, 75 + <&pcie0_lane>, 76 + <&pcie1_lane>; 77 + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "pcie_0_pipe_clk", "pcie_1_pipe_clk"; 78 + #clock-cells = <1>; 79 + #reset-cells = <1>; 80 + #power-domain-cells = <1>; 81 + }; 82 + ...
-2
Documentation/devicetree/bindings/clock/qcom,gcc.yaml
··· 32 32 - dt-bindings/clock/qcom,gcc-mdm9615.h 33 33 - dt-bindings/reset/qcom,gcc-mdm9615.h 34 34 - dt-bindings/clock/qcom,gcc-sdm660.h (qcom,gcc-sdm630 and qcom,gcc-sdm660) 35 - - dt-bindings/clock/qcom,gcc-sdm845.h 36 35 37 36 properties: 38 37 compatible: ··· 51 52 - qcom,gcc-mdm9615 52 53 - qcom,gcc-sdm630 53 54 - qcom,gcc-sdm660 54 - - qcom,gcc-sdm845 55 55 56 56 '#clock-cells': 57 57 const: 1