video: mxsfb: get display timings from device tree
[deliverable/linux.git] / Documentation / devicetree / bindings / fb / mxsfb.txt
1 * Freescale MXS LCD Interface (LCDIF)
2
3 Required properties:
4 - compatible: Should be "fsl,<chip>-lcdif". Supported chips include
5 imx23 and imx28.
6 - reg: Address and length of the register set for lcdif
7 - interrupts: Should contain lcdif interrupts
8 - display : phandle to display node (see below for details)
9
10 Optional properties:
11 - panel-enable-gpios : Should specify the gpio for panel enable
12
13 * display node
14
15 Required properties:
16 - bits-per-pixel : <16> for RGB565, <32> for RGB888/666.
17 - bus-width : number of data lines. Could be <8>, <16>, <18> or <24>.
18
19 Required sub-node:
20 - display-timings : Refer to binding doc display-timing.txt for details.
21
22 Examples:
23
24 lcdif@80030000 {
25 compatible = "fsl,imx28-lcdif";
26 reg = <0x80030000 2000>;
27 interrupts = <38 86>;
28 panel-enable-gpios = <&gpio3 30 0>;
29
30 display: display {
31 bits-per-pixel = <32>;
32 bus-width = <24>;
33
34 display-timings {
35 native-mode = <&timing0>;
36 timing0: timing0 {
37 clock-frequency = <33500000>;
38 hactive = <800>;
39 vactive = <480>;
40 hfront-porch = <164>;
41 hback-porch = <89>;
42 hsync-len = <10>;
43 vback-porch = <23>;
44 vfront-porch = <10>;
45 vsync-len = <10>;
46 hsync-active = <0>;
47 vsync-active = <0>;
48 de-active = <1>;
49 pixelclk-active = <0>;
50 };
51 };
52 };
53 };
This page took 0.040421 seconds and 6 git commands to generate.