summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/video/via,vt8500-fb.txt
blob: c870b6478ec81861ada145526dc8c0644b1806aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
VIA VT8500 Framebuffer
-----------------------------------------------------

Required properties:
- compatible : "via,vt8500-fb"
- reg : Should contain 1 register ranges(address and length)
- interrupts : framebuffer controller interrupt
- display: a phandle pointing to the display node

Required nodes:
- display: a display node is required to initialize the lcd panel
	This should be in the board dts.
- default-mode: a videomode within the display with timing parameters
	as specified below.

Example:

	fb@d800e400 {
		compatible = "via,vt8500-fb";
		reg = <0xd800e400 0x400>;
		interrupts = <12>;
		display = <&display>;
		default-mode = <&mode0>;
	};

VIA VT8500 Display
-----------------------------------------------------
Required properties (as per of_videomode_helper):

 - hactive, vactive: Display resolution
 - hfront-porch, hback-porch, hsync-len: Horizontal Display timing parameters
   in pixels
   vfront-porch, vback-porch, vsync-len: Vertical display timing parameters in
   lines
 - clock: displayclock in Hz
 - bpp: lcd panel bit-depth.
	<16> for RGB565, <32> for RGB888

Optional properties (as per of_videomode_helper):
 - width-mm, height-mm: Display dimensions in mm
 - hsync-active-high (bool): Hsync pulse is active high
 - vsync-active-high (bool): Vsync pulse is active high
 - interlaced (bool): This is an interlaced mode
 - doublescan (bool): This is a doublescan mode

Example:
	display: display@0 {
		modes {
			mode0: mode@0 {
				hactive = <800>;
				vactive = <480>;
				hback-porch = <88>;
				hfront-porch = <40>;
				hsync-len = <0>;
				vback-porch = <32>;
				vfront-porch = <11>;
				vsync-len = <1>;
				clock = <0>;	/* unused but required */
				bpp = <16>;	/* non-standard but required */
			};
		};
	};
OpenPOWER on IntegriCloud