Truly NT35597 DSI 2K display

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/truly,nt35597-2K-display.yaml#"

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

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

Truly NT35597 DSI 2K display is used on the Qualcomm SDM845 MTP board.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common-dual.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "truly,nt35597-2K-display"

reg — required here #

Maximum number of items (maxItems): 1

vdda-supply — required here #

regulator that provides the supply voltage Power IC supply

vdispp-supply — not listed as required here #

regulator that provides the supply voltage for positive LCD bias

vdispn-supply — not listed as required here #

regulator that provides the supply voltage for negative LCD bias

reset-gpios — required here #

true — No constraints added by this property rule.

mode-gpios — required here #

Gpio for choosing the mode of the display for single DSI or Dual DSI. This should be low for dual DSI and high for single DSI mode.

ports — required here #

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "reg", "vdda-supply", "reset-gpios", "mode-gpios", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

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

    panel@0 {
        compatible = "truly,nt35597-2K-display";
        reg = <0>;

        vdda-supply = <&pm8998_l14>;
        vdispp-supply = <&lab_regulator>;
        vdispn-supply = <&ibb_regulator>;

        reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
        mode-gpios = <&tlmm 52 GPIO_ACTIVE_HIGH>;

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

            port@0 {
                reg = <0>;

                panel0_in: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1 {
                reg = <1>;

                panel1_in: endpoint {
                    remote-endpoint = <&dsi1_out>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page