diff options
author | Nicolas Ferre <nicolas.ferre@rfo.atmel.com> | 2007-07-21 07:37:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-21 20:49:17 -0400 |
commit | 250a269da4e2afe815aeef97c3b115fbda4440ac (patch) | |
tree | 5c99238fca59a52685812bd1b6a93f95ba0ca643 /drivers/video/Kconfig | |
parent | 029641151bfede0930a79ecabb2572dc27a3c86f (diff) |
atmel_lcdfb: Fix STN LCD support
Fixes STN LCD support for the atmel_lcdfb framebuffer driver.
This patch is the result of a work from Jan Altenberg and has
been tested on a Hitachi SP06Q002 on at91sam9261ek.
It adds a Kconfig switch that enables the proper LCD in the
board configuration file (STN or TFT). The switch is used
in arch/arm/mach-at91/at91sam9261_devices.c & board-sam9261ek.c
as an example.
This patch includes the "Fix wrong line_length calculation"
little one from Jan and Haavard (submitted earlier).
AT91 platform informations are directly submitted trough
the at91 maintainer, here :
http://article.gmane.org/gmane.linux.kernel/543158
Signed-off-by: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Cc: "Antonino A. Daplas" <adaplas@gmail.com>
Cc: Jan Altenberg <jan.altenberg@linutronix.de>
Cc: Patrice Vilchez <patrice.vilchez@rfo.atmel.com>
Cc: Andrew Victor <andrew@sanpeople.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3c0ed933d11d..2a237f09ee5d 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -849,6 +849,16 @@ config FB_INTSRAM | |||
849 | Say Y if you want to map Frame Buffer in internal SRAM. Say N if you want | 849 | Say Y if you want to map Frame Buffer in internal SRAM. Say N if you want |
850 | to let frame buffer in external SDRAM. | 850 | to let frame buffer in external SDRAM. |
851 | 851 | ||
852 | config FB_ATMEL_STN | ||
853 | bool "Use a STN display with AT91/AT32 LCD Controller" | ||
854 | depends on FB_ATMEL && MACH_AT91SAM9261EK | ||
855 | default n | ||
856 | help | ||
857 | Say Y if you want to connect a STN LCD display to the AT91/AT32 LCD | ||
858 | Controller. Say N if you want to connect a TFT. | ||
859 | |||
860 | If unsure, say N. | ||
861 | |||
852 | config FB_NVIDIA | 862 | config FB_NVIDIA |
853 | tristate "nVidia Framebuffer Support" | 863 | tristate "nVidia Framebuffer Support" |
854 | depends on FB && PCI | 864 | depends on FB && PCI |