sa1100fb.txt 1.3 KB

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