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: qcom,gcc-ipq6018: split to separate schema

The Qualcomm IPQ6018 GCC clock controller has clock inputs, thus existing
gcc-other.yaml was not describing it fully so move it to a separate schema.

Fully document the allowed and required XO and sleep clock inputs, as well
as update the provided example.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231026101931.695497-1-robimarko@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Robert Marko and committed by
Bjorn Andersson
cec1f2ff 50492f92

+57 -3
+57
Documentation/devicetree/bindings/clock/qcom,gcc-ipq6018.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-ipq6018.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Global Clock & Reset Controller on IPQ6018 8 + 9 + maintainers: 10 + - Stephen Boyd <sboyd@kernel.org> 11 + - Taniya Das <quic_tdas@quicinc.com> 12 + - Robert Marko <robimarko@gmail.com> 13 + 14 + description: | 15 + Qualcomm global clock control module provides the clocks, resets and power 16 + domains on IPQ6018. 17 + 18 + See also:: 19 + include/dt-bindings/clock/qcom,gcc-ipq6018.h 20 + include/dt-bindings/reset/qcom,gcc-ipq6018.h 21 + 22 + allOf: 23 + - $ref: qcom,gcc.yaml# 24 + 25 + properties: 26 + compatible: 27 + const: qcom,gcc-ipq6018 28 + 29 + clocks: 30 + items: 31 + - description: board XO clock 32 + - description: sleep clock 33 + 34 + clock-names: 35 + items: 36 + - const: xo 37 + - const: sleep_clk 38 + 39 + required: 40 + - compatible 41 + - clocks 42 + - clock-names 43 + 44 + unevaluatedProperties: false 45 + 46 + examples: 47 + - | 48 + clock-controller@1800000 { 49 + compatible = "qcom,gcc-ipq6018"; 50 + reg = <0x01800000 0x80000>; 51 + clocks = <&xo>, <&sleep_clk>; 52 + clock-names = "xo", "sleep_clk"; 53 + #clock-cells = <1>; 54 + #power-domain-cells = <1>; 55 + #reset-cells = <1>; 56 + }; 57 + ...
-3
Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
··· 15 15 domains. 16 16 17 17 See also:: 18 - include/dt-bindings/clock/qcom,gcc-ipq6018.h 19 - include/dt-bindings/reset/qcom,gcc-ipq6018.h 20 18 include/dt-bindings/clock/qcom,gcc-msm8953.h 21 19 include/dt-bindings/clock/qcom,gcc-mdm9607.h 22 20 ··· 24 26 properties: 25 27 compatible: 26 28 enum: 27 - - qcom,gcc-ipq6018 28 29 - qcom,gcc-mdm9607 29 30 30 31 required: