| 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,sm8550-dispcc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Display Clock & Reset Controller for SM8550 |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Bjorn Andersson <[email protected]> |
| 11 |
- Neil Armstrong <[email protected]> |
| 12 |
|
| 13 |
description: | |
| 14 |
Qualcomm display clock control module provides the clocks, resets and power |
| 15 |
domains on SM8550, SM8650, SM8750 and few other platforms. |
| 16 |
|
| 17 |
See also: |
| 18 |
- include/dt-bindings/clock/qcom,kaanapali-dispcc.h |
| 19 |
- include/dt-bindings/clock/qcom,sm8550-dispcc.h |
| 20 |
- include/dt-bindings/clock/qcom,sm8650-dispcc.h |
| 21 |
- include/dt-bindings/clock/qcom,sm8750-dispcc.h |
| 22 |
- include/dt-bindings/clock/qcom,x1e80100-dispcc.h |
| 23 |
|
| 24 |
properties: |
| 25 |
compatible: |
| 26 |
enum: |
| 27 |
- qcom,kaanapali-dispcc |
| 28 |
- qcom,sar2130p-dispcc |
| 29 |
- qcom,sm8550-dispcc |
| 30 |
- qcom,sm8650-dispcc |
| 31 |
- qcom,sm8750-dispcc |
| 32 |
- qcom,x1e80100-dispcc |
| 33 |
|
| 34 |
clocks: |
| 35 |
items: |
| 36 |
- description: Board XO source |
| 37 |
- description: Board Always On XO source |
| 38 |
- description: Display's AHB clock |
| 39 |
- description: sleep clock |
| 40 |
- description: Byte clock from DSI PHY0 |
| 41 |
- description: Pixel clock from DSI PHY0 |
| 42 |
- description: Byte clock from DSI PHY1 |
| 43 |
- description: Pixel clock from DSI PHY1 |
| 44 |
- description: Link clock from DP PHY0 |
| 45 |
- description: VCO DIV clock from DP PHY0 |
| 46 |
- description: Link clock from DP PHY1 |
| 47 |
- description: VCO DIV clock from DP PHY1 |
| 48 |
- description: Link clock from DP PHY2 |
| 49 |
- description: VCO DIV clock from DP PHY2 |
| 50 |
- description: Link clock from DP PHY3 |
| 51 |
- description: VCO DIV clock from DP PHY3 |
| 52 |
|
| 53 |
power-domains: |
| 54 |
description: |
| 55 |
A phandle and PM domain specifier for the MMCX power domain. |
| 56 |
maxItems: 1 |
| 57 |
|
| 58 |
required-opps: |
| 59 |
description: |
| 60 |
A phandle to an OPP node describing required MMCX performance point. |
| 61 |
maxItems: 1 |
| 62 |
|
| 63 |
required: |
| 64 |
- compatible |
| 65 |
- clocks |
| 66 |
- '#power-domain-cells' |
| 67 |
|
| 68 |
allOf: |
| 69 |
- $ref: qcom,gcc.yaml# |
| 70 |
|
| 71 |
unevaluatedProperties: false |
| 72 |
|
| 73 |
examples: |
| 74 |
- | |
| 75 |
#include <dt-bindings/clock/qcom,sm8550-gcc.h> |
| 76 |
#include <dt-bindings/clock/qcom,rpmh.h> |
| 77 |
#include <dt-bindings/power/qcom,rpmhpd.h> |
| 78 |
clock-controller@af00000 { |
| 79 |
compatible = "qcom,sm8550-dispcc"; |
| 80 |
reg = <0x0af00000 0x10000>; |
| 81 |
clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 82 |
<&rpmhcc RPMH_CXO_CLK_A>, |
| 83 |
<&gcc GCC_DISP_AHB_CLK>, |
| 84 |
<&sleep_clk>, |
| 85 |
<&dsi0_phy 0>, |
| 86 |
<&dsi0_phy 1>, |
| 87 |
<&dsi1_phy 0>, |
| 88 |
<&dsi1_phy 1>, |
| 89 |
<&dp0_phy 0>, |
| 90 |
<&dp0_phy 1>, |
| 91 |
<&dp1_phy 0>, |
| 92 |
<&dp1_phy 1>, |
| 93 |
<&dp2_phy 0>, |
| 94 |
<&dp2_phy 1>, |
| 95 |
<&dp3_phy 0>, |
| 96 |
<&dp3_phy 1>; |
| 97 |
#clock-cells = <1>; |
| 98 |
#reset-cells = <1>; |
| 99 |
#power-domain-cells = <1>; |
| 100 |
power-domains = <&rpmhpd RPMHPD_MMCX>; |
| 101 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 102 |
}; |
| 103 |
... |