xref: /freebsd/sys/contrib/device-tree/Bindings/display/msm/qcom,qcm2290-dpu.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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,qcm2290-dpu.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm Display DPU on QCM2290
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Loic Poulain <loic.poulain@linaro.org>
118bab661aSEmmanuel Vadot
128bab661aSEmmanuel Vadot$ref: /schemas/display/msm/dpu-common.yaml#
138bab661aSEmmanuel Vadot
148bab661aSEmmanuel Vadotproperties:
158bab661aSEmmanuel Vadot  compatible:
16cb7aa33aSEmmanuel Vadot    const: qcom,qcm2290-dpu
178bab661aSEmmanuel Vadot
188bab661aSEmmanuel Vadot  reg:
198bab661aSEmmanuel Vadot    items:
208bab661aSEmmanuel Vadot      - description: Address offset and size for mdp register set
218bab661aSEmmanuel Vadot      - description: Address offset and size for vbif register set
228bab661aSEmmanuel Vadot
238bab661aSEmmanuel Vadot  reg-names:
248bab661aSEmmanuel Vadot    items:
258bab661aSEmmanuel Vadot      - const: mdp
268bab661aSEmmanuel Vadot      - const: vbif
278bab661aSEmmanuel Vadot
288bab661aSEmmanuel Vadot  clocks:
298bab661aSEmmanuel Vadot    items:
308bab661aSEmmanuel Vadot      - description: Display AXI clock from gcc
318bab661aSEmmanuel Vadot      - description: Display AHB clock from dispcc
328bab661aSEmmanuel Vadot      - description: Display core clock from dispcc
338bab661aSEmmanuel Vadot      - description: Display lut clock from dispcc
348bab661aSEmmanuel Vadot      - description: Display vsync clock from dispcc
358bab661aSEmmanuel Vadot
368bab661aSEmmanuel Vadot  clock-names:
378bab661aSEmmanuel Vadot    items:
388bab661aSEmmanuel Vadot      - const: bus
398bab661aSEmmanuel Vadot      - const: iface
408bab661aSEmmanuel Vadot      - const: core
418bab661aSEmmanuel Vadot      - const: lut
428bab661aSEmmanuel Vadot      - const: vsync
438bab661aSEmmanuel Vadot
44cb7aa33aSEmmanuel Vadotrequired:
45cb7aa33aSEmmanuel Vadot  - compatible
46cb7aa33aSEmmanuel Vadot  - reg
47cb7aa33aSEmmanuel Vadot  - reg-names
48cb7aa33aSEmmanuel Vadot  - clocks
49cb7aa33aSEmmanuel Vadot  - clock-names
50cb7aa33aSEmmanuel Vadot
518bab661aSEmmanuel VadotunevaluatedProperties: false
528bab661aSEmmanuel Vadot
538bab661aSEmmanuel Vadotexamples:
548bab661aSEmmanuel Vadot  - |
558bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,dispcc-qcm2290.h>
568bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-qcm2290.h>
578bab661aSEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
588bab661aSEmmanuel Vadot
598bab661aSEmmanuel Vadot    display-controller@5e01000 {
608bab661aSEmmanuel Vadot        compatible = "qcom,qcm2290-dpu";
618bab661aSEmmanuel Vadot        reg = <0x05e01000 0x8f000>,
628bab661aSEmmanuel Vadot              <0x05eb0000 0x2008>;
638bab661aSEmmanuel Vadot        reg-names = "mdp", "vbif";
648bab661aSEmmanuel Vadot
658bab661aSEmmanuel Vadot        clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
668bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_AHB_CLK>,
678bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_MDP_CLK>,
688bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>,
698bab661aSEmmanuel Vadot                 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
708bab661aSEmmanuel Vadot        clock-names = "bus", "iface", "core", "lut", "vsync";
718bab661aSEmmanuel Vadot
728bab661aSEmmanuel Vadot        operating-points-v2 = <&mdp_opp_table>;
738bab661aSEmmanuel Vadot        power-domains = <&rpmpd QCM2290_VDDCX>;
748bab661aSEmmanuel Vadot
758bab661aSEmmanuel Vadot        interrupt-parent = <&mdss>;
768bab661aSEmmanuel Vadot        interrupts = <0>;
778bab661aSEmmanuel Vadot
788bab661aSEmmanuel Vadot        ports {
798bab661aSEmmanuel Vadot            #address-cells = <1>;
808bab661aSEmmanuel Vadot            #size-cells = <0>;
818bab661aSEmmanuel Vadot
828bab661aSEmmanuel Vadot            port@0 {
838bab661aSEmmanuel Vadot                reg = <0>;
848bab661aSEmmanuel Vadot                endpoint {
858bab661aSEmmanuel Vadot                    remote-endpoint = <&dsi0_in>;
868bab661aSEmmanuel Vadot                };
878bab661aSEmmanuel Vadot            };
888bab661aSEmmanuel Vadot        };
898bab661aSEmmanuel Vadot    };
908bab661aSEmmanuel Vadot...
91