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-msm8953: split to separate schema

The Qualcomm MSM8953 GCC clock controller has clock inputs, thus
existing gcc-other.yaml was not describing it fully. Move the binding
to its own schema file and document the clocks based on DTS. Add driver
contributors as its maintainers.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230408143729.84097-1-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
2f9b2096 7bf654a0

+73 -1
+73
Documentation/devicetree/bindings/clock/qcom,gcc-msm8953.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-msm8953.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Global Clock & Reset Controller on MSM8953 8 + 9 + maintainers: 10 + - Adam Skladowski <a_skl39@protonmail.com> 11 + - Sireesh Kodali <sireeshkodali@protonmail.com> 12 + 13 + description: | 14 + Qualcomm global clock control module provides the clocks, resets and power 15 + domains on MSM8953. 16 + 17 + See also: include/dt-bindings/clock/qcom,gcc-msm8953.h 18 + 19 + properties: 20 + compatible: 21 + const: qcom,gcc-msm8953 22 + 23 + clocks: 24 + items: 25 + - description: Board XO source 26 + - description: Sleep clock source 27 + - description: Byte clock from DSI PHY0 28 + - description: Pixel clock from DSI PHY0 29 + - description: Byte clock from DSI PHY1 30 + - description: Pixel clock from DSI PHY1 31 + 32 + clock-names: 33 + items: 34 + - const: xo 35 + - const: sleep 36 + - const: dsi0pll 37 + - const: dsi0pllbyte 38 + - const: dsi1pll 39 + - const: dsi1pllbyte 40 + 41 + required: 42 + - compatible 43 + - clocks 44 + - clock-names 45 + 46 + allOf: 47 + - $ref: qcom,gcc.yaml# 48 + 49 + unevaluatedProperties: false 50 + 51 + examples: 52 + - | 53 + #include <dt-bindings/clock/qcom,rpmcc.h> 54 + 55 + clock-controller@1800000 { 56 + compatible = "qcom,gcc-msm8953"; 57 + reg = <0x01800000 0x80000>; 58 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 59 + <&sleep_clk>, 60 + <&dsi0_phy 1>, 61 + <&dsi0_phy 0>, 62 + <&dsi1_phy 1>, 63 + <&dsi1_phy 0>; 64 + clock-names = "xo", 65 + "sleep", 66 + "dsi0pll", 67 + "dsi0pllbyte", 68 + "dsi1pll", 69 + "dsi1pllbyte"; 70 + #clock-cells = <1>; 71 + #reset-cells = <1>; 72 + #power-domain-cells = <1>; 73 + };
-1
Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
··· 30 30 enum: 31 31 - qcom,gcc-ipq6018 32 32 - qcom,gcc-mdm9607 33 - - qcom,gcc-msm8953 34 33 - qcom,gcc-mdm9615 35 34 36 35 required: