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