xref: /linux/Documentation/devicetree/bindings/clock/qcom,sm8450-dispcc.yaml (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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,sm8450-dispcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Display Clock & Reset Controller for SM8450
8
9maintainers:
10  - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
11
12description: |
13  Qualcomm display clock control module provides the clocks, resets and power
14  domains on SM8450.
15
16  See also:: include/dt-bindings/clock/qcom,sm8450-dispcc.h
17
18properties:
19  compatible:
20    enum:
21      - qcom,sm8450-dispcc
22
23  clocks:
24    minItems: 3
25    items:
26      - description: Board XO source
27      - description: Board Always On XO source
28      - description: Display's AHB clock
29      - description: sleep clock
30      - description: Byte clock from DSI PHY0
31      - description: Pixel clock from DSI PHY0
32      - description: Byte clock from DSI PHY1
33      - description: Pixel clock from DSI PHY1
34      - description: Link clock from DP PHY0
35      - description: VCO DIV clock from DP PHY0
36      - description: Link clock from DP PHY1
37      - description: VCO DIV clock from DP PHY1
38      - description: Link clock from DP PHY2
39      - description: VCO DIV clock from DP PHY2
40      - description: Link clock from DP PHY3
41      - description: VCO DIV clock from DP PHY3
42
43  '#clock-cells':
44    const: 1
45
46  '#reset-cells':
47    const: 1
48
49  '#power-domain-cells':
50    const: 1
51
52  reg:
53    maxItems: 1
54
55  power-domains:
56    description:
57      A phandle and PM domain specifier for the MMCX power domain.
58    maxItems: 1
59
60  required-opps:
61    description:
62      A phandle to an OPP node describing required MMCX performance point.
63    maxItems: 1
64
65required:
66  - compatible
67  - reg
68  - clocks
69  - '#clock-cells'
70  - '#reset-cells'
71  - '#power-domain-cells'
72
73additionalProperties: false
74
75examples:
76  - |
77    #include <dt-bindings/clock/qcom,gcc-sm8450.h>
78    #include <dt-bindings/clock/qcom,rpmh.h>
79    #include <dt-bindings/power/qcom,rpmhpd.h>
80    clock-controller@af00000 {
81      compatible = "qcom,sm8450-dispcc";
82      reg = <0x0af00000 0x10000>;
83      clocks = <&rpmhcc RPMH_CXO_CLK>,
84               <&rpmhcc RPMH_CXO_CLK_A>,
85               <&gcc GCC_DISP_AHB_CLK>,
86               <&sleep_clk>,
87               <&dsi0_phy 0>,
88               <&dsi0_phy 1>,
89               <&dsi1_phy 0>,
90               <&dsi1_phy 1>;
91      #clock-cells = <1>;
92      #reset-cells = <1>;
93      #power-domain-cells = <1>;
94      power-domains = <&rpmhpd RPMHPD_MMCX>;
95      required-opps = <&rpmhpd_opp_low_svs>;
96    };
97...
98