Skip to content

Commit 8b08cf2

Browse files
Imre DeakLinus Torvalds
authored andcommitted
OMAP: add TI OMAP framebuffer driver
- Add Texas Instruments OMAP framebuffer driver. This driver is being used for various OMAP1/2 series based boards and products e.g Nokia N800 Internet Tablet, H4, H3, Siemens SX1 etc. - LCD panel registration and controller code is separated in different file and interfaces. Signed-off-by: Trilok Soni <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 57a3db9 commit 8b08cf2

File tree

5 files changed

+1994
-0
lines changed

5 files changed

+1994
-0
lines changed

drivers/video/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,6 +1820,10 @@ config FB_XILINX
18201820
framebuffer. ML300 carries a 640*480 LCD display on the board,
18211821
ML403 uses a standard DB15 VGA connector.
18221822

1823+
if ARCH_OMAP
1824+
source "drivers/video/omap/Kconfig"
1825+
endif
1826+
18231827
config FB_VIRTUAL
18241828
tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)"
18251829
depends on FB

drivers/video/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ obj-$(CONFIG_FB_IBM_GXT4500) += gxt4500.o
113113
obj-$(CONFIG_FB_PS3) += ps3fb.o
114114
obj-$(CONFIG_FB_SM501) += sm501fb.o
115115
obj-$(CONFIG_FB_XILINX) += xilinxfb.o
116+
obj-$(CONFIG_FB_OMAP) += omap/
116117

117118
# Platform or fallback drivers go here
118119
obj-$(CONFIG_FB_VESA) += vesafb.o

drivers/video/omap/Kconfig

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
config FB_OMAP
2+
tristate "OMAP frame buffer support (EXPERIMENTAL)"
3+
depends on FB
4+
select FB_CFB_FILLRECT
5+
select FB_CFB_COPYAREA
6+
select FB_CFB_IMAGEBLIT
7+
help
8+
Frame buffer driver for OMAP based boards.
9+
10+
config FB_OMAP_BOOTLOADER_INIT
11+
bool "Check bootloader initializaion"
12+
depends on FB_OMAP
13+
help
14+
Say Y here if you want to enable checking if the bootloader has
15+
already initialized the display controller. In this case the
16+
driver will skip the initialization.
17+
18+
config FB_OMAP_CONSISTENT_DMA_SIZE
19+
int "Consistent DMA memory size (MB)"
20+
depends on FB_OMAP
21+
range 1 14
22+
default 2
23+
help
24+
Increase the DMA consistent memory size according to your video
25+
memory needs, for example if you want to use multiple planes.
26+
The size must be 2MB aligned.
27+
If unsure say 1.
28+
29+
config FB_OMAP_DMA_TUNE
30+
bool "Set DMA SDRAM access priority high"
31+
depends on FB_OMAP && ARCH_OMAP1
32+
help
33+
On systems in which video memory is in system memory
34+
(SDRAM) this will speed up graphics DMA operations.
35+
If you have such a system and want to use rotation
36+
answer yes. Answer no if you have a dedicated video
37+
memory, or don't use any of the accelerated features.
38+

drivers/video/omap/Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Makefile for the new OMAP framebuffer device driver
3+
#
4+
5+
obj-$(CONFIG_FB_OMAP) += omapfb.o
6+
7+
objs-yy := omapfb_main.o
8+
9+
omapfb-objs := $(objs-yy)
10+

0 commit comments

Comments
 (0)