1*73d9c10aSBjorn Andersson# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*73d9c10aSBjorn Andersson%YAML 1.2
3*73d9c10aSBjorn Andersson---
4*73d9c10aSBjorn Andersson$id: http://devicetree.org/schemas/clock/qcom,dispcc-sc8280xp.yaml#
5*73d9c10aSBjorn Andersson$schema: http://devicetree.org/meta-schemas/core.yaml#
6*73d9c10aSBjorn Andersson
7*73d9c10aSBjorn Anderssontitle: Qualcomm Display Clock & Reset Controller Binding for SC8280XP
8*73d9c10aSBjorn Andersson
9*73d9c10aSBjorn Anderssonmaintainers:
10*73d9c10aSBjorn Andersson  - Bjorn Andersson <bjorn.andersson@linaro.org>
11*73d9c10aSBjorn Andersson
12*73d9c10aSBjorn Anderssondescription: |
13*73d9c10aSBjorn Andersson  Qualcomm display clock control module which supports the clocks, resets and
14*73d9c10aSBjorn Andersson  power domains for the two MDSS instances on SC8280XP.
15*73d9c10aSBjorn Andersson
16*73d9c10aSBjorn Andersson  See also:
17*73d9c10aSBjorn Andersson    include/dt-bindings/clock/qcom,dispcc-sc8280xp.h
18*73d9c10aSBjorn Andersson
19*73d9c10aSBjorn Anderssonproperties:
20*73d9c10aSBjorn Andersson  compatible:
21*73d9c10aSBjorn Andersson    enum:
22*73d9c10aSBjorn Andersson      - qcom,sc8280xp-dispcc0
23*73d9c10aSBjorn Andersson      - qcom,sc8280xp-dispcc1
24*73d9c10aSBjorn Andersson
25*73d9c10aSBjorn Andersson  clocks:
26*73d9c10aSBjorn Andersson    items:
27*73d9c10aSBjorn Andersson      - description: AHB interface clock,
28*73d9c10aSBjorn Andersson      - description: SoC CXO clock
29*73d9c10aSBjorn Andersson      - description: SoC sleep clock
30*73d9c10aSBjorn Andersson      - description: DisplayPort 0 link clock
31*73d9c10aSBjorn Andersson      - description: DisplayPort 0 VCO div clock
32*73d9c10aSBjorn Andersson      - description: DisplayPort 1 link clock
33*73d9c10aSBjorn Andersson      - description: DisplayPort 1 VCO div clock
34*73d9c10aSBjorn Andersson      - description: DisplayPort 2 link clock
35*73d9c10aSBjorn Andersson      - description: DisplayPort 2 VCO div clock
36*73d9c10aSBjorn Andersson      - description: DisplayPort 3 link clock
37*73d9c10aSBjorn Andersson      - description: DisplayPort 3 VCO div clock
38*73d9c10aSBjorn Andersson      - description: DSI 0 PLL byte clock
39*73d9c10aSBjorn Andersson      - description: DSI 0 PLL DSI clock
40*73d9c10aSBjorn Andersson      - description: DSI 1 PLL byte clock
41*73d9c10aSBjorn Andersson      - description: DSI 1 PLL DSI clock
42*73d9c10aSBjorn Andersson
43*73d9c10aSBjorn Andersson  '#clock-cells':
44*73d9c10aSBjorn Andersson    const: 1
45*73d9c10aSBjorn Andersson
46*73d9c10aSBjorn Andersson  '#reset-cells':
47*73d9c10aSBjorn Andersson    const: 1
48*73d9c10aSBjorn Andersson
49*73d9c10aSBjorn Andersson  '#power-domain-cells':
50*73d9c10aSBjorn Andersson    const: 1
51*73d9c10aSBjorn Andersson
52*73d9c10aSBjorn Andersson  reg:
53*73d9c10aSBjorn Andersson    maxItems: 1
54*73d9c10aSBjorn Andersson
55*73d9c10aSBjorn Andersson  power-domains:
56*73d9c10aSBjorn Andersson    items:
57*73d9c10aSBjorn Andersson      - description: MMCX power domain
58*73d9c10aSBjorn Andersson
59*73d9c10aSBjorn Anderssonrequired:
60*73d9c10aSBjorn Andersson  - compatible
61*73d9c10aSBjorn Andersson  - reg
62*73d9c10aSBjorn Andersson  - clocks
63*73d9c10aSBjorn Andersson  - '#clock-cells'
64*73d9c10aSBjorn Andersson  - '#reset-cells'
65*73d9c10aSBjorn Andersson  - '#power-domain-cells'
66*73d9c10aSBjorn Andersson
67*73d9c10aSBjorn AnderssonadditionalProperties: false
68*73d9c10aSBjorn Andersson
69*73d9c10aSBjorn Anderssonexamples:
70*73d9c10aSBjorn Andersson  - |
71*73d9c10aSBjorn Andersson    #include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
72*73d9c10aSBjorn Andersson    #include <dt-bindings/clock/qcom,rpmh.h>
73*73d9c10aSBjorn Andersson    #include <dt-bindings/power/qcom-rpmpd.h>
74*73d9c10aSBjorn Andersson    clock-controller@af00000 {
75*73d9c10aSBjorn Andersson      compatible = "qcom,sc8280xp-dispcc0";
76*73d9c10aSBjorn Andersson      reg = <0x0af00000 0x20000>;
77*73d9c10aSBjorn Andersson      clocks = <&gcc GCC_DISP_AHB_CLK>,
78*73d9c10aSBjorn Andersson               <&rpmhcc RPMH_CXO_CLK>,
79*73d9c10aSBjorn Andersson               <&sleep_clk>,
80*73d9c10aSBjorn Andersson               <&mdss0_dp_phy0 0>,
81*73d9c10aSBjorn Andersson               <&mdss0_dp_phy0 1>,
82*73d9c10aSBjorn Andersson               <&mdss0_dp_phy1 0>,
83*73d9c10aSBjorn Andersson               <&mdss0_dp_phy1 1>,
84*73d9c10aSBjorn Andersson               <&mdss0_dp_phy2 0>,
85*73d9c10aSBjorn Andersson               <&mdss0_dp_phy2 1>,
86*73d9c10aSBjorn Andersson               <&mdss0_dp_phy3 0>,
87*73d9c10aSBjorn Andersson               <&mdss0_dp_phy3 1>,
88*73d9c10aSBjorn Andersson               <&mdss0_dsi0_phy 0>,
89*73d9c10aSBjorn Andersson               <&mdss0_dsi0_phy 1>,
90*73d9c10aSBjorn Andersson               <&mdss0_dsi1_phy 0>,
91*73d9c10aSBjorn Andersson               <&mdss0_dsi1_phy 1>;
92*73d9c10aSBjorn Andersson      power-domains = <&rpmhpd SC8280XP_MMCX>;
93*73d9c10aSBjorn Andersson      #clock-cells = <1>;
94*73d9c10aSBjorn Andersson      #reset-cells = <1>;
95*73d9c10aSBjorn Andersson      #power-domain-cells = <1>;
96*73d9c10aSBjorn Andersson    };
97*73d9c10aSBjorn Andersson...
98