diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-06-19 12:21:17 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-06-24 03:54:38 -0400 |
commit | 8c70f53370a9189afd6f0ee385aee82b8ea54cfc (patch) | |
tree | c79d2144d2b207bab0afac3fe40a768e0bc6e08f | |
parent | ef74d46a4ef36b9a448716222fd3685e93962566 (diff) |
video: clps711x: Add bindings documentation for CLPS711X framebuffer
Add OF document for Cirrus Logic CLPS711X framebuffer driver.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | Documentation/devicetree/bindings/video/cirrus,clps711x-fb.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/cirrus,clps711x-fb.txt b/Documentation/devicetree/bindings/video/cirrus,clps711x-fb.txt new file mode 100644 index 000000000000..6fc3c6adeefa --- /dev/null +++ b/Documentation/devicetree/bindings/video/cirrus,clps711x-fb.txt | |||
@@ -0,0 +1,47 @@ | |||
1 | * Currus Logic CLPS711X Framebuffer | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Shall contain "cirrus,clps711x-fb". | ||
5 | - reg : Physical base address and length of the controller's registers + | ||
6 | location and size of the framebuffer memory. | ||
7 | - clocks : phandle + clock specifier pair of the FB reference clock. | ||
8 | - display : phandle to a display node as described in | ||
9 | Documentation/devicetree/bindings/video/display-timing.txt. | ||
10 | Additionally, the display node has to define properties: | ||
11 | - bits-per-pixel: Bits per pixel. | ||
12 | - ac-prescale : LCD AC bias frequency. This frequency is the required | ||
13 | AC bias frequency for a given manufacturer's LCD plate. | ||
14 | - cmap-invert : Invert the color levels (Optional). | ||
15 | |||
16 | Optional properties: | ||
17 | - lcd-supply: Regulator for LCD supply voltage. | ||
18 | |||
19 | Example: | ||
20 | fb: fb@800002c0 { | ||
21 | compatible = "cirrus,ep7312-fb", "cirrus,clps711x-fb"; | ||
22 | reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; | ||
23 | clocks = <&clks 2>; | ||
24 | lcd-supply = <®5v0>; | ||
25 | display = <&display>; | ||
26 | }; | ||
27 | |||
28 | display: display { | ||
29 | model = "320x240x4"; | ||
30 | native-mode = <&timing0>; | ||
31 | bits-per-pixel = <4>; | ||
32 | ac-prescale = <17>; | ||
33 | |||
34 | display-timings { | ||
35 | timing0: 320x240 { | ||
36 | hactive = <320>; | ||
37 | hback-porch = <0>; | ||
38 | hfront-porch = <0>; | ||
39 | hsync-len = <0>; | ||
40 | vactive = <240>; | ||
41 | vback-porch = <0>; | ||
42 | vfront-porch = <0>; | ||
43 | vsync-len = <0>; | ||
44 | clock-frequency = <6500000>; | ||
45 | }; | ||
46 | }; | ||
47 | }; | ||