diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2012-08-04 00:04:56 -0400 |
---|---|---|
committer | Tony Prisk <linux@prisktech.co.nz> | 2012-09-21 03:23:58 -0400 |
commit | 95e9fd10f06cb5642028b6b851e32b8c8afb4571 (patch) | |
tree | 1b7cd1b998f488252f785f1ae105643cead16eac /Documentation/devicetree/bindings/video | |
parent | 85814d69e677d92f66d8d63718d8bdaf72b2e2af (diff) |
arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices
Bindings for gpio, interrupt controller, power management controller,
timer, realtime clock, serial uart, ehci and uhci controllers and
framebuffer controllers used on the arch-vt8500 platform.
Framebuffer binding also specifies a 'display' node which is required
for determining the lcd panel data.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Diffstat (limited to 'Documentation/devicetree/bindings/video')
3 files changed, 98 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/via,vt8500-fb.txt b/Documentation/devicetree/bindings/video/via,vt8500-fb.txt new file mode 100644 index 000000000000..c870b6478ec8 --- /dev/null +++ b/Documentation/devicetree/bindings/video/via,vt8500-fb.txt | |||
@@ -0,0 +1,62 @@ | |||
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 | }; | ||
diff --git a/Documentation/devicetree/bindings/video/wm,prizm-ge-rops.txt b/Documentation/devicetree/bindings/video/wm,prizm-ge-rops.txt new file mode 100644 index 000000000000..a850fa011f02 --- /dev/null +++ b/Documentation/devicetree/bindings/video/wm,prizm-ge-rops.txt | |||
@@ -0,0 +1,13 @@ | |||
1 | VIA/Wondermedia Graphics Engine Controller | ||
2 | ----------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : "wm,prizm-ge-rops" | ||
6 | - reg : Should contain 1 register ranges(address and length) | ||
7 | |||
8 | Example: | ||
9 | |||
10 | ge_rops@d8050400 { | ||
11 | compatible = "wm,prizm-ge-rops"; | ||
12 | reg = <0xd8050400 0x100>; | ||
13 | }; | ||
diff --git a/Documentation/devicetree/bindings/video/wm,wm8505-fb.txt b/Documentation/devicetree/bindings/video/wm,wm8505-fb.txt new file mode 100644 index 000000000000..3d325e1d11ee --- /dev/null +++ b/Documentation/devicetree/bindings/video/wm,wm8505-fb.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | Wondermedia WM8505 Framebuffer | ||
2 | ----------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : "wm,wm8505-fb" | ||
6 | - reg : Should contain 1 register ranges(address and length) | ||
7 | - via,display: a phandle pointing to the display node | ||
8 | |||
9 | Required nodes: | ||
10 | - display: a display node is required to initialize the lcd panel | ||
11 | This should be in the board dts. See definition in | ||
12 | Documentation/devicetree/bindings/video/via,vt8500-fb.txt | ||
13 | - default-mode: a videomode node as specified in | ||
14 | Documentation/devicetree/bindings/video/via,vt8500-fb.txt | ||
15 | |||
16 | Example: | ||
17 | |||
18 | fb@d8050800 { | ||
19 | compatible = "wm,wm8505-fb"; | ||
20 | reg = <0xd8050800 0x200>; | ||
21 | display = <&display>; | ||
22 | default-mode = <&mode0>; | ||
23 | }; | ||