Commit | Line | Data |
---|---|---|
8c70f533 AS |
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 | |
efdbd734 | 9 | Documentation/devicetree/bindings/display/display-timing.txt. |
8c70f533 AS |
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 | }; |