[ARM] pxafb: allow video memory size to be configurable
[pandora-kernel.git] / Documentation / fb / pxafb.txt
1 Driver for PXA25x LCD controller
2 ================================
3
4 The driver supports the following options, either via
5 options=<OPTIONS> when modular or video=pxafb:<OPTIONS> when built in.
6
7 For example:
8         modprobe pxafb options=vmem:2M,mode:640x480-8,passive
9 or on the kernel command line
10         video=pxafb:vmem:2M,mode:640x480-8,passive
11
12 vmem: VIDEO_MEM_SIZE
13         Amount of video memory to allocate (can be suffixed with K or M
14         for kilobytes or megabytes)
15
16 mode:XRESxYRES[-BPP]
17         XRES == LCCR1_PPL + 1
18         YRES == LLCR2_LPP + 1
19                 The resolution of the display in pixels
20         BPP == The bit depth. Valid values are 1, 2, 4, 8 and 16.
21
22 pixclock:PIXCLOCK
23         Pixel clock in picoseconds
24
25 left:LEFT == LCCR1_BLW + 1
26 right:RIGHT == LCCR1_ELW + 1
27 hsynclen:HSYNC == LCCR1_HSW + 1
28 upper:UPPER == LCCR2_BFW
29 lower:LOWER == LCCR2_EFR
30 vsynclen:VSYNC == LCCR2_VSW + 1
31         Display margins and sync times
32
33 color | mono => LCCR0_CMS
34         umm...
35
36 active | passive => LCCR0_PAS
37         Active (TFT) or Passive (STN) display
38
39 single | dual => LCCR0_SDS
40         Single or dual panel passive display
41
42 4pix | 8pix => LCCR0_DPD
43         4 or 8 pixel monochrome single panel data
44
45 hsync:HSYNC
46 vsync:VSYNC
47         Horizontal and vertical sync. 0 => active low, 1 => active
48         high.
49
50 dpc:DPC
51         Double pixel clock. 1=>true, 0=>false
52
53 outputen:POLARITY
54         Output Enable Polarity. 0 => active low, 1 => active high
55
56 pixclockpol:POLARITY
57         pixel clock polarity
58         0 => falling edge, 1 => rising edge