1*ab42b818SMauro Carvalho Chehab================= 2*ab42b818SMauro Carvalho ChehabWhat is sa1100fb? 3*ab42b818SMauro Carvalho Chehab================= 4*ab42b818SMauro Carvalho Chehab 5*ab42b818SMauro Carvalho Chehab.. [This file is cloned from VesaFB/matroxfb] 6*ab42b818SMauro Carvalho Chehab 7*ab42b818SMauro Carvalho Chehab 8*ab42b818SMauro Carvalho ChehabThis is a driver for a graphic framebuffer for the SA-1100 LCD 9*ab42b818SMauro Carvalho Chehabcontroller. 10*ab42b818SMauro Carvalho Chehab 11*ab42b818SMauro Carvalho ChehabConfiguration 12*ab42b818SMauro Carvalho Chehab============== 13*ab42b818SMauro Carvalho Chehab 14*ab42b818SMauro Carvalho ChehabFor most common passive displays, giving the option:: 15*ab42b818SMauro Carvalho Chehab 16*ab42b818SMauro Carvalho Chehab video=sa1100fb:bpp:<value>,lccr0:<value>,lccr1:<value>,lccr2:<value>,lccr3:<value> 17*ab42b818SMauro Carvalho Chehab 18*ab42b818SMauro Carvalho Chehabon the kernel command line should be enough to configure the 19*ab42b818SMauro Carvalho Chehabcontroller. The bits per pixel (bpp) value should be 4, 8, 12, or 20*ab42b818SMauro Carvalho Chehab16. LCCR values are display-specific and should be computed as 21*ab42b818SMauro Carvalho Chehabdocumented in the SA-1100 Developer's Manual, Section 11.7. Dual-panel 22*ab42b818SMauro Carvalho Chehabdisplays are supported as long as the SDS bit is set in LCCR0; GPIO<9:2> 23*ab42b818SMauro Carvalho Chehabare used for the lower panel. 24*ab42b818SMauro Carvalho Chehab 25*ab42b818SMauro Carvalho ChehabFor active displays or displays requiring additional configuration 26*ab42b818SMauro Carvalho Chehab(controlling backlights, powering on the LCD, etc.), the command line 27*ab42b818SMauro Carvalho Chehaboptions may not be enough to configure the display. Adding sections to 28*ab42b818SMauro Carvalho Chehabsa1100fb_init_fbinfo(), sa1100fb_activate_var(), 29*ab42b818SMauro Carvalho Chehabsa1100fb_disable_lcd_controller(), and sa1100fb_enable_lcd_controller() 30*ab42b818SMauro Carvalho Chehabwill probably be necessary. 31*ab42b818SMauro Carvalho Chehab 32*ab42b818SMauro Carvalho ChehabAccepted options:: 33*ab42b818SMauro Carvalho Chehab 34*ab42b818SMauro Carvalho Chehab bpp:<value> Configure for <value> bits per pixel 35*ab42b818SMauro Carvalho Chehab lccr0:<value> Configure LCD control register 0 (11.7.3) 36*ab42b818SMauro Carvalho Chehab lccr1:<value> Configure LCD control register 1 (11.7.4) 37*ab42b818SMauro Carvalho Chehab lccr2:<value> Configure LCD control register 2 (11.7.5) 38*ab42b818SMauro Carvalho Chehab lccr3:<value> Configure LCD control register 3 (11.7.6) 39*ab42b818SMauro Carvalho Chehab 40*ab42b818SMauro Carvalho ChehabMark Huang <mhuang@livetoy.com> 41