Qualcomm SM8650 Display DPU

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,sm8650-dpu.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Shared schema rule ($ref): /schemas/display/msm/dpu-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,glymur-dpu", "qcom,kaanapali-dpu", "qcom,sa8775p-dpu", "qcom,sm8650-dpu", "qcom,sm8750-dpu", "qcom,x1e80100-dpu"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,qcs8300-dpu"

Item 2

Exact value (const): "qcom,sa8775p-dpu"

reg — required here #

Array item rules (items) #

Item 1

Address offset and size for mdp register set

Item 2

Address offset and size for vbif register set

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mdp"

Item 2

Exact value (const): "vbif"

clocks — required here #

Array item rules (items) #

Item 1

Display hf axi

Item 2

Display MDSS ahb

Item 3

Display lut

Item 4

Display core

Item 5

Display vsync

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "nrt_bus"

Item 2

Exact value (const): "iface"

Item 3

Exact value (const): "lut"

Item 4

Exact value (const): "core"

Item 5

Exact value (const): "vsync"

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>

display-controller@ae01000 {
    compatible = "qcom,sm8650-dpu";
    reg = <0x0ae01000 0x8f000>,
          <0x0aeb0000 0x2008>;
    reg-names = "mdp", "vbif";

    clocks = <&gcc_axi_clk>,
             <&dispcc_ahb_clk>,
             <&dispcc_mdp_lut_clk>,
             <&dispcc_mdp_clk>,
             <&dispcc_vsync_clk>;
    clock-names = "nrt_bus",
                  "iface",
                  "lut",
                  "core",
                  "vsync";

    assigned-clocks = <&dispcc_vsync_clk>;
    assigned-clock-rates = <19200000>;

    operating-points-v2 = <&mdp_opp_table>;
    power-domains = <&rpmhpd RPMHPD_MMCX>;

    interrupt-parent = <&mdss>;
    interrupts = <0>;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            dpu_intf1_out: endpoint {
                remote-endpoint = <&dsi0_in>;
            };
        };

        port@1 {
            reg = <1>;
            dpu_intf2_out: endpoint {
                remote-endpoint = <&dsi1_in>;
            };
        };
    };

    mdp_opp_table: opp-table {
        compatible = "operating-points-v2";

        opp-200000000 {
            opp-hz = /bits/ 64 <200000000>;
            required-opps = <&rpmhpd_opp_low_svs>;
        };

        opp-325000000 {
            opp-hz = /bits/ 64 <325000000>;
            required-opps = <&rpmhpd_opp_svs>;
        };

        opp-375000000 {
            opp-hz = /bits/ 64 <375000000>;
            required-opps = <&rpmhpd_opp_svs_l1>;
        };

        opp-514000000 {
            opp-hz = /bits/ 64 <514000000>;
            required-opps = <&rpmhpd_opp_nom>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page