xref: /linux/Documentation/devicetree/bindings/display/msm/qcom,msm8998-dpu.yaml (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*440b075bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
29410872fSDmitry Baryshkov%YAML 1.2
39410872fSDmitry Baryshkov---
49410872fSDmitry Baryshkov$id: http://devicetree.org/schemas/display/msm/qcom,msm8998-dpu.yaml#
59410872fSDmitry Baryshkov$schema: http://devicetree.org/meta-schemas/core.yaml#
69410872fSDmitry Baryshkov
7477bdf8bSKrzysztof Kozlowskititle: Qualcomm Display DPU on MSM8998
89410872fSDmitry Baryshkov
99410872fSDmitry Baryshkovmaintainers:
109410872fSDmitry Baryshkov  - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
119410872fSDmitry Baryshkov
129410872fSDmitry Baryshkov$ref: /schemas/display/msm/dpu-common.yaml#
139410872fSDmitry Baryshkov
149410872fSDmitry Baryshkovproperties:
159410872fSDmitry Baryshkov  compatible:
167ad65866SKrzysztof Kozlowski    const: qcom,msm8998-dpu
179410872fSDmitry Baryshkov
189410872fSDmitry Baryshkov  reg:
199410872fSDmitry Baryshkov    items:
209410872fSDmitry Baryshkov      - description: Address offset and size for mdp register set
219410872fSDmitry Baryshkov      - description: Address offset and size for regdma register set
229410872fSDmitry Baryshkov      - description: Address offset and size for vbif register set
239410872fSDmitry Baryshkov      - description: Address offset and size for non-realtime vbif register set
249410872fSDmitry Baryshkov
259410872fSDmitry Baryshkov  reg-names:
269410872fSDmitry Baryshkov    items:
279410872fSDmitry Baryshkov      - const: mdp
289410872fSDmitry Baryshkov      - const: regdma
299410872fSDmitry Baryshkov      - const: vbif
309410872fSDmitry Baryshkov      - const: vbif_nrt
319410872fSDmitry Baryshkov
329410872fSDmitry Baryshkov  clocks:
339410872fSDmitry Baryshkov    items:
349410872fSDmitry Baryshkov      - description: Display ahb clock
359410872fSDmitry Baryshkov      - description: Display axi clock
369410872fSDmitry Baryshkov      - description: Display mem-noc clock
379410872fSDmitry Baryshkov      - description: Display core clock
389410872fSDmitry Baryshkov      - description: Display vsync clock
399410872fSDmitry Baryshkov
409410872fSDmitry Baryshkov  clock-names:
419410872fSDmitry Baryshkov    items:
429410872fSDmitry Baryshkov      - const: iface
439410872fSDmitry Baryshkov      - const: bus
449410872fSDmitry Baryshkov      - const: mnoc
459410872fSDmitry Baryshkov      - const: core
469410872fSDmitry Baryshkov      - const: vsync
479410872fSDmitry Baryshkov
4873162e5dSDmitry Baryshkovrequired:
4973162e5dSDmitry Baryshkov  - compatible
5073162e5dSDmitry Baryshkov  - reg
5173162e5dSDmitry Baryshkov  - reg-names
5273162e5dSDmitry Baryshkov  - clocks
5373162e5dSDmitry Baryshkov  - clock-names
5473162e5dSDmitry Baryshkov
559410872fSDmitry BaryshkovunevaluatedProperties: false
569410872fSDmitry Baryshkov
579410872fSDmitry Baryshkovexamples:
589410872fSDmitry Baryshkov  - |
599410872fSDmitry Baryshkov    #include <dt-bindings/clock/qcom,mmcc-msm8998.h>
609410872fSDmitry Baryshkov    #include <dt-bindings/power/qcom-rpmpd.h>
619410872fSDmitry Baryshkov
629410872fSDmitry Baryshkov    display-controller@c901000 {
639410872fSDmitry Baryshkov        compatible = "qcom,msm8998-dpu";
649410872fSDmitry Baryshkov        reg = <0x0c901000 0x8f000>,
659410872fSDmitry Baryshkov              <0x0c9a8e00 0xf0>,
669410872fSDmitry Baryshkov              <0x0c9b0000 0x2008>,
679410872fSDmitry Baryshkov              <0x0c9b8000 0x1040>;
689410872fSDmitry Baryshkov        reg-names = "mdp", "regdma", "vbif", "vbif_nrt";
699410872fSDmitry Baryshkov
709410872fSDmitry Baryshkov        clocks = <&mmcc MDSS_AHB_CLK>,
719410872fSDmitry Baryshkov                 <&mmcc MDSS_AXI_CLK>,
729410872fSDmitry Baryshkov                 <&mmcc MNOC_AHB_CLK>,
739410872fSDmitry Baryshkov                 <&mmcc MDSS_MDP_CLK>,
749410872fSDmitry Baryshkov                 <&mmcc MDSS_VSYNC_CLK>;
759410872fSDmitry Baryshkov        clock-names = "iface", "bus", "mnoc", "core", "vsync";
769410872fSDmitry Baryshkov
779410872fSDmitry Baryshkov        interrupt-parent = <&mdss>;
789410872fSDmitry Baryshkov        interrupts = <0>;
799410872fSDmitry Baryshkov        operating-points-v2 = <&mdp_opp_table>;
809410872fSDmitry Baryshkov        power-domains = <&rpmpd MSM8998_VDDMX>;
819410872fSDmitry Baryshkov
829410872fSDmitry Baryshkov        ports {
839410872fSDmitry Baryshkov            #address-cells = <1>;
849410872fSDmitry Baryshkov            #size-cells = <0>;
859410872fSDmitry Baryshkov
869410872fSDmitry Baryshkov            port@0 {
879410872fSDmitry Baryshkov                reg = <0>;
889410872fSDmitry Baryshkov                endpoint {
899410872fSDmitry Baryshkov                    remote-endpoint = <&dsi0_in>;
909410872fSDmitry Baryshkov                };
919410872fSDmitry Baryshkov            };
929410872fSDmitry Baryshkov
939410872fSDmitry Baryshkov            port@1 {
949410872fSDmitry Baryshkov                reg = <1>;
959410872fSDmitry Baryshkov                endpoint {
969410872fSDmitry Baryshkov                    remote-endpoint = <&dsi1_in>;
979410872fSDmitry Baryshkov                };
989410872fSDmitry Baryshkov            };
999410872fSDmitry Baryshkov        };
1009410872fSDmitry Baryshkov    };
1019410872fSDmitry Baryshkov...
102