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