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.

nxp,imx-elcdif

Vendor: NXP Semiconductors

Description

NXP i.MX eLCDIF (Enhanced LCD Interface) controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

hsync

int

HSYNC pulse width in display clock cycles

This property is required.

hfp

int

Horizontal front porch in display clock cycles

This property is required.

hbp

int

Horizontal back porch in display clock cycles

This property is required.

vsync

int

VSYNC pulse width in display clock cycles

This property is required.

vfp

int

Vertical front porch in display clock cycles

This property is required.

vbp

int

Vertical back porch in display clock cycles

This property is required.

polarity

int

OR'ed value of elcdif_polarity_flags, used to control the signal polarity. 0000 VSYNC active low, HSYNC active low, Drive data on falling edge, Data enable active low. 0001 VSYNC active low, HSYNC active low, Drive data on falling edge, Data enable active high. 0010 VSYNC active low, HSYNC active low, Drive data on rising edge, Data enable active low. 0011 VSYNC active low, HSYNC active low, Drive data on rising edge, Data enable active high. 0100 VSYNC active low, HSYNC active high, Drive data on falling edge, Data enable active low. 0101 VSYNC active low, HSYNC active high, Drive data on falling edge, Data enable active high. 0110 VSYNC active low, HSYNC active high, Drive data on rising edge, Data enable active low. 0111 VSYNC active low, HSYNC active high, Drive data on rising edge, Data enable active high. 1000 VSYNC active high, HSYNC active low, Drive data on falling edge, Data enable active low. 1001 VSYNC active high, HSYNC active low, Drive data on falling edge, Data enable active high. 1010 VSYNC active high, HSYNC active low, Drive data on rising edge, Data enable active low. 1011 VSYNC active high, HSYNC active low, Drive data on rising edge, Data enable active high. 1100 VSYNC active high, HSYNC active high, Drive data on falling edge, Data enable active low. 1101 VSYNC active high, HSYNC active high, Drive data on falling edge, Data enable active high. 1110 VSYNC active high, HSYNC active high, Drive data on rising edge, Data enable active low. 1111 VSYNC active high, HSYNC active high, Drive data on rising edge, Data enable active high.

This property is required.

Legal values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

pixel-format

string

Display pixel format.

This property is required.

Legal values: 'rgb-888', 'bgr-565'

data-buswidth

string

LCD data bus width. The default is set to the reset value of 16-bit

Default value: 16-bit

Legal values: '16-bit', '8-bit', '18-bit', '24-bit'

backlight-gpios

phandle-array

LCB backlight control gpio. Driver will initialize this GPIO to active high

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-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

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.