Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus

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

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

Maintainers (maintainers): "Andrzej Hajda <a.hajda@samsung.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,ld9040"

reg — required here #

Maximum number of items (maxItems): 1

display-timings — required here #

true — No constraints added by this property rule.

port — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

core voltage supply

vci-supply — required here #

voltage supply for analog circuits

power-on-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

delay after turning regulators on [ms]

reset-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

delay after reset sequence [ms]

panel-width-mm — not listed as required here #

physical panel width [mm]

panel-height-mm — not listed as required here #

physical panel height [mm]

spi-cpha — not listed as required here #

true — No constraints added by this property rule.

spi-cpol — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "vdd3-supply", "vci-supply", "reset-gpios", "display-timings"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    lcd@0 {
        compatible = "samsung,ld9040";

        reg = <0>;
        vdd3-supply = <&ldo7_reg>;
        vci-supply = <&ldo17_reg>;
        reset-gpios = <&gpy4 5 0>;
        spi-max-frequency = <1200000>;
        spi-cpol;
        spi-cpha;
        power-on-delay = <10>;
        reset-delay = <10>;
        panel-width-mm = <90>;
        panel-height-mm = <154>;

        display-timings {
            timing {
                clock-frequency = <23492370>;
                hactive = <480>;
                vactive = <800>;
                hback-porch = <16>;
                hfront-porch = <16>;
                vback-porch = <2>;
                vfront-porch = <28>;
                hsync-len = <2>;
                vsync-len = <1>;
                hsync-active = <0>;
                vsync-active = <0>;
                de-active = <0>;
                pixelclk-active = <0>;
            };
        };

        port {
            lcd_ep: endpoint {
                remote-endpoint = <&fimd_dpi_ep>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page