File Index
Files and directories
Sign in
FILE

qcom,x1e80100-mdss.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/display/msm/qcom,x1e80100-mdss.yaml YAML
  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,x1e80100-mdss.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: Qualcomm X1E80100 Display MDSS
  8
  9maintainers:
 10  - Abel Vesa <abel.vesa@linaro.org>
 11
 12description:
 13  X1E80100 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
 14  DPU display controller, DP interfaces, etc.
 15
 16$ref: /schemas/display/msm/mdss-common.yaml#
 17
 18properties:
 19  compatible:
 20    const: qcom,x1e80100-mdss
 21
 22  clocks:
 23    items:
 24      - description: Display AHB
 25      - description: Display hf AXI
 26      - description: Display core
 27
 28  iommus:
 29    maxItems: 1
 30
 31  interconnects:
 32    maxItems: 3
 33
 34  interconnect-names:
 35    maxItems: 3
 36
 37patternProperties:
 38  "^display-controller@[0-9a-f]+$":
 39    type: object
 40    additionalProperties: true
 41    properties:
 42      compatible:
 43        const: qcom,x1e80100-dpu
 44
 45  "^displayport-controller@[0-9a-f]+$":
 46    type: object
 47    additionalProperties: true
 48    properties:
 49      compatible:
 50        const: qcom,x1e80100-dp
 51
 52  "^phy@[0-9a-f]+$":
 53    type: object
 54    additionalProperties: true
 55    properties:
 56      compatible:
 57        const: qcom,x1e80100-dp-phy
 58
 59required:
 60  - compatible
 61
 62unevaluatedProperties: false
 63
 64examples:
 65  - |
 66    #include <dt-bindings/clock/qcom,rpmh.h>
 67    #include <dt-bindings/interrupt-controller/arm-gic.h>
 68    #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
 69    #include <dt-bindings/phy/phy-qcom-qmp.h>
 70    #include <dt-bindings/power/qcom,rpmhpd.h>
 71
 72    display-subsystem@ae00000 {
 73        compatible = "qcom,x1e80100-mdss";
 74        reg = <0x0ae00000 0x1000>;
 75        reg-names = "mdss";
 76
 77        interconnects = <&mmss_noc MASTER_MDP 0 &gem_noc SLAVE_LLCC 0>,
 78                        <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>,
 79                        <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_DISPLAY_CFG 0>;
 80        interconnect-names = "mdp0-mem", "mdp1-mem", "cpu-cfg";
 81
 82        resets = <&dispcc_core_bcr>;
 83
 84        power-domains = <&dispcc_gdsc>;
 85
 86        clocks = <&dispcc_ahb_clk>,
 87                 <&gcc_disp_hf_axi_clk>,
 88                 <&dispcc_mdp_clk>;
 89        clock-names = "bus", "nrt_bus", "core";
 90
 91        interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
 92        interrupt-controller;
 93        #interrupt-cells = <1>;
 94
 95        iommus = <&apps_smmu 0x1c00 0x2>;
 96
 97        #address-cells = <1>;
 98        #size-cells = <1>;
 99        ranges;
100
101        display-controller@ae01000 {
102            compatible = "qcom,x1e80100-dpu";
103            reg = <0x0ae01000 0x8f000>,
104                  <0x0aeb0000 0x2008>;
105            reg-names = "mdp", "vbif";
106
107            clocks = <&gcc_axi_clk>,
108                     <&dispcc_ahb_clk>,
109                     <&dispcc_mdp_lut_clk>,
110                     <&dispcc_mdp_clk>,
111                     <&dispcc_mdp_vsync_clk>;
112            clock-names = "nrt_bus",
113                          "iface",
114                          "lut",
115                          "core",
116                          "vsync";
117
118            assigned-clocks = <&dispcc_mdp_vsync_clk>;
119            assigned-clock-rates = <19200000>;
120
121            operating-points-v2 = <&mdp_opp_table>;
122            power-domains = <&rpmhpd RPMHPD_MMCX>;
123
124            interrupt-parent = <&mdss>;
125            interrupts = <0>;
126
127            ports {
128                #address-cells = <1>;
129                #size-cells = <0>;
130
131                port@0 {
132                    reg = <0>;
133                    dpu_intf1_out: endpoint {
134                        remote-endpoint = <&dsi0_in>;
135                    };
136                };
137
138                port@1 {
139                    reg = <1>;
140                    dpu_intf2_out: endpoint {
141                        remote-endpoint = <&dsi1_in>;
142                    };
143                };
144            };
145
146            mdp_opp_table: opp-table {
147                compatible = "operating-points-v2";
148
149                opp-200000000 {
150                    opp-hz = /bits/ 64 <200000000>;
151                    required-opps = <&rpmhpd_opp_low_svs>;
152                };
153
154                opp-325000000 {
155                    opp-hz = /bits/ 64 <325000000>;
156                    required-opps = <&rpmhpd_opp_svs>;
157                };
158
159                opp-375000000 {
160                    opp-hz = /bits/ 64 <375000000>;
161                    required-opps = <&rpmhpd_opp_svs_l1>;
162                };
163
164                opp-514000000 {
165                    opp-hz = /bits/ 64 <514000000>;
166                    required-opps = <&rpmhpd_opp_nom>;
167                };
168            };
169        };
170
171        displayport-controller@ae90000 {
172            compatible = "qcom,x1e80100-dp";
173            reg = <0xae90000 0x200>,
174                  <0xae90200 0x200>,
175                  <0xae90400 0x600>,
176                  <0xae91000 0x400>,
177                  <0xae91400 0x400>;
178
179            interrupt-parent = <&mdss>;
180            interrupts = <12>;
181
182            clocks = <&dispcc_mdss_ahb_clk>,
183               <&dispcc_dptx0_aux_clk>,
184               <&dispcc_dptx0_link_clk>,
185               <&dispcc_dptx0_link_intf_clk>,
186               <&dispcc_dptx0_pixel0_clk>,
187               <&dispcc_dptx0_pixel1_clk>;
188            clock-names = "core_iface", "core_aux",
189                    "ctrl_link",
190                    "ctrl_link_iface",
191                    "stream_pixel",
192                    "stream_1_pixel";
193
194            assigned-clocks = <&dispcc_mdss_dptx0_link_clk_src>,
195                  <&dispcc_mdss_dptx0_pixel0_clk_src>,
196                  <&dispcc_mdss_dptx0_pixel1_clk_src>;
197            assigned-clock-parents = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK>,
198                  <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>,
199                  <&usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>;
200
201            operating-points-v2 = <&mdss_dp0_opp_table>;
202
203            power-domains = <&rpmhpd RPMHPD_MMCX>;
204
205            phys = <&usb_1_ss0_qmpphy QMP_USB43DP_DP_PHY>;
206            phy-names = "dp";
207
208            #sound-dai-cells = <0>;
209
210            ports {
211              #address-cells = <1>;
212              #size-cells = <0>;
213
214              port@0 {
215                  reg = <0>;
216
217                  mdss_dp0_in: endpoint {
218                    remote-endpoint = <&mdss_intf0_out>;
219                  };
220              };
221
222              port@1 {
223                  reg = <1>;
224
225                  mdss_dp0_out: endpoint {
226                  };
227              };
228            };
229
230            mdss_dp0_opp_table: opp-table {
231              compatible = "operating-points-v2";
232
233              opp-160000000 {
234                 opp-hz = /bits/ 64 <160000000>;
235                 required-opps = <&rpmhpd_opp_low_svs>;
236              };
237
238              opp-270000000 {
239                 opp-hz = /bits/ 64 <270000000>;
240                 required-opps = <&rpmhpd_opp_svs>;
241              };
242
243              opp-540000000 {
244                 opp-hz = /bits/ 64 <540000000>;
245                 required-opps = <&rpmhpd_opp_svs_l1>;
246              };
247
248              opp-810000000 {
249                 opp-hz = /bits/ 64 <810000000>;
250                 required-opps = <&rpmhpd_opp_nom>;
251              };
252            };
253        };
254    };
255...
~/ Read-only file preview.