blob: ebadc0b68a8964a665bef6eb8ff577a7a9362c1c [file] [log] [blame]
* Freescale MXS LCD Interface (LCDIF)
Required properties:
- compatible: Should be "fsl,<chip>-lcdif". Supported chips include
imx23 and imx28.
- reg: Address and length of the register set for lcdif
- interrupts: Should contain lcdif interrupts
- display : phandle to display node (see below for details)
Optional sub-node:
These properties are required only when driving LCD panels directly:
- pinctrl-names: Should be "default"
- pinctrl-0: pinctrl setting for lcd
- lcd-supply: lcd power supply, usually via GPIO
This property is required only when driving LDB:
- disp-dev: Should be "ldb".
* display node
Required properties:
- bits-per-pixel : <16> for RGB565, <32> for RGB888/666.
- bus-width : number of data lines. Could be <8>, <16>, <18> or <24>.
Optional properties:
- buffers : number of virtualbuffers to initially allocated for
virtual size. e.g. <2> for double buffering.
Optional sub-node:
- display-timings : Refer to binding doc display-timing.txt for details.
This property is required only when driving LCD panels directly.
Examples:
lcdif@80030000 {
compatible = "fsl,imx28-lcdif";
reg = <0x80030000 2000>;
interrupts = <38 86>;
pinctrl-names = "default";
pinctrl-0 = <&lcdif_24bit_pins_a
&lcdif_pins_evk>;
lcd-supply = <&reg_lcd_3v3>;
display: display {
bits-per-pixel = <32>;
bus-width = <24>;
buffers = <2>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <33500000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <164>;
hback-porch = <89>;
hsync-len = <10>;
vback-porch = <23>;
vfront-porch = <10>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
};
};
};
};