The latest development version of this page may be more current than this released 3.7.0 version.

zephyr,panel-timing

Vendor: Zephyr-specific binding

Description

Common timing settings for display panels. These timings can be added to
a panel under display-timings node. For example:

&lcdif {
  display-timings {
    compatible = "zephyr,panel-timing";
    hsync-len = <8>;
    hfront-porch = <32>;
    hback-porch = <32>;
    vsync-len = <2>;
    vfront-porch = <16>;
    vback-porch = <14>;
    hsync-active = <0>;
    vsync-active = <0>;
    de-active = <1>;
    pixelclk-active = <0>;
    clock-frequency = <62346240>;
  };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

clock-frequency

int

Pixel clock for display controller in Hz. Must be at least as large as:
(height + vsync-len + vfront-porch + vback-porch) *
(width + hsync-len + hfront-porch + hback-porch) *
desired frame rate

hsync-len

int

Horizontal synchronization pulse duration of panel driven by this
controller, in pixels

This property is required.

vsync-len

int

Vertical synchronization pulse duration of panel driven by this
controller, in lines

This property is required.

hback-porch

int

Horizontal back porch duration of panel driven by this controller,
in pixels

This property is required.

vback-porch

int

Vertical back porch duration of panel driven by this controller, in lines

This property is required.

hfront-porch

int

Horizontal front porch duration of panel driven by this controller,
in pixels

This property is required.

vfront-porch

int

Vertical front porch duration of panel driven by this controller, in lines

This property is required.

hsync-active

int

Polarity of horizontal sync pulse
0 selects active low
1 selects active high

This property is required.

Legal values: 0, 1

vsync-active

int

Polarity of vertical sync pulse
0 selects active low
1 selects active high

This property is required.

Legal values: 0, 1

de-active

int

Polarity of data enable, sent with each horizontal interval.
0 selects active low
1 selects active high.

This property is required.

Legal values: 0, 1

pixelclk-active

int

Polarity of pixel clock. Selects which edge to drive data to display on.
0 drives pixel data on falling edge, and samples on rising edge.
1 drives pixel data on rising edge, and samples data on falling edge

This property is required.

Legal values: 0, 1

syncclk-active

int

Drive sync on rising or sample sync on falling edge. If not specified
then the controller uses the setup specified by pixelclk-active.
Use 0 to drive sync on falling edge
and sample sync on rising edge of pixel clock.
Use 1 to drive sync on rising edge
and sample sync on falling edge of pixel clock.

Legal values: 0, 1