~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/display/msm/qcom,sm8350-mdss.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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,sm8350-mdss.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm SM8350 Display MDSS
  8 
  9 maintainers:
 10   - Robert Foss <robert.foss@linaro.org>
 11 
 12 description:
 13   MSM Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like
 14   DPU display controller, DSI and DP interfaces etc.
 15 
 16 $ref: /schemas/display/msm/mdss-common.yaml#
 17 
 18 properties:
 19   compatible:
 20     items:
 21       - const: qcom,sm8350-mdss
 22 
 23   clocks:
 24     items:
 25       - description: Display AHB clock from gcc
 26       - description: Display hf axi clock
 27       - description: Display sf axi clock
 28       - description: Display core clock
 29 
 30   clock-names:
 31     items:
 32       - const: iface
 33       - const: bus
 34       - const: nrt_bus
 35       - const: core
 36 
 37   iommus:
 38     maxItems: 1
 39 
 40   interconnects:
 41     maxItems: 2
 42 
 43   interconnect-names:
 44     items:
 45       - const: mdp0-mem
 46       - const: mdp1-mem
 47 
 48 patternProperties:
 49   "^display-controller@[0-9a-f]+$":
 50     type: object
 51     additionalProperties: true
 52 
 53     properties:
 54       compatible:
 55         const: qcom,sm8350-dpu
 56 
 57   "^displayport-controller@[0-9a-f]+$":
 58     type: object
 59     additionalProperties: true
 60 
 61     properties:
 62       compatible:
 63         const: qcom,sm8350-dp
 64 
 65   "^dsi@[0-9a-f]+$":
 66     type: object
 67     additionalProperties: true
 68 
 69     properties:
 70       compatible:
 71         items:
 72           - const: qcom,sm8350-dsi-ctrl
 73           - const: qcom,mdss-dsi-ctrl
 74 
 75   "^phy@[0-9a-f]+$":
 76     type: object
 77     additionalProperties: true
 78 
 79     properties:
 80       compatible:
 81         const: qcom,sm8350-dsi-phy-5nm
 82 
 83 unevaluatedProperties: false
 84 
 85 examples:
 86   - |
 87     #include <dt-bindings/clock/qcom,dispcc-sm8350.h>
 88     #include <dt-bindings/clock/qcom,gcc-sm8350.h>
 89     #include <dt-bindings/clock/qcom,rpmh.h>
 90     #include <dt-bindings/interrupt-controller/arm-gic.h>
 91     #include <dt-bindings/interconnect/qcom,sm8350.h>
 92     #include <dt-bindings/power/qcom,rpmhpd.h>
 93 
 94     display-subsystem@ae00000 {
 95         compatible = "qcom,sm8350-mdss";
 96         reg = <0x0ae00000 0x1000>;
 97         reg-names = "mdss";
 98 
 99         interconnects = <&mmss_noc MASTER_MDP0 0 &mc_virt SLAVE_EBI1 0>,
100                         <&mmss_noc MASTER_MDP1 0 &mc_virt SLAVE_EBI1 0>;
101         interconnect-names = "mdp0-mem", "mdp1-mem";
102 
103         power-domains = <&dispcc MDSS_GDSC>;
104         resets = <&dispcc DISP_CC_MDSS_CORE_BCR>;
105 
106         clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
107                  <&gcc GCC_DISP_HF_AXI_CLK>,
108                  <&gcc GCC_DISP_SF_AXI_CLK>,
109                  <&dispcc DISP_CC_MDSS_MDP_CLK>;
110         clock-names = "iface", "bus", "nrt_bus", "core";
111 
112         iommus = <&apps_smmu 0x820 0x402>;
113 
114         interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
115         interrupt-controller;
116         #interrupt-cells = <1>;
117 
118         #address-cells = <1>;
119         #size-cells = <1>;
120         ranges;
121 
122         display-controller@ae01000 {
123             compatible = "qcom,sm8350-dpu";
124             reg = <0x0ae01000 0x8f000>,
125                   <0x0aeb0000 0x2008>;
126             reg-names = "mdp", "vbif";
127 
128             clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
129                      <&gcc GCC_DISP_SF_AXI_CLK>,
130                      <&dispcc DISP_CC_MDSS_AHB_CLK>,
131                      <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
132                      <&dispcc DISP_CC_MDSS_MDP_CLK>,
133                      <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
134             clock-names = "bus",
135                           "nrt_bus",
136                           "iface",
137                           "lut",
138                           "core",
139                           "vsync";
140 
141             assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
142             assigned-clock-rates = <19200000>;
143 
144             operating-points-v2 = <&mdp_opp_table>;
145             power-domains = <&rpmhpd RPMHPD_MMCX>;
146 
147             interrupt-parent = <&mdss>;
148             interrupts = <0>;
149 
150             ports {
151                 #address-cells = <1>;
152                 #size-cells = <0>;
153 
154                 port@0 {
155                     reg = <0>;
156                     dpu_intf1_out: endpoint {
157                         remote-endpoint = <&dsi0_in>;
158                     };
159                 };
160             };
161 
162             mdp_opp_table: opp-table {
163                 compatible = "operating-points-v2";
164 
165                 opp-200000000 {
166                     opp-hz = /bits/ 64 <200000000>;
167                     required-opps = <&rpmhpd_opp_low_svs>;
168                 };
169 
170                 opp-300000000 {
171                     opp-hz = /bits/ 64 <300000000>;
172                     required-opps = <&rpmhpd_opp_svs>;
173                 };
174 
175                 opp-345000000 {
176                     opp-hz = /bits/ 64 <345000000>;
177                     required-opps = <&rpmhpd_opp_svs_l1>;
178                 };
179 
180                 opp-460000000 {
181                     opp-hz = /bits/ 64 <460000000>;
182                     required-opps = <&rpmhpd_opp_nom>;
183                 };
184             };
185         };
186 
187         dsi0: dsi@ae94000 {
188             compatible = "qcom,sm8350-dsi-ctrl", "qcom,mdss-dsi-ctrl";
189             reg = <0x0ae94000 0x400>;
190             reg-names = "dsi_ctrl";
191 
192             interrupt-parent = <&mdss>;
193             interrupts = <4>;
194 
195             clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
196                      <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
197                      <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
198                      <&dispcc DISP_CC_MDSS_ESC0_CLK>,
199                      <&dispcc DISP_CC_MDSS_AHB_CLK>,
200                      <&gcc GCC_DISP_HF_AXI_CLK>;
201             clock-names = "byte",
202                       "byte_intf",
203                       "pixel",
204                       "core",
205                       "iface",
206                       "bus";
207 
208             assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
209                           <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
210             assigned-clock-parents = <&mdss_dsi0_phy 0>,
211                                  <&mdss_dsi0_phy 1>;
212 
213             operating-points-v2 = <&dsi_opp_table>;
214             power-domains = <&rpmhpd RPMHPD_MMCX>;
215 
216             phys = <&mdss_dsi0_phy>;
217 
218             ports {
219              #address-cells = <1>;
220                 #size-cells = <0>;
221 
222                 port@0 {
223                     reg = <0>;
224                     dsi0_in: endpoint {
225                         remote-endpoint = <&dpu_intf1_out>;
226                     };
227                 };
228 
229                 port@1 {
230                     reg = <1>;
231                     dsi0_out: endpoint {
232                     };
233                 };
234             };
235         };
236     };
237 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php