xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm7150-dispcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm7150-dispcc.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Qualcomm Display Clock & Reset Controller for SM7150
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Danila Tikhonov <danila@jiaxyga.com>
11*0e8011faSEmmanuel Vadot  - David Wronek <david@mainlining.org>
12*0e8011faSEmmanuel Vadot  - Jens Reidel <adrian@travitia.xyz>
13*0e8011faSEmmanuel Vadot
14*0e8011faSEmmanuel Vadotdescription: |
15*0e8011faSEmmanuel Vadot  Qualcomm display clock control module provides the clocks, resets and power
16*0e8011faSEmmanuel Vadot  domains on SM7150.
17*0e8011faSEmmanuel Vadot
18*0e8011faSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm7150-dispcc.h
19*0e8011faSEmmanuel Vadot
20*0e8011faSEmmanuel Vadotproperties:
21*0e8011faSEmmanuel Vadot  compatible:
22*0e8011faSEmmanuel Vadot    const: qcom,sm7150-dispcc
23*0e8011faSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot  clocks:
25*0e8011faSEmmanuel Vadot    items:
26*0e8011faSEmmanuel Vadot      - description: Board XO source
27*0e8011faSEmmanuel Vadot      - description: Board Always On XO source
28*0e8011faSEmmanuel Vadot      - description: GPLL0 source from GCC
29*0e8011faSEmmanuel Vadot      - description: Sleep clock source
30*0e8011faSEmmanuel Vadot      - description: Byte clock from MDSS DSI PHY0
31*0e8011faSEmmanuel Vadot      - description: Pixel clock from MDSS DSI PHY0
32*0e8011faSEmmanuel Vadot      - description: Byte clock from MDSS DSI PHY1
33*0e8011faSEmmanuel Vadot      - description: Pixel clock from MDSS DSI PHY1
34*0e8011faSEmmanuel Vadot      - description: Link clock from DP PHY
35*0e8011faSEmmanuel Vadot      - description: VCO DIV clock from DP PHY
36*0e8011faSEmmanuel Vadot
37*0e8011faSEmmanuel Vadot  power-domains:
38*0e8011faSEmmanuel Vadot    maxItems: 1
39*0e8011faSEmmanuel Vadot    description:
40*0e8011faSEmmanuel Vadot      CX power domain.
41*0e8011faSEmmanuel Vadot
42*0e8011faSEmmanuel Vadotrequired:
43*0e8011faSEmmanuel Vadot  - compatible
44*0e8011faSEmmanuel Vadot  - clocks
45*0e8011faSEmmanuel Vadot  - power-domains
46*0e8011faSEmmanuel Vadot
47*0e8011faSEmmanuel VadotallOf:
48*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
49*0e8011faSEmmanuel Vadot
50*0e8011faSEmmanuel VadotunevaluatedProperties: false
51*0e8011faSEmmanuel Vadot
52*0e8011faSEmmanuel Vadotexamples:
53*0e8011faSEmmanuel Vadot  - |
54*0e8011faSEmmanuel Vadot    #include <dt-bindings/clock/qcom,sm7150-gcc.h>
55*0e8011faSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
56*0e8011faSEmmanuel Vadot    #include <dt-bindings/power/qcom,rpmhpd.h>
57*0e8011faSEmmanuel Vadot    clock-controller@af00000 {
58*0e8011faSEmmanuel Vadot      compatible = "qcom,sm7150-dispcc";
59*0e8011faSEmmanuel Vadot      reg = <0x0af00000 0x200000>;
60*0e8011faSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
61*0e8011faSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
62*0e8011faSEmmanuel Vadot               <&gcc GCC_DISP_GPLL0_CLK_SRC>,
63*0e8011faSEmmanuel Vadot               <&sleep_clk>,
64*0e8011faSEmmanuel Vadot               <&mdss_dsi0_phy 0>,
65*0e8011faSEmmanuel Vadot               <&mdss_dsi0_phy 1>,
66*0e8011faSEmmanuel Vadot               <&mdss_dsi1_phy 0>,
67*0e8011faSEmmanuel Vadot               <&mdss_dsi1_phy 1>,
68*0e8011faSEmmanuel Vadot               <&dp_phy 0>,
69*0e8011faSEmmanuel Vadot               <&dp_phy 1>;
70*0e8011faSEmmanuel Vadot      power-domains = <&rpmhpd RPMHPD_CX>;
71*0e8011faSEmmanuel Vadot      #clock-cells = <1>;
72*0e8011faSEmmanuel Vadot      #reset-cells = <1>;
73*0e8011faSEmmanuel Vadot      #power-domain-cells = <1>;
74*0e8011faSEmmanuel Vadot    };
75*0e8011faSEmmanuel Vadot...
76