xref: /linux/drivers/video/fbdev/omap2/omapfb/Kconfig (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
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_IOMEM_HELPERS
14	help
15	  Frame buffer driver for OMAP2+ based boards.
16
17if FB_OMAP2
18
19config FB_OMAP2_DEBUG_SUPPORT
20	bool "Debug support for OMAP2+ FB"
21	default y
22	depends on FB_OMAP2
23	help
24	  Support for debug output. You have to enable the actual printing
25	  with 'debug' module parameter.
26
27config FB_OMAP2_NUM_FBS
28	int "Number of framebuffers"
29	range 1 10
30	default 3
31	depends on FB_OMAP2
32	help
33	  Select the number of framebuffers created. OMAP2/3 has 3 overlays
34	  so normally this would be 3.
35
36source "drivers/video/fbdev/omap2/omapfb/dss/Kconfig"
37source "drivers/video/fbdev/omap2/omapfb/displays/Kconfig"
38
39endif
40