1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 28bab661aSEmmanuel Vadot%YAML 1.2 38bab661aSEmmanuel Vadot--- 48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/display/msm/qcom,sc7180-dpu.yaml# 58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68bab661aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Qualcomm Display DPU on SC7180 88bab661aSEmmanuel Vadot 98bab661aSEmmanuel Vadotmaintainers: 108bab661aSEmmanuel Vadot - Krishna Manikandan <quic_mkrishn@quicinc.com> 118bab661aSEmmanuel Vadot 128bab661aSEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml# 138bab661aSEmmanuel Vadot 148bab661aSEmmanuel Vadotproperties: 158bab661aSEmmanuel Vadot compatible: 16f126890aSEmmanuel Vadot enum: 17f126890aSEmmanuel Vadot - qcom,sc7180-dpu 18*aa1a8ff2SEmmanuel Vadot - qcom,sm6125-dpu 19f126890aSEmmanuel Vadot - qcom,sm6350-dpu 20f126890aSEmmanuel Vadot - qcom,sm6375-dpu 218bab661aSEmmanuel Vadot 228bab661aSEmmanuel Vadot reg: 238bab661aSEmmanuel Vadot items: 248bab661aSEmmanuel Vadot - description: Address offset and size for mdp register set 258bab661aSEmmanuel Vadot - description: Address offset and size for vbif register set 268bab661aSEmmanuel Vadot 278bab661aSEmmanuel Vadot reg-names: 288bab661aSEmmanuel Vadot items: 298bab661aSEmmanuel Vadot - const: mdp 308bab661aSEmmanuel Vadot - const: vbif 318bab661aSEmmanuel Vadot 328bab661aSEmmanuel Vadot clocks: 33f126890aSEmmanuel Vadot minItems: 6 348bab661aSEmmanuel Vadot items: 358bab661aSEmmanuel Vadot - description: Display hf axi clock 368bab661aSEmmanuel Vadot - description: Display ahb clock 378bab661aSEmmanuel Vadot - description: Display rotator clock 388bab661aSEmmanuel Vadot - description: Display lut clock 398bab661aSEmmanuel Vadot - description: Display core clock 408bab661aSEmmanuel Vadot - description: Display vsync clock 41f126890aSEmmanuel Vadot - description: Display core throttle clock 428bab661aSEmmanuel Vadot 438bab661aSEmmanuel Vadot clock-names: 44f126890aSEmmanuel Vadot minItems: 6 458bab661aSEmmanuel Vadot items: 468bab661aSEmmanuel Vadot - const: bus 478bab661aSEmmanuel Vadot - const: iface 488bab661aSEmmanuel Vadot - const: rot 498bab661aSEmmanuel Vadot - const: lut 508bab661aSEmmanuel Vadot - const: core 518bab661aSEmmanuel Vadot - const: vsync 52f126890aSEmmanuel Vadot - const: throttle 538bab661aSEmmanuel Vadot 54cb7aa33aSEmmanuel Vadotrequired: 55cb7aa33aSEmmanuel Vadot - compatible 56cb7aa33aSEmmanuel Vadot - reg 57cb7aa33aSEmmanuel Vadot - reg-names 58cb7aa33aSEmmanuel Vadot - clocks 59cb7aa33aSEmmanuel Vadot - clock-names 60cb7aa33aSEmmanuel Vadot 618bab661aSEmmanuel VadotunevaluatedProperties: false 628bab661aSEmmanuel Vadot 63f126890aSEmmanuel VadotallOf: 64f126890aSEmmanuel Vadot - if: 65f126890aSEmmanuel Vadot properties: 66f126890aSEmmanuel Vadot compatible: 67*aa1a8ff2SEmmanuel Vadot enum: 68*aa1a8ff2SEmmanuel Vadot - qcom,sm6375-dpu 69*aa1a8ff2SEmmanuel Vadot - qcom,sm6125-dpu 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot then: 72f126890aSEmmanuel Vadot properties: 73f126890aSEmmanuel Vadot clocks: 74f126890aSEmmanuel Vadot minItems: 7 75f126890aSEmmanuel Vadot 76f126890aSEmmanuel Vadot clock-names: 77f126890aSEmmanuel Vadot minItems: 7 78f126890aSEmmanuel Vadot 798bab661aSEmmanuel Vadotexamples: 808bab661aSEmmanuel Vadot - | 818bab661aSEmmanuel Vadot #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 828bab661aSEmmanuel Vadot #include <dt-bindings/clock/qcom,gcc-sc7180.h> 838bab661aSEmmanuel Vadot #include <dt-bindings/power/qcom-rpmpd.h> 848bab661aSEmmanuel Vadot 858bab661aSEmmanuel Vadot display-controller@ae01000 { 868bab661aSEmmanuel Vadot compatible = "qcom,sc7180-dpu"; 878bab661aSEmmanuel Vadot reg = <0x0ae01000 0x8f000>, 888bab661aSEmmanuel Vadot <0x0aeb0000 0x2008>; 898bab661aSEmmanuel Vadot 908bab661aSEmmanuel Vadot reg-names = "mdp", "vbif"; 918bab661aSEmmanuel Vadot 928bab661aSEmmanuel Vadot clocks = <&gcc GCC_DISP_HF_AXI_CLK>, 938bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_AHB_CLK>, 948bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_ROT_CLK>, 958bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, 968bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_CLK>, 978bab661aSEmmanuel Vadot <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 988bab661aSEmmanuel Vadot clock-names = "bus", "iface", "rot", "lut", "core", 998bab661aSEmmanuel Vadot "vsync"; 1008bab661aSEmmanuel Vadot 1018bab661aSEmmanuel Vadot interrupt-parent = <&mdss>; 1028bab661aSEmmanuel Vadot interrupts = <0>; 1038bab661aSEmmanuel Vadot power-domains = <&rpmhpd SC7180_CX>; 1048bab661aSEmmanuel Vadot operating-points-v2 = <&mdp_opp_table>; 1058bab661aSEmmanuel Vadot 1068bab661aSEmmanuel Vadot ports { 1078bab661aSEmmanuel Vadot #address-cells = <1>; 1088bab661aSEmmanuel Vadot #size-cells = <0>; 1098bab661aSEmmanuel Vadot 1108bab661aSEmmanuel Vadot port@0 { 1118bab661aSEmmanuel Vadot reg = <0>; 1128bab661aSEmmanuel Vadot endpoint { 1138bab661aSEmmanuel Vadot remote-endpoint = <&dsi0_in>; 1148bab661aSEmmanuel Vadot }; 1158bab661aSEmmanuel Vadot }; 1168bab661aSEmmanuel Vadot 1178bab661aSEmmanuel Vadot port@2 { 1188bab661aSEmmanuel Vadot reg = <2>; 1198bab661aSEmmanuel Vadot endpoint { 1208bab661aSEmmanuel Vadot remote-endpoint = <&dp_in>; 1218bab661aSEmmanuel Vadot }; 1228bab661aSEmmanuel Vadot }; 1238bab661aSEmmanuel Vadot }; 1248bab661aSEmmanuel Vadot }; 1258bab661aSEmmanuel Vadot... 126