| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/msm/qcom,sm8650-dpu.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm SM8650 Display DPU |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Neil Armstrong <[email protected]> |
| 11 |
|
| 12 |
$ref: /schemas/display/msm/dpu-common.yaml# |
| 13 |
|
| 14 |
properties: |
| 15 |
compatible: |
| 16 |
oneOf: |
| 17 |
- enum: |
| 18 |
- qcom,glymur-dpu |
| 19 |
- qcom,kaanapali-dpu |
| 20 |
- qcom,sa8775p-dpu |
| 21 |
- qcom,sm8650-dpu |
| 22 |
- qcom,sm8750-dpu |
| 23 |
- qcom,x1e80100-dpu |
| 24 |
- items: |
| 25 |
- enum: |
| 26 |
- qcom,qcs8300-dpu |
| 27 |
- const: qcom,sa8775p-dpu |
| 28 |
|
| 29 |
reg: |
| 30 |
items: |
| 31 |
- description: Address offset and size for mdp register set |
| 32 |
- description: Address offset and size for vbif register set |
| 33 |
|
| 34 |
reg-names: |
| 35 |
items: |
| 36 |
- const: mdp |
| 37 |
- const: vbif |
| 38 |
|
| 39 |
clocks: |
| 40 |
items: |
| 41 |
- description: Display hf axi |
| 42 |
- description: Display MDSS ahb |
| 43 |
- description: Display lut |
| 44 |
- description: Display core |
| 45 |
- description: Display vsync |
| 46 |
|
| 47 |
clock-names: |
| 48 |
items: |
| 49 |
- const: nrt_bus |
| 50 |
- const: iface |
| 51 |
- const: lut |
| 52 |
- const: core |
| 53 |
- const: vsync |
| 54 |
|
| 55 |
required: |
| 56 |
- compatible |
| 57 |
- reg |
| 58 |
- reg-names |
| 59 |
- clocks |
| 60 |
- clock-names |
| 61 |
|
| 62 |
unevaluatedProperties: false |
| 63 |
|
| 64 |
examples: |
| 65 |
- | |
| 66 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 67 |
#include <dt-bindings/power/qcom,rpmhpd.h> |
| 68 |
|
| 69 |
display-controller@ae01000 { |
| 70 |
compatible = "qcom,sm8650-dpu"; |
| 71 |
reg = <0x0ae01000 0x8f000>, |
| 72 |
<0x0aeb0000 0x2008>; |
| 73 |
reg-names = "mdp", "vbif"; |
| 74 |
|
| 75 |
clocks = <&gcc_axi_clk>, |
| 76 |
<&dispcc_ahb_clk>, |
| 77 |
<&dispcc_mdp_lut_clk>, |
| 78 |
<&dispcc_mdp_clk>, |
| 79 |
<&dispcc_vsync_clk>; |
| 80 |
clock-names = "nrt_bus", |
| 81 |
"iface", |
| 82 |
"lut", |
| 83 |
"core", |
| 84 |
"vsync"; |
| 85 |
|
| 86 |
assigned-clocks = <&dispcc_vsync_clk>; |
| 87 |
assigned-clock-rates = <19200000>; |
| 88 |
|
| 89 |
operating-points-v2 = <&mdp_opp_table>; |
| 90 |
power-domains = <&rpmhpd RPMHPD_MMCX>; |
| 91 |
|
| 92 |
interrupt-parent = <&mdss>; |
| 93 |
interrupts = <0>; |
| 94 |
|
| 95 |
ports { |
| 96 |
#address-cells = <1>; |
| 97 |
#size-cells = <0>; |
| 98 |
|
| 99 |
port@0 { |
| 100 |
reg = <0>; |
| 101 |
dpu_intf1_out: endpoint { |
| 102 |
remote-endpoint = <&dsi0_in>; |
| 103 |
}; |
| 104 |
}; |
| 105 |
|
| 106 |
port@1 { |
| 107 |
reg = <1>; |
| 108 |
dpu_intf2_out: endpoint { |
| 109 |
remote-endpoint = <&dsi1_in>; |
| 110 |
}; |
| 111 |
}; |
| 112 |
}; |
| 113 |
|
| 114 |
mdp_opp_table: opp-table { |
| 115 |
compatible = "operating-points-v2"; |
| 116 |
|
| 117 |
opp-200000000 { |
| 118 |
opp-hz = /bits/ 64 <200000000>; |
| 119 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 120 |
}; |
| 121 |
|
| 122 |
opp-325000000 { |
| 123 |
opp-hz = /bits/ 64 <325000000>; |
| 124 |
required-opps = <&rpmhpd_opp_svs>; |
| 125 |
}; |
| 126 |
|
| 127 |
opp-375000000 { |
| 128 |
opp-hz = /bits/ 64 <375000000>; |
| 129 |
required-opps = <&rpmhpd_opp_svs_l1>; |
| 130 |
}; |
| 131 |
|
| 132 |
opp-514000000 { |
| 133 |
opp-hz = /bits/ 64 <514000000>; |
| 134 |
required-opps = <&rpmhpd_opp_nom>; |
| 135 |
}; |
| 136 |
}; |
| 137 |
}; |
| 138 |
... |