1# SPDX-License-Identifier: GPL-2.0-only
2config OMAP2_VRFB
3	bool
4
5menuconfig FB_OMAP2
6	tristate "OMAP2+ frame buffer support"
7	depends on FB
8	depends on FB_DEVICE
9	depends on DRM_OMAP = n
10	depends on GPIOLIB
11	select FB_OMAP2_DSS
12	select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3
13	select FB_CFB_FILLRECT
14	select FB_CFB_COPYAREA
15	select FB_CFB_IMAGEBLIT
16	help
17	  Frame buffer driver for OMAP2+ based boards.
18
19if FB_OMAP2
20
21config FB_OMAP2_DEBUG_SUPPORT
22	bool "Debug support for OMAP2+ FB"
23	default y
24	depends on FB_OMAP2
25	help
26	  Support for debug output. You have to enable the actual printing
27	  with 'debug' module parameter.
28
29config FB_OMAP2_NUM_FBS
30	int "Number of framebuffers"
31	range 1 10
32	default 3
33	depends on FB_OMAP2
34	help
35	  Select the number of framebuffers created. OMAP2/3 has 3 overlays
36	  so normally this would be 3.
37
38source "drivers/video/fbdev/omap2/omapfb/dss/Kconfig"
39source "drivers/video/fbdev/omap2/omapfb/displays/Kconfig"
40
41endif
42