]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/clock/qcom,sm6115-dispcc.yaml
Import device-tree files from Linux 6.2
[FreeBSD/FreeBSD.git] / Bindings / clock / qcom,sm6115-dispcc.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,sm6115-dispcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Display Clock Controller for SM6115
8
9 maintainers:
10   - Bjorn Andersson <andersson@kernel.org>
11
12 description: |
13   Qualcomm display clock control module provides the clocks and power domains
14   on SM6115.
15
16   See also:: include/dt-bindings/clock/qcom,sm6115-dispcc.h
17
18 properties:
19   compatible:
20     enum:
21       - qcom,sm6115-dispcc
22
23   clocks:
24     items:
25       - description: Board XO source
26       - description: Board sleep clock
27       - description: Byte clock from DSI PHY0
28       - description: Pixel clock from DSI PHY0
29       - description: GPLL0 DISP DIV clock from GCC
30
31   '#clock-cells':
32     const: 1
33
34   '#reset-cells':
35     const: 1
36
37   '#power-domain-cells':
38     const: 1
39
40   reg:
41     maxItems: 1
42
43 required:
44   - compatible
45   - reg
46   - clocks
47   - '#clock-cells'
48   - '#reset-cells'
49   - '#power-domain-cells'
50
51 additionalProperties: false
52
53 examples:
54   - |
55     #include <dt-bindings/clock/qcom,rpmcc.h>
56     #include <dt-bindings/clock/qcom,gcc-sm6115.h>
57     clock-controller@5f00000 {
58       compatible = "qcom,sm6115-dispcc";
59       reg = <0x5f00000 0x20000>;
60       clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
61                <&sleep_clk>,
62                <&dsi0_phy 0>,
63                <&dsi0_phy 1>,
64                <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>;
65       #clock-cells = <1>;
66       #reset-cells = <1>;
67       #power-domain-cells = <1>;
68     };
69 ...