Blame view

Documentation/fb/sa1100fb.rst 1.37 KB
ab42b8189   Mauro Carvalho Chehab   docs: fb: convert...
1
  =================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
  What is sa1100fb?
  =================
ab42b8189   Mauro Carvalho Chehab   docs: fb: convert...
4
  .. [This file is cloned from VesaFB/matroxfb]
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
5
6
7
8
9
  This is a driver for a graphic framebuffer for the SA-1100 LCD
  controller.
  
  Configuration
  ==============
ab42b8189   Mauro Carvalho Chehab   docs: fb: convert...
10
  For most common passive displays, giving the option::
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11

ab42b8189   Mauro Carvalho Chehab   docs: fb: convert...
12
    video=sa1100fb:bpp:<value>,lccr0:<value>,lccr1:<value>,lccr2:<value>,lccr3:<value>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  
  on the kernel command line should be enough to configure the
  controller. The bits per pixel (bpp) value should be 4, 8, 12, or
  16. LCCR values are display-specific and should be computed as
  documented in the SA-1100 Developer's Manual, Section 11.7. Dual-panel
  displays are supported as long as the SDS bit is set in LCCR0; GPIO<9:2>
  are used for the lower panel.
  
  For active displays or displays requiring additional configuration
  (controlling backlights, powering on the LCD, etc.), the command line
  options may not be enough to configure the display. Adding sections to
  sa1100fb_init_fbinfo(), sa1100fb_activate_var(),
  sa1100fb_disable_lcd_controller(), and sa1100fb_enable_lcd_controller()
  will probably be necessary.
ab42b8189   Mauro Carvalho Chehab   docs: fb: convert...
27
  Accepted options::
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
28

ab42b8189   Mauro Carvalho Chehab   docs: fb: convert...
29
30
31
32
33
  	bpp:<value>	Configure for <value> bits per pixel
  	lccr0:<value>	Configure LCD control register 0 (11.7.3)
  	lccr1:<value>	Configure LCD control register 1 (11.7.4)
  	lccr2:<value>	Configure LCD control register 2 (11.7.5)
  	lccr3:<value>	Configure LCD control register 3 (11.7.6)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
34

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
35
  Mark Huang <mhuang@livetoy.com>