Back to home page

OSCL-LXR

 
 

    


0001 =================
0002 What is sa1100fb?
0003 =================
0004 
0005 .. [This file is cloned from VesaFB/matroxfb]
0006 
0007 
0008 This is a driver for a graphic framebuffer for the SA-1100 LCD
0009 controller.
0010 
0011 Configuration
0012 ==============
0013 
0014 For most common passive displays, giving the option::
0015 
0016   video=sa1100fb:bpp:<value>,lccr0:<value>,lccr1:<value>,lccr2:<value>,lccr3:<value>
0017 
0018 on the kernel command line should be enough to configure the
0019 controller. The bits per pixel (bpp) value should be 4, 8, 12, or
0020 16. LCCR values are display-specific and should be computed as
0021 documented in the SA-1100 Developer's Manual, Section 11.7. Dual-panel
0022 displays are supported as long as the SDS bit is set in LCCR0; GPIO<9:2>
0023 are used for the lower panel.
0024 
0025 For active displays or displays requiring additional configuration
0026 (controlling backlights, powering on the LCD, etc.), the command line
0027 options may not be enough to configure the display. Adding sections to
0028 sa1100fb_init_fbinfo(), sa1100fb_activate_var(),
0029 sa1100fb_disable_lcd_controller(), and sa1100fb_enable_lcd_controller()
0030 will probably be necessary.
0031 
0032 Accepted options::
0033 
0034         bpp:<value>     Configure for <value> bits per pixel
0035         lccr0:<value>   Configure LCD control register 0 (11.7.3)
0036         lccr1:<value>   Configure LCD control register 1 (11.7.4)
0037         lccr2:<value>   Configure LCD control register 2 (11.7.5)
0038         lccr3:<value>   Configure LCD control register 3 (11.7.6)
0039 
0040 Mark Huang <mhuang@livetoy.com>