From 5d1646d90e1f2cceb9f0828f4b28318cd0ec7744 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 12:05:51 +0200 Subject: Adding upstream version 5.10.209. Signed-off-by: Daniel Baumann --- Documentation/fb/sa1100fb.rst | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/fb/sa1100fb.rst (limited to 'Documentation/fb/sa1100fb.rst') diff --git a/Documentation/fb/sa1100fb.rst b/Documentation/fb/sa1100fb.rst new file mode 100644 index 000000000..67e2650e0 --- /dev/null +++ b/Documentation/fb/sa1100fb.rst @@ -0,0 +1,40 @@ +================= +What is sa1100fb? +================= + +.. [This file is cloned from VesaFB/matroxfb] + + +This is a driver for a graphic framebuffer for the SA-1100 LCD +controller. + +Configuration +============== + +For most common passive displays, giving the option:: + + video=sa1100fb:bpp:,lccr0:,lccr1:,lccr2:,lccr3: + +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. + +Accepted options:: + + bpp: Configure for bits per pixel + lccr0: Configure LCD control register 0 (11.7.3) + lccr1: Configure LCD control register 1 (11.7.4) + lccr2: Configure LCD control register 2 (11.7.5) + lccr3: Configure LCD control register 3 (11.7.6) + +Mark Huang -- cgit v1.2.3