diff options
Diffstat (limited to 'Documentation/fb/sa1100fb.txt')
-rw-r--r-- | Documentation/fb/sa1100fb.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Documentation/fb/sa1100fb.txt b/Documentation/fb/sa1100fb.txt new file mode 100644 index 000000000000..f1b4220464df --- /dev/null +++ b/Documentation/fb/sa1100fb.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | [This file is cloned from VesaFB/matroxfb] | ||
2 | |||
3 | What is sa1100fb? | ||
4 | ================= | ||
5 | |||
6 | This is a driver for a graphic framebuffer for the SA-1100 LCD | ||
7 | controller. | ||
8 | |||
9 | Configuration | ||
10 | ============== | ||
11 | |||
12 | For most common passive displays, giving the option | ||
13 | |||
14 | video=sa1100fb:bpp:<value>,lccr0:<value>,lccr1:<value>,lccr2:<value>,lccr3:<value> | ||
15 | |||
16 | on the kernel command line should be enough to configure the | ||
17 | controller. The bits per pixel (bpp) value should be 4, 8, 12, or | ||
18 | 16. LCCR values are display-specific and should be computed as | ||
19 | documented in the SA-1100 Developer's Manual, Section 11.7. Dual-panel | ||
20 | displays are supported as long as the SDS bit is set in LCCR0; GPIO<9:2> | ||
21 | are used for the lower panel. | ||
22 | |||
23 | For active displays or displays requiring additional configuration | ||
24 | (controlling backlights, powering on the LCD, etc.), the command line | ||
25 | options may not be enough to configure the display. Adding sections to | ||
26 | sa1100fb_init_fbinfo(), sa1100fb_activate_var(), | ||
27 | sa1100fb_disable_lcd_controller(), and sa1100fb_enable_lcd_controller() | ||
28 | will probably be necessary. | ||
29 | |||
30 | Accepted options: | ||
31 | |||
32 | bpp:<value> Configure for <value> bits per pixel | ||
33 | lccr0:<value> Configure LCD control register 0 (11.7.3) | ||
34 | lccr1:<value> Configure LCD control register 1 (11.7.4) | ||
35 | lccr2:<value> Configure LCD control register 2 (11.7.5) | ||
36 | lccr3:<value> Configure LCD control register 3 (11.7.6) | ||
37 | |||
38 | -- | ||
39 | Mark Huang <mhuang@livetoy.com> | ||