xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm8550-dispcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2cb7aa33aSEmmanuel Vadot%YAML 1.2
3cb7aa33aSEmmanuel Vadot---
4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm8550-dispcc.yaml#
5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6cb7aa33aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm Display Clock & Reset Controller for SM8550
8cb7aa33aSEmmanuel Vadot
9cb7aa33aSEmmanuel Vadotmaintainers:
10cb7aa33aSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11cb7aa33aSEmmanuel Vadot  - Neil Armstrong <neil.armstrong@linaro.org>
12cb7aa33aSEmmanuel Vadot
13cb7aa33aSEmmanuel Vadotdescription: |
14cb7aa33aSEmmanuel Vadot  Qualcomm display clock control module provides the clocks, resets and power
15cb7aa33aSEmmanuel Vadot  domains on SM8550.
16cb7aa33aSEmmanuel Vadot
1701950c46SEmmanuel Vadot  See also:
1801950c46SEmmanuel Vadot  - include/dt-bindings/clock/qcom,sm8550-dispcc.h
1901950c46SEmmanuel Vadot  - include/dt-bindings/clock/qcom,sm8650-dispcc.h
2001950c46SEmmanuel Vadot  - include/dt-bindings/clock/qcom,x1e80100-dispcc.h
21cb7aa33aSEmmanuel Vadot
22cb7aa33aSEmmanuel Vadotproperties:
23cb7aa33aSEmmanuel Vadot  compatible:
24cb7aa33aSEmmanuel Vadot    enum:
25cb7aa33aSEmmanuel Vadot      - qcom,sm8550-dispcc
2601950c46SEmmanuel Vadot      - qcom,sm8650-dispcc
2701950c46SEmmanuel Vadot      - qcom,x1e80100-dispcc
28cb7aa33aSEmmanuel Vadot
29cb7aa33aSEmmanuel Vadot  clocks:
30cb7aa33aSEmmanuel Vadot    items:
31cb7aa33aSEmmanuel Vadot      - description: Board XO source
32cb7aa33aSEmmanuel Vadot      - description: Board Always On XO source
33cb7aa33aSEmmanuel Vadot      - description: Display's AHB clock
34cb7aa33aSEmmanuel Vadot      - description: sleep clock
35cb7aa33aSEmmanuel Vadot      - description: Byte clock from DSI PHY0
36cb7aa33aSEmmanuel Vadot      - description: Pixel clock from DSI PHY0
37cb7aa33aSEmmanuel Vadot      - description: Byte clock from DSI PHY1
38cb7aa33aSEmmanuel Vadot      - description: Pixel clock from DSI PHY1
39cb7aa33aSEmmanuel Vadot      - description: Link clock from DP PHY0
40cb7aa33aSEmmanuel Vadot      - description: VCO DIV clock from DP PHY0
41cb7aa33aSEmmanuel Vadot      - description: Link clock from DP PHY1
42cb7aa33aSEmmanuel Vadot      - description: VCO DIV clock from DP PHY1
43cb7aa33aSEmmanuel Vadot      - description: Link clock from DP PHY2
44cb7aa33aSEmmanuel Vadot      - description: VCO DIV clock from DP PHY2
45cb7aa33aSEmmanuel Vadot      - description: Link clock from DP PHY3
46cb7aa33aSEmmanuel Vadot      - description: VCO DIV clock from DP PHY3
47cb7aa33aSEmmanuel Vadot
48cb7aa33aSEmmanuel Vadot  power-domains:
49cb7aa33aSEmmanuel Vadot    description:
50cb7aa33aSEmmanuel Vadot      A phandle and PM domain specifier for the MMCX power domain.
51cb7aa33aSEmmanuel Vadot    maxItems: 1
52cb7aa33aSEmmanuel Vadot
53cb7aa33aSEmmanuel Vadot  required-opps:
54cb7aa33aSEmmanuel Vadot    description:
55cb7aa33aSEmmanuel Vadot      A phandle to an OPP node describing required MMCX performance point.
56cb7aa33aSEmmanuel Vadot    maxItems: 1
57cb7aa33aSEmmanuel Vadot
58cb7aa33aSEmmanuel Vadotrequired:
59cb7aa33aSEmmanuel Vadot  - compatible
60cb7aa33aSEmmanuel Vadot  - clocks
61cb7aa33aSEmmanuel Vadot  - '#power-domain-cells'
62cb7aa33aSEmmanuel Vadot
63*0e8011faSEmmanuel VadotallOf:
64*0e8011faSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
65*0e8011faSEmmanuel Vadot
66*0e8011faSEmmanuel VadotunevaluatedProperties: false
67cb7aa33aSEmmanuel Vadot
68cb7aa33aSEmmanuel Vadotexamples:
69cb7aa33aSEmmanuel Vadot  - |
70cb7aa33aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,sm8550-gcc.h>
71cb7aa33aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
72aa1a8ff2SEmmanuel Vadot    #include <dt-bindings/power/qcom,rpmhpd.h>
73cb7aa33aSEmmanuel Vadot    clock-controller@af00000 {
74cb7aa33aSEmmanuel Vadot      compatible = "qcom,sm8550-dispcc";
75cb7aa33aSEmmanuel Vadot      reg = <0x0af00000 0x10000>;
76cb7aa33aSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
77cb7aa33aSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
78cb7aa33aSEmmanuel Vadot               <&gcc GCC_DISP_AHB_CLK>,
79cb7aa33aSEmmanuel Vadot               <&sleep_clk>,
80cb7aa33aSEmmanuel Vadot               <&dsi0_phy 0>,
81cb7aa33aSEmmanuel Vadot               <&dsi0_phy 1>,
82cb7aa33aSEmmanuel Vadot               <&dsi1_phy 0>,
83cb7aa33aSEmmanuel Vadot               <&dsi1_phy 1>,
84cb7aa33aSEmmanuel Vadot               <&dp0_phy 0>,
85cb7aa33aSEmmanuel Vadot               <&dp0_phy 1>,
86cb7aa33aSEmmanuel Vadot               <&dp1_phy 0>,
87cb7aa33aSEmmanuel Vadot               <&dp1_phy 1>,
88cb7aa33aSEmmanuel Vadot               <&dp2_phy 0>,
89cb7aa33aSEmmanuel Vadot               <&dp2_phy 1>,
90cb7aa33aSEmmanuel Vadot               <&dp3_phy 0>,
91cb7aa33aSEmmanuel Vadot               <&dp3_phy 1>;
92cb7aa33aSEmmanuel Vadot      #clock-cells = <1>;
93cb7aa33aSEmmanuel Vadot      #reset-cells = <1>;
94cb7aa33aSEmmanuel Vadot      #power-domain-cells = <1>;
95aa1a8ff2SEmmanuel Vadot      power-domains = <&rpmhpd RPMHPD_MMCX>;
96cb7aa33aSEmmanuel Vadot      required-opps = <&rpmhpd_opp_low_svs>;
97cb7aa33aSEmmanuel Vadot    };
98cb7aa33aSEmmanuel Vadot...
99