Common Properties for Display Panels

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

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

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>"

This document defines device tree properties common to several classes of display panels. It doesn't constitute a device tree binding specification by itself but is meant to be referenced by device tree bindings.

When referenced from panel device tree bindings the properties defined in this document are defined as follows. The panel device tree bindings are responsible for defining whether each property is required or optional.

Properties and child nodes (properties) #

width-mm — not listed as required here #

Specifies the width of the physical area where images are displayed. This property is expressed in millimeters and rounded to the closest unit.

height-mm — not listed as required here #

Specifies the height of the physical area where images are displayed. This property is expressed in millimeters and rounded to the closest unit.

label — not listed as required here #

The label property specifies a symbolic name for the panel as a string suitable for use by humans. It typically contains a name inscribed on the system (e.g. as an affixed label) or specified in the system's documentation (e.g. in the user's manual).

If no such name exists, and unless the property is mandatory according to device tree bindings, it shall rather be omitted than constructed of non-descriptive information. For instance an LCD panel in a system that contains a single panel shall not be labelled "LCD" if that name is not inscribed on the system or used in a descriptive fashion in system documentation.

rotation — not listed as required here #

Display rotation in degrees counter clockwise (0,90,180,270)

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

Allowed values (enum): 0, 90, 180, 270

flip-horizontal — not listed as required here #

boolean to flip image horizontally

Value type (type): "boolean"

flip-vertical — not listed as required here #

boolean to flip image vertically

Value type (type): "boolean"

panel-timing — not listed as required here #

Most display panels are restricted to a single resolution and require specific display timings. The panel-timing subnode expresses those timings.

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

display-timings — not listed as required here #

Some display panels support several resolutions with different timings. The display-timings bindings supports specifying several timings and optionally specifying which is the native mode.

Shared schema rule ($ref): display-timings.yaml#

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

ddc-i2c-bus — not listed as required here #

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

Some panels expose EDID information through an I2C-compatible bus such as DDC2 or E-DDC. For such panels the ddc-i2c-bus contains a phandle to the system I2C controller connected to that bus.

no-hpd — not listed as required here #

Value type (type): "boolean"

This panel is supposed to communicate that it's ready via HPD (hot plug detect) signal, but the signal isn't hooked up so we should hardcode the max delay from the panel spec when powering up the panel.

hpd-gpios — not listed as required here #

Maximum number of items (maxItems): 1

If Hot Plug Detect (HPD) is connected to a GPIO in the system rather than a dedicated HPD pin the pin can be specified here.

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Specifier for a GPIO connected to the panel enable control signal. The enable signal is active high and enables operation of the panel. This property can also be used for panels implementing an active low power down signal, which is a negated version of the enable signal. Active low enable signals (or active high power down signals) can be supported by inverting the GPIO specifier polarity flag.

Note that the enable signal control panel operation only and must not be confused with a backlight enable signal.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Specifier for a GPIO connected to the panel reset control signal. The reset signal is active low and resets the panel internal logic while active. Active high reset signals can be supported by inverting the GPIO specifier polarity flag.

te-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO spec for the tearing effect synchronization signal. The tearing effect signal is active high. Active low signals can be supported by inverting the GPIO specifier polarity flag.

power-supply — not listed as required here #

Display panels require power to be supplied. While several panels need more than one power supply with panel-specific constraints governing the order and timings of the power supplies, in many cases a single power supply is sufficient, either because the panel has a single power rail, or because all its power rails can be driven by the same supply. In that case the power-supply property specifies the supply powering the panel as a phandle to a regulator.

backlight — not listed as required here #

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

For panels whose backlight is controlled by an external backlight controller, this property contains a phandle that references the controller.

Property dependencies (dependencies) #

width-mm — applies when this property is present #

Also requires: "height-mm"

height-mm — applies when this property is present #

Also requires: "width-mm"

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 23: Descriptive Properties

Line 62: Display Timings

Line 77: Connectivity

Line 101: Control I/Os

Line 103: Many display panels can be controlled through pins driven by GPIOs. The nature

Line 104: and timing of those control signals are device-specific and left for panel

Line 105: device tree bindings to specify. The following GPIO specifiers can however be

Line 106: used for panels that implement compatible control signals.

Line 136: Power

Line 147: Backlight

Line 149: Most display panels include a backlight. Some of them also include a backlight

Line 150: controller exposed through a control bus such as I2C or DSI. Others expose

Line 151: backlight control through GPIO, PWM or other signals connected to an external

Line 152: backlight controller.

Edit this page