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