Back to home page

OSCL-LXR

 
 

    


0001 * Currus Logic CLPS711X Framebuffer
0002 
0003 Required properties:
0004 - compatible: Shall contain "cirrus,ep7209-fb".
0005 - reg       : Physical base address and length of the controller's registers +
0006               location and size of the framebuffer memory.
0007 - clocks    : phandle + clock specifier pair of the FB reference clock.
0008 - display   : phandle to a display node as described in
0009               Documentation/devicetree/bindings/display/panel/display-timing.txt.
0010               Additionally, the display node has to define properties:
0011   - bits-per-pixel: Bits per pixel.
0012   - ac-prescale   : LCD AC bias frequency. This frequency is the required
0013                     AC bias frequency for a given manufacturer's LCD plate.
0014   - cmap-invert   : Invert the color levels (Optional).
0015 
0016 Optional properties:
0017 - lcd-supply: Regulator for LCD supply voltage.
0018 
0019 Example:
0020         fb: fb@800002c0 {
0021                 compatible = "cirrus,ep7312-fb", "cirrus,ep7209-fb";
0022                 reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
0023                 clocks = <&clks 2>;
0024                 lcd-supply = <&reg5v0>;
0025                 display = <&display>;
0026         };
0027 
0028         display: display {
0029                 model = "320x240x4";
0030                 bits-per-pixel = <4>;
0031                 ac-prescale = <17>;
0032 
0033                 display-timings {
0034                         native-mode = <&timing0>;
0035                         timing0: 320x240 {
0036                                 hactive = <320>;
0037                                 hback-porch = <0>;
0038                                 hfront-porch = <0>;
0039                                 hsync-len = <0>;
0040                                 vactive = <240>;
0041                                 vback-porch = <0>;
0042                                 vfront-porch = <0>;
0043                                 vsync-len = <0>;
0044                                 clock-frequency = <6500000>;
0045                         };
0046                 };
0047         };