xref: /linux/Documentation/devicetree/bindings/clock/qcom,sc7180-dispcc.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sc7180-dispcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Display Clock & Reset Controller on SC7180
8
9maintainers:
10  - Taniya Das <quic_tdas@quicinc.com>
11
12description: |
13  Qualcomm display clock control module provides the clocks, resets and power
14  domains on SC7180.
15
16  See also:: include/dt-bindings/clock/qcom,dispcc-sc7180.h
17
18properties:
19  compatible:
20    const: qcom,sc7180-dispcc
21
22  clocks:
23    items:
24      - description: Board XO source
25      - description: GPLL0 source from GCC
26      - description: Byte clock from DSI PHY
27      - description: Pixel clock from DSI PHY
28      - description: Link clock from DP PHY
29      - description: VCO DIV clock from DP PHY
30
31  clock-names:
32    items:
33      - const: bi_tcxo
34      - const: gcc_disp_gpll0_clk_src
35      - const: dsi0_phy_pll_out_byteclk
36      - const: dsi0_phy_pll_out_dsiclk
37      - const: dp_phy_pll_link_clk
38      - const: dp_phy_pll_vco_div_clk
39
40required:
41  - compatible
42  - clocks
43  - clock-names
44  - '#power-domain-cells'
45
46allOf:
47  - $ref: qcom,gcc.yaml#
48
49unevaluatedProperties: false
50
51examples:
52  - |
53    #include <dt-bindings/clock/qcom,gcc-sc7180.h>
54    #include <dt-bindings/clock/qcom,rpmh.h>
55    clock-controller@af00000 {
56      compatible = "qcom,sc7180-dispcc";
57      reg = <0x0af00000 0x200000>;
58      clocks = <&rpmhcc RPMH_CXO_CLK>,
59               <&gcc GCC_DISP_GPLL0_CLK_SRC>,
60               <&dsi_phy 0>,
61               <&dsi_phy 1>,
62               <&dp_phy 0>,
63               <&dp_phy 1>;
64      clock-names = "bi_tcxo",
65                    "gcc_disp_gpll0_clk_src",
66                    "dsi0_phy_pll_out_byteclk",
67                    "dsi0_phy_pll_out_dsiclk",
68                    "dp_phy_pll_link_clk",
69                    "dp_phy_pll_vco_div_clk";
70      #clock-cells = <1>;
71      #reset-cells = <1>;
72      #power-domain-cells = <1>;
73    };
74...
75