xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm4450-dispcc.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm4450-dispcc.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Qualcomm Display Clock & Reset Controller on SM4450
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Ajit Pandey <quic_ajipan@quicinc.com>
11*b2d2a78aSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
12*b2d2a78aSEmmanuel Vadot
13*b2d2a78aSEmmanuel Vadotdescription: |
14*b2d2a78aSEmmanuel Vadot  Qualcomm display clock control module provides the clocks, resets and power
15*b2d2a78aSEmmanuel Vadot  domains on SM4450
16*b2d2a78aSEmmanuel Vadot
17*b2d2a78aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm4450-dispcc.h
18*b2d2a78aSEmmanuel Vadot
19*b2d2a78aSEmmanuel Vadotproperties:
20*b2d2a78aSEmmanuel Vadot  compatible:
21*b2d2a78aSEmmanuel Vadot    const: qcom,sm4450-dispcc
22*b2d2a78aSEmmanuel Vadot
23*b2d2a78aSEmmanuel Vadot  reg:
24*b2d2a78aSEmmanuel Vadot    maxItems: 1
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot  clocks:
27*b2d2a78aSEmmanuel Vadot    items:
28*b2d2a78aSEmmanuel Vadot      - description: Board XO source
29*b2d2a78aSEmmanuel Vadot      - description: Board active XO source
30*b2d2a78aSEmmanuel Vadot      - description: Display AHB clock source from GCC
31*b2d2a78aSEmmanuel Vadot      - description: sleep clock source
32*b2d2a78aSEmmanuel Vadot      - description: Byte clock from DSI PHY0
33*b2d2a78aSEmmanuel Vadot      - description: Pixel clock from DSI PHY0
34*b2d2a78aSEmmanuel Vadot
35*b2d2a78aSEmmanuel Vadot  '#clock-cells':
36*b2d2a78aSEmmanuel Vadot    const: 1
37*b2d2a78aSEmmanuel Vadot
38*b2d2a78aSEmmanuel Vadot  '#reset-cells':
39*b2d2a78aSEmmanuel Vadot    const: 1
40*b2d2a78aSEmmanuel Vadot
41*b2d2a78aSEmmanuel Vadot  '#power-domain-cells':
42*b2d2a78aSEmmanuel Vadot    const: 1
43*b2d2a78aSEmmanuel Vadot
44*b2d2a78aSEmmanuel Vadotrequired:
45*b2d2a78aSEmmanuel Vadot  - compatible
46*b2d2a78aSEmmanuel Vadot  - reg
47*b2d2a78aSEmmanuel Vadot  - clocks
48*b2d2a78aSEmmanuel Vadot  - '#clock-cells'
49*b2d2a78aSEmmanuel Vadot  - '#reset-cells'
50*b2d2a78aSEmmanuel Vadot  - '#power-domain-cells'
51*b2d2a78aSEmmanuel Vadot
52*b2d2a78aSEmmanuel VadotadditionalProperties: false
53*b2d2a78aSEmmanuel Vadot
54*b2d2a78aSEmmanuel Vadotexamples:
55*b2d2a78aSEmmanuel Vadot  - |
56*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
57*b2d2a78aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,sm4450-gcc.h>
58*b2d2a78aSEmmanuel Vadot    clock-controller@af00000 {
59*b2d2a78aSEmmanuel Vadot      compatible = "qcom,sm4450-dispcc";
60*b2d2a78aSEmmanuel Vadot      reg = <0x0af00000 0x20000>;
61*b2d2a78aSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
62*b2d2a78aSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
63*b2d2a78aSEmmanuel Vadot               <&gcc GCC_DISP_AHB_CLK>,
64*b2d2a78aSEmmanuel Vadot               <&sleep_clk>,
65*b2d2a78aSEmmanuel Vadot               <&dsi0_phy_pll_out_byteclk>,
66*b2d2a78aSEmmanuel Vadot               <&dsi0_phy_pll_out_dsiclk>;
67*b2d2a78aSEmmanuel Vadot      #clock-cells = <1>;
68*b2d2a78aSEmmanuel Vadot      #reset-cells = <1>;
69*b2d2a78aSEmmanuel Vadot      #power-domain-cells = <1>;
70*b2d2a78aSEmmanuel Vadot    };
71*b2d2a78aSEmmanuel Vadot...
72