Samsung AMOLED MIPI-DSI panels

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

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

Maintainers (maintainers): "Hoegeun Kwon <hoegeun.kwon@samsung.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): panel-common.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): "samsung,s6e3ha2", "samsung,s6e3hf2"

When the condition matches (then) #

Required in this object (required): "enable-gpios"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s6e63j0x03", "samsung,s6e3ha2", "samsung,s6e3hf2"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — 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.

te-gpios — not listed as required here #

true — No constraints added by this property rule.

vdd3-supply — required here #

I/O voltage supply

vci-supply — required here #

voltage supply for analog circuits

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

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 = "samsung,s6e3ha2";
        reg = <0>;
        vdd3-supply = <&ldo27_reg>;
        vci-supply = <&ldo28_reg>;
        reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
        enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
        te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 29: Samsung S6E63J0X03 1.63" 320x320 AMOLED panel

Line 31: Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel

Line 33: Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel

Edit this page