]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/video/via,vt8500-fb.txt
AUO-K190x: Add resolutions for portrait displays
[karo-tx-linux.git] / Documentation / devicetree / bindings / video / via,vt8500-fb.txt
1 VIA VT8500 Framebuffer
2 -----------------------------------------------------
3
4 Required properties:
5 - compatible : "via,vt8500-fb"
6 - reg : Should contain 1 register ranges(address and length)
7 - interrupts : framebuffer controller interrupt
8 - display: a phandle pointing to the display node
9
10 Required nodes:
11 - display: a display node is required to initialize the lcd panel
12         This should be in the board dts.
13 - default-mode: a videomode within the display with timing parameters
14         as specified below.
15
16 Example:
17
18         fb@d800e400 {
19                 compatible = "via,vt8500-fb";
20                 reg = <0xd800e400 0x400>;
21                 interrupts = <12>;
22                 display = <&display>;
23                 default-mode = <&mode0>;
24         };
25
26 VIA VT8500 Display
27 -----------------------------------------------------
28 Required properties (as per of_videomode_helper):
29
30  - hactive, vactive: Display resolution
31  - hfront-porch, hback-porch, hsync-len: Horizontal Display timing parameters
32    in pixels
33    vfront-porch, vback-porch, vsync-len: Vertical display timing parameters in
34    lines
35  - clock: displayclock in Hz
36  - bpp: lcd panel bit-depth.
37         <16> for RGB565, <32> for RGB888
38
39 Optional properties (as per of_videomode_helper):
40  - width-mm, height-mm: Display dimensions in mm
41  - hsync-active-high (bool): Hsync pulse is active high
42  - vsync-active-high (bool): Vsync pulse is active high
43  - interlaced (bool): This is an interlaced mode
44  - doublescan (bool): This is a doublescan mode
45
46 Example:
47         display: display@0 {
48                 modes {
49                         mode0: mode@0 {
50                                 hactive = <800>;
51                                 vactive = <480>;
52                                 hback-porch = <88>;
53                                 hfront-porch = <40>;
54                                 hsync-len = <0>;
55                                 vback-porch = <32>;
56                                 vfront-porch = <11>;
57                                 vsync-len = <1>;
58                                 clock = <0>;    /* unused but required */
59                                 bpp = <16>;     /* non-standard but required */
60                         };
61                 };
62         };