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