xref: /linux/Documentation/devicetree/bindings/display/msm/qcom,msm8998-dpu.yaml (revision 477bdf8b2fd1b016b064386642ba6b306567c864)
19410872fSDmitry Baryshkov# 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
7*477bdf8bSKrzysztof 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:
169410872fSDmitry Baryshkov    items:
179410872fSDmitry Baryshkov      - const: qcom,msm8998-dpu
189410872fSDmitry Baryshkov
199410872fSDmitry Baryshkov  reg:
209410872fSDmitry Baryshkov    items:
219410872fSDmitry Baryshkov      - description: Address offset and size for mdp register set
229410872fSDmitry Baryshkov      - description: Address offset and size for regdma register set
239410872fSDmitry Baryshkov      - description: Address offset and size for vbif register set
249410872fSDmitry Baryshkov      - description: Address offset and size for non-realtime vbif register set
259410872fSDmitry Baryshkov
269410872fSDmitry Baryshkov  reg-names:
279410872fSDmitry Baryshkov    items:
289410872fSDmitry Baryshkov      - const: mdp
299410872fSDmitry Baryshkov      - const: regdma
309410872fSDmitry Baryshkov      - const: vbif
319410872fSDmitry Baryshkov      - const: vbif_nrt
329410872fSDmitry Baryshkov
339410872fSDmitry Baryshkov  clocks:
349410872fSDmitry Baryshkov    items:
359410872fSDmitry Baryshkov      - description: Display ahb clock
369410872fSDmitry Baryshkov      - description: Display axi clock
379410872fSDmitry Baryshkov      - description: Display mem-noc clock
389410872fSDmitry Baryshkov      - description: Display core clock
399410872fSDmitry Baryshkov      - description: Display vsync clock
409410872fSDmitry Baryshkov
419410872fSDmitry Baryshkov  clock-names:
429410872fSDmitry Baryshkov    items:
439410872fSDmitry Baryshkov      - const: iface
449410872fSDmitry Baryshkov      - const: bus
459410872fSDmitry Baryshkov      - const: mnoc
469410872fSDmitry Baryshkov      - const: core
479410872fSDmitry Baryshkov      - const: vsync
489410872fSDmitry Baryshkov
499410872fSDmitry BaryshkovunevaluatedProperties: false
509410872fSDmitry Baryshkov
519410872fSDmitry Baryshkovexamples:
529410872fSDmitry Baryshkov  - |
539410872fSDmitry Baryshkov    #include <dt-bindings/clock/qcom,mmcc-msm8998.h>
549410872fSDmitry Baryshkov    #include <dt-bindings/power/qcom-rpmpd.h>
559410872fSDmitry Baryshkov
569410872fSDmitry Baryshkov    display-controller@c901000 {
579410872fSDmitry Baryshkov        compatible = "qcom,msm8998-dpu";
589410872fSDmitry Baryshkov        reg = <0x0c901000 0x8f000>,
599410872fSDmitry Baryshkov              <0x0c9a8e00 0xf0>,
609410872fSDmitry Baryshkov              <0x0c9b0000 0x2008>,
619410872fSDmitry Baryshkov              <0x0c9b8000 0x1040>;
629410872fSDmitry Baryshkov        reg-names = "mdp", "regdma", "vbif", "vbif_nrt";
639410872fSDmitry Baryshkov
649410872fSDmitry Baryshkov        clocks = <&mmcc MDSS_AHB_CLK>,
659410872fSDmitry Baryshkov                 <&mmcc MDSS_AXI_CLK>,
669410872fSDmitry Baryshkov                 <&mmcc MNOC_AHB_CLK>,
679410872fSDmitry Baryshkov                 <&mmcc MDSS_MDP_CLK>,
689410872fSDmitry Baryshkov                 <&mmcc MDSS_VSYNC_CLK>;
699410872fSDmitry Baryshkov        clock-names = "iface", "bus", "mnoc", "core", "vsync";
709410872fSDmitry Baryshkov
719410872fSDmitry Baryshkov        interrupt-parent = <&mdss>;
729410872fSDmitry Baryshkov        interrupts = <0>;
739410872fSDmitry Baryshkov        operating-points-v2 = <&mdp_opp_table>;
749410872fSDmitry Baryshkov        power-domains = <&rpmpd MSM8998_VDDMX>;
759410872fSDmitry Baryshkov
769410872fSDmitry Baryshkov        ports {
779410872fSDmitry Baryshkov            #address-cells = <1>;
789410872fSDmitry Baryshkov            #size-cells = <0>;
799410872fSDmitry Baryshkov
809410872fSDmitry Baryshkov            port@0 {
819410872fSDmitry Baryshkov                reg = <0>;
829410872fSDmitry Baryshkov                endpoint {
839410872fSDmitry Baryshkov                    remote-endpoint = <&dsi0_in>;
849410872fSDmitry Baryshkov                };
859410872fSDmitry Baryshkov            };
869410872fSDmitry Baryshkov
879410872fSDmitry Baryshkov            port@1 {
889410872fSDmitry Baryshkov                reg = <1>;
899410872fSDmitry Baryshkov                endpoint {
909410872fSDmitry Baryshkov                    remote-endpoint = <&dsi1_in>;
919410872fSDmitry Baryshkov                };
929410872fSDmitry Baryshkov            };
939410872fSDmitry Baryshkov        };
949410872fSDmitry Baryshkov    };
959410872fSDmitry Baryshkov...
96