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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: split qcom,gcc-sdm660 to the separate file

Move schema for the GCC on SDM630/SDM636/SDM660 to a separate file to be
able to define device-specific clock properties.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220929091216.471136-1-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
7da54ced 9abf2313

+61 -3
-3
Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
··· 24 24 - dt-bindings/clock/qcom,gcc-mdm9607.h 25 25 - dt-bindings/clock/qcom,gcc-mdm9615.h 26 26 - dt-bindings/reset/qcom,gcc-mdm9615.h 27 - - dt-bindings/clock/qcom,gcc-sdm660.h (qcom,gcc-sdm630 and qcom,gcc-sdm660) 28 27 29 28 allOf: 30 29 - $ref: "qcom,gcc.yaml#" ··· 40 41 - qcom,gcc-msm8974pro 41 42 - qcom,gcc-msm8974pro-ac 42 43 - qcom,gcc-mdm9615 43 - - qcom,gcc-sdm630 44 - - qcom,gcc-sdm660 45 44 46 45 required: 47 46 - compatible
+61
Documentation/devicetree/bindings/clock/qcom,gcc-sdm660.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,gcc-sdm660.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller 8 + 9 + maintainers: 10 + - Stephen Boyd <sboyd@kernel.org> 11 + - Taniya Das <quic_tdas@quicinc.com> 12 + 13 + description: | 14 + Qualcomm global clock control module which supports the clocks, resets and 15 + power domains on SDM630, SDM636 and SDM660 16 + 17 + See also: 18 + - dt-bindings/clock/qcom,gcc-sdm660.h (qcom,gcc-sdm630 and qcom,gcc-sdm660) 19 + 20 + $ref: qcom,gcc.yaml# 21 + 22 + properties: 23 + compatible: 24 + enum: 25 + - qcom,gcc-sdm630 26 + - qcom,gcc-sdm660 27 + 28 + clocks: 29 + items: 30 + - description: XO source 31 + - description: Sleep clock source 32 + 33 + clock-names: 34 + items: 35 + - const: xo 36 + - const: sleep_clk 37 + 38 + power-domains: 39 + maxItems: 1 40 + 41 + required: 42 + - compatible 43 + 44 + unevaluatedProperties: false 45 + 46 + examples: 47 + # Example for GCC for SDM660: 48 + - | 49 + #include <dt-bindings/clock/qcom,rpmh.h> 50 + clock-controller@100000 { 51 + compatible = "qcom,gcc-sdm660"; 52 + reg = <0x00100000 0x94000>; 53 + #clock-cells = <1>; 54 + #reset-cells = <1>; 55 + #power-domain-cells = <1>; 56 + 57 + clock-names = "xo", "sleep_clk"; 58 + clocks = <&xo_board>, 59 + <&sleep_clk>; 60 + }; 61 + ...