0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config OMAP2_VRFB
0003 bool
0004
0005 menuconfig FB_OMAP2
0006 tristate "OMAP2+ frame buffer support"
0007 depends on FB
0008 depends on DRM_OMAP = n
0009 depends on GPIOLIB
0010
0011 select FB_OMAP2_DSS
0012 select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3
0013 select FB_CFB_FILLRECT
0014 select FB_CFB_COPYAREA
0015 select FB_CFB_IMAGEBLIT
0016 help
0017 Frame buffer driver for OMAP2+ based boards.
0018
0019 if FB_OMAP2
0020
0021 config FB_OMAP2_DEBUG_SUPPORT
0022 bool "Debug support for OMAP2+ FB"
0023 default y
0024 depends on FB_OMAP2
0025 help
0026 Support for debug output. You have to enable the actual printing
0027 with 'debug' module parameter.
0028
0029 config FB_OMAP2_NUM_FBS
0030 int "Number of framebuffers"
0031 range 1 10
0032 default 3
0033 depends on FB_OMAP2
0034 help
0035 Select the number of framebuffers created. OMAP2/3 has 3 overlays
0036 so normally this would be 3.
0037
0038 source "drivers/video/fbdev/omap2/omapfb/dss/Kconfig"
0039 source "drivers/video/fbdev/omap2/omapfb/displays/Kconfig"
0040
0041 endif