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,sm6350-mdss.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm SM6350 Display MDSS 8 9maintainers: 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 11 12description: 13 SM6350 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks 14 like DPU display controller, DSI and DP interfaces etc. 15 16$ref: /schemas/display/msm/mdss-common.yaml# 17 18properties: 19 compatible: 20 const: qcom,sm6350-mdss 21 22 clocks: 23 items: 24 - description: Display AHB clock from gcc 25 - description: Display AXI clock from gcc 26 - description: Display core clock 27 28 clock-names: 29 items: 30 - const: iface 31 - const: bus 32 - const: core 33 34 iommus: 35 maxItems: 1 36 37 interconnects: 38 maxItems: 2 39 40 interconnect-names: 41 maxItems: 2 42 43patternProperties: 44 "^display-controller@[0-9a-f]+$": 45 type: object 46 properties: 47 compatible: 48 const: qcom,sm6350-dpu 49 50 "^dsi@[0-9a-f]+$": 51 type: object 52 properties: 53 compatible: 54 items: 55 - const: qcom,sm6350-dsi-ctrl 56 - const: qcom,mdss-dsi-ctrl 57 58 "^phy@[0-9a-f]+$": 59 type: object 60 properties: 61 compatible: 62 const: qcom,dsi-phy-10nm 63 64unevaluatedProperties: false 65 66examples: 67 - | 68 #include <dt-bindings/clock/qcom,dispcc-sm6350.h> 69 #include <dt-bindings/clock/qcom,gcc-sm6350.h> 70 #include <dt-bindings/clock/qcom,rpmh.h> 71 #include <dt-bindings/interrupt-controller/arm-gic.h> 72 #include <dt-bindings/power/qcom-rpmpd.h> 73 74 display-subsystem@ae00000 { 75 compatible = "qcom,sm6350-mdss"; 76 reg = <0x0ae00000 0x1000>; 77 reg-names = "mdss"; 78 79 power-domains = <&dispcc MDSS_GDSC>; 80 81 clocks = <&gcc GCC_DISP_AHB_CLK>, 82 <&gcc GCC_DISP_AXI_CLK>, 83 <&dispcc DISP_CC_MDSS_MDP_CLK>; 84 clock-names = "iface", "bus", "core"; 85 86 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 87 interrupt-controller; 88 #interrupt-cells = <1>; 89 90 iommus = <&apps_smmu 0x800 0x2>; 91 #address-cells = <1>; 92 #size-cells = <1>; 93 ranges; 94 95 display-controller@ae01000 { 96 compatible = "qcom,sm6350-dpu"; 97 reg = <0x0ae01000 0x8f000>, 98 <0x0aeb0000 0x2008>; 99 reg-names = "mdp", "vbif"; 100 101 clocks = <&gcc GCC_DISP_AXI_CLK>, 102 <&dispcc DISP_CC_MDSS_AHB_CLK>, 103 <&dispcc DISP_CC_MDSS_ROT_CLK>, 104 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, 105 <&dispcc DISP_CC_MDSS_MDP_CLK>, 106 <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 107 clock-names = "bus", "iface", "rot", "lut", "core", 108 "vsync"; 109 110 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>, 111 <&dispcc DISP_CC_MDSS_VSYNC_CLK>, 112 <&dispcc DISP_CC_MDSS_ROT_CLK>, 113 <&dispcc DISP_CC_MDSS_AHB_CLK>; 114 assigned-clock-rates = <300000000>, 115 <19200000>, 116 <19200000>, 117 <19200000>; 118 119 interrupt-parent = <&mdss>; 120 interrupts = <0>; 121 operating-points-v2 = <&mdp_opp_table>; 122 power-domains = <&rpmhpd SM6350_CX>; 123 124 ports { 125 #address-cells = <1>; 126 #size-cells = <0>; 127 128 port@0 { 129 reg = <0>; 130 dpu_intf1_out: endpoint { 131 remote-endpoint = <&dsi0_in>; 132 }; 133 }; 134 }; 135 }; 136 137 dsi@ae94000 { 138 compatible = "qcom,sm6350-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 139 reg = <0x0ae94000 0x400>; 140 reg-names = "dsi_ctrl"; 141 142 interrupt-parent = <&mdss>; 143 interrupts = <4>; 144 145 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, 146 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, 147 <&dispcc DISP_CC_MDSS_PCLK0_CLK>, 148 <&dispcc DISP_CC_MDSS_ESC0_CLK>, 149 <&dispcc DISP_CC_MDSS_AHB_CLK>, 150 <&gcc GCC_DISP_AXI_CLK>; 151 clock-names = "byte", 152 "byte_intf", 153 "pixel", 154 "core", 155 "iface", 156 "bus"; 157 158 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, 159 <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; 160 assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 161 162 operating-points-v2 = <&dsi_opp_table>; 163 power-domains = <&rpmhpd SM6350_MX>; 164 165 phys = <&dsi0_phy>; 166 phy-names = "dsi"; 167 168 #address-cells = <1>; 169 #size-cells = <0>; 170 171 ports { 172 #address-cells = <1>; 173 #size-cells = <0>; 174 175 port@0 { 176 reg = <0>; 177 dsi0_in: endpoint { 178 remote-endpoint = <&dpu_intf1_out>; 179 }; 180 }; 181 182 port@1 { 183 reg = <1>; 184 dsi0_out: endpoint { 185 }; 186 }; 187 }; 188 }; 189 190 dsi0_phy: phy@ae94400 { 191 compatible = "qcom,dsi-phy-10nm"; 192 reg = <0x0ae94400 0x200>, 193 <0x0ae94600 0x280>, 194 <0x0ae94a00 0x1e0>; 195 reg-names = "dsi_phy", 196 "dsi_phy_lane", 197 "dsi_pll"; 198 199 #clock-cells = <1>; 200 #phy-cells = <0>; 201 202 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, <&rpmhcc RPMH_CXO_CLK>; 203 clock-names = "iface", "ref"; 204 }; 205 }; 206... 207