Generic MIPI DPI Panel

Schema identifier ($id): "http://devicetree.org/schemas/display/panel/panel-dpi.yaml#"

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

Maintainers (maintainers): "Sam Ravnborg <sam@ravnborg.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Shall contain a panel specific compatible and "panel-dpi" in that order.

Array item rules (items) #

Item 1

This rule adds no constraints.

Item 2

Exact value (const): "panel-dpi"

backlight — not listed as required here #

true — No constraints added by this property rule.

enable-gpios — not listed as required here #

true — No constraints added by this property rule.

height-mm — not listed as required here #

true — No constraints added by this property rule.

label — not listed as required here #

true — No constraints added by this property rule.

panel-timing — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

power-supply — required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

true — No constraints added by this property rule.

width-mm — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "panel-timing", "power-supply"

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

false

Not allowed by this rule.

Examples (examples) #

panel {
    compatible = "startek,startek-kd050c", "panel-dpi";
    label = "osddisplay";
    power-supply = <&vcc_supply>;
    backlight = <&backlight>;

    port {
        lcd_in: endpoint {
            remote-endpoint = <&dpi_out>;
        };
    };
    panel-timing {
        clock-frequency = <9200000>;
        hactive = <800>;
        vactive = <480>;
        hfront-porch = <8>;
        hback-porch = <4>;
        hsync-len = <41>;
        vback-porch = <2>;
        vfront-porch = <4>;
        vsync-len = <10>;

        hsync-active = <0>;
        vsync-active = <0>;
        de-active = <1>;
        pixelclk-active = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page