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 |
---|---|---|
|
|
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
|
|
|
Horizontal synchronization pulse duration of panel driven by this
controller, in pixels
This property is required. |
|
|
Vertical synchronization pulse duration of panel driven by this
controller, in lines
This property is required. |
|
|
Horizontal back porch duration of panel driven by this controller,
in pixels
This property is required. |
|
|
Vertical back porch duration of panel driven by this controller, in lines
This property is required. |
|
|
Horizontal front porch duration of panel driven by this controller,
in pixels
This property is required. |
|
|
Vertical front porch duration of panel driven by this controller, in lines
This property is required. |
|
|
Polarity of horizontal sync pulse
0 selects active low
1 selects active high
This property is required. Legal values: |
|
|
Polarity of vertical sync pulse
0 selects active low
1 selects active high
This property is required. Legal values: |
|
|
Polarity of data enable, sent with each horizontal interval.
0 selects active low
1 selects active high.
This property is required. Legal values: |
|
|
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: |
|
|
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: |
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “zephyr,panel-timing” compatible.
(None)