Novatek NT36523 based DSI display Panels

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/novatek,nt36523.yaml#"

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

Maintainers (maintainers): "Jianhua Lu <lujianhua000@gmail.com>"

The Novatek NT36523 is a generic DSI Panel IC used to drive dsi panels. Support video mode panels from China Star Optoelectronics Technology (CSOT) and BOE Technology.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "xiaomi,elish-boe-nt36523", "xiaomi,elish-csot-nt36523"

Item 2

Exact value (const): "novatek,nt36523"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "lenovo,j606f-boe-nt36523w"

Item 2

Exact value (const): "novatek,nt36523w"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

phandle of gpio for reset line - This should be 8mA

vddio-supply — required here #

regulator that supplies the I/O voltage

rotation — not listed as required here #

true — No constraints added by this property rule.

backlight — not listed as required here #

true — No constraints added by this property rule.

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "novatek,nt36523w"

When the condition matches (then) #

Properties and child nodes (properties)

ports — not listed as required here

Properties and child nodes (properties)

port@1 — not listed as required here

false — Not permitted by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

port — not listed as required here

false — Not permitted by this property rule.

ports — not listed as required here

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

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

    panel@0 {
        compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523";
        reg = <0>;

        vddio-supply = <&vreg_l14a_1p88>;
        reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
        backlight = <&backlight>;

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

            port@0 {
                reg = <0>;
                panel_in_0: endpoint {
                    remote-endpoint = <&dsi0_out>;
                };
            };

            port@1{
                reg = <1>;
                panel_in_1: 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