xref: /freebsd/sys/contrib/device-tree/Bindings/display/msm/qcom,sdm845-dpu.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1aa1a8ff2SEmmanuel 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,sdm845-dpu.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm Display DPU on SDM845
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:
16*8d13bc63SEmmanuel Vadot    enum:
17*8d13bc63SEmmanuel Vadot      - qcom,sdm670-dpu
18*8d13bc63SEmmanuel Vadot      - qcom,sdm845-dpu
198bab661aSEmmanuel Vadot
208bab661aSEmmanuel Vadot  reg:
218bab661aSEmmanuel Vadot    items:
228bab661aSEmmanuel Vadot      - description: Address offset and size for mdp register set
238bab661aSEmmanuel Vadot      - description: Address offset and size for vbif register set
248bab661aSEmmanuel Vadot
258bab661aSEmmanuel Vadot  reg-names:
268bab661aSEmmanuel Vadot    items:
278bab661aSEmmanuel Vadot      - const: mdp
288bab661aSEmmanuel Vadot      - const: vbif
298bab661aSEmmanuel Vadot
308bab661aSEmmanuel Vadot  clocks:
318bab661aSEmmanuel Vadot    items:
328bab661aSEmmanuel Vadot      - description: Display GCC bus clock
338bab661aSEmmanuel Vadot      - description: Display ahb clock
348bab661aSEmmanuel Vadot      - description: Display axi clock
358bab661aSEmmanuel Vadot      - description: Display core clock
368bab661aSEmmanuel Vadot      - description: Display vsync clock
378bab661aSEmmanuel Vadot
388bab661aSEmmanuel Vadot  clock-names:
398bab661aSEmmanuel Vadot    items:
408bab661aSEmmanuel Vadot      - const: gcc-bus
418bab661aSEmmanuel Vadot      - const: iface
428bab661aSEmmanuel Vadot      - const: bus
438bab661aSEmmanuel Vadot      - const: core
448bab661aSEmmanuel Vadot      - const: vsync
458bab661aSEmmanuel Vadot
46cb7aa33aSEmmanuel Vadotrequired:
47cb7aa33aSEmmanuel Vadot  - compatible
48cb7aa33aSEmmanuel Vadot  - reg
49cb7aa33aSEmmanuel Vadot  - reg-names
50cb7aa33aSEmmanuel Vadot  - clocks
51cb7aa33aSEmmanuel Vadot  - clock-names
52cb7aa33aSEmmanuel Vadot
538bab661aSEmmanuel VadotunevaluatedProperties: false
548bab661aSEmmanuel Vadot
558bab661aSEmmanuel Vadotexamples:
568bab661aSEmmanuel Vadot  - |
578bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
588bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sdm845.h>
598bab661aSEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
608bab661aSEmmanuel Vadot
618bab661aSEmmanuel Vadot    display-controller@ae01000 {
628bab661aSEmmanuel Vadot        compatible = "qcom,sdm845-dpu";
638bab661aSEmmanuel Vadot        reg = <0x0ae01000 0x8f000>,
648bab661aSEmmanuel Vadot              <0x0aeb0000 0x2008>;
658bab661aSEmmanuel Vadot        reg-names = "mdp", "vbif";
668bab661aSEmmanuel Vadot
678bab661aSEmmanuel Vadot        clocks = <&gcc GCC_DISP_AXI_CLK>,
688bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
698bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_AXI_CLK>,
708bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
718bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
728bab661aSEmmanuel Vadot        clock-names = "gcc-bus", "iface", "bus", "core", "vsync";
738bab661aSEmmanuel Vadot
748bab661aSEmmanuel Vadot        interrupt-parent = <&mdss>;
758bab661aSEmmanuel Vadot        interrupts = <0>;
768bab661aSEmmanuel Vadot        power-domains = <&rpmhpd SDM845_CX>;
778bab661aSEmmanuel Vadot        operating-points-v2 = <&mdp_opp_table>;
788bab661aSEmmanuel Vadot
798bab661aSEmmanuel Vadot        ports {
808bab661aSEmmanuel Vadot            #address-cells = <1>;
818bab661aSEmmanuel Vadot            #size-cells = <0>;
828bab661aSEmmanuel Vadot
838bab661aSEmmanuel Vadot            port@0 {
848bab661aSEmmanuel Vadot                reg = <0>;
858bab661aSEmmanuel Vadot                endpoint {
868bab661aSEmmanuel Vadot                    remote-endpoint = <&dsi0_in>;
878bab661aSEmmanuel Vadot                };
888bab661aSEmmanuel Vadot            };
898bab661aSEmmanuel Vadot
908bab661aSEmmanuel Vadot            port@1 {
918bab661aSEmmanuel Vadot                reg = <1>;
928bab661aSEmmanuel Vadot                endpoint {
938bab661aSEmmanuel Vadot                    remote-endpoint = <&dsi1_in>;
948bab661aSEmmanuel Vadot                };
958bab661aSEmmanuel Vadot            };
968bab661aSEmmanuel Vadot        };
978bab661aSEmmanuel Vadot    };
988bab661aSEmmanuel Vadot...
99