This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

st,stm32-ltdc

Vendor: STMicroelectronics

Description

STM32 LCD-TFT display controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

disp-on-gpios

phandle-array

Display on/off GPIO pin.
Configure the GPIO polarity (active high/active low) according to LCD datasheet.

bl-ctrl-gpios

phandle-array

Backlight on/off GPIO pin.
Configure the GPIO polarity (active high/active low) according to LCD datasheet.

ext-sdram

phandle

External SDRAM in which frame buffer will be stored.
If not defined, internal RAM will be used.

pinctrl-0

phandles

Provide a pin configuration for using parallel pixel output. In combination with DSI HOST
the pin configuration is not necessary due to dedicated (MIPI D-PHY) pins.

def-back-color-red

int

Default display background color - red

def-back-color-green

int

Default display background color - green

def-back-color-blue

int

Default display background color - blue

window0-x0

int

First pixel in x direction on layer 0. Defaults to 0.

window0-x1

int

Last pixel in x direction on layer 0. Defaults to width.

window0-y0

int

First pixel in y direction on layer 0. Defaults to 0.

window0-y1

int

Last pixel in y direction on layer 0. Defaults to height.

display-controller

phandle

Phandle of the display's controller. When provided, it's used to forward some of the
configuration calls (e.g. blanking on/off) sent to LTDC device.

pixel-format

int

Initial Pixel format for panel attached to this controller.
See dt-bindings/display/panel.h for a list

This property is required.

height

int

Height of the panel driven by the controller, with the units in pixels.

This property is required.

width

int

Width of the panel driven by the controller, with the units in pixels.

This property is required.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.