Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config DRM_VC4
0003         tristate "Broadcom VC4 Graphics"
0004         depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
0005         # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
0006         # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
0007         depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
0008         depends on DRM
0009         depends on SND && SND_SOC
0010         depends on COMMON_CLK
0011         depends on PM
0012         select DRM_DISPLAY_HDMI_HELPER
0013         select DRM_DISPLAY_HELPER
0014         select DRM_KMS_HELPER
0015         select DRM_GEM_CMA_HELPER
0016         select DRM_PANEL_BRIDGE
0017         select SND_PCM
0018         select SND_PCM_ELD
0019         select SND_SOC_GENERIC_DMAENGINE_PCM
0020         select SND_SOC_HDMI_CODEC
0021         select DRM_MIPI_DSI
0022         help
0023           Choose this option if you have a system that has a Broadcom
0024           VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
0025 
0026           This driver requires that "avoid_warnings=2" be present in
0027           the config.txt for the firmware, to keep it from smashing
0028           our display setup.
0029 
0030 config DRM_VC4_HDMI_CEC
0031         bool "Broadcom VC4 HDMI CEC Support"
0032         depends on DRM_VC4
0033         select CEC_CORE
0034         help
0035           Choose this option if you have a Broadcom VC4 GPU
0036           and want to use CEC.