1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "Broadcom VC4 Graphics"
4 depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
5 # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
6 # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
7 depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
9 depends on SND && SND_SOC
11 select DRM_DISPLAY_HDMI_HELPER
12 select DRM_DISPLAY_HELPER
14 select DRM_GEM_CMA_HELPER
15 select DRM_PANEL_BRIDGE
18 select SND_SOC_GENERIC_DMAENGINE_PCM
19 select SND_SOC_HDMI_CODEC
22 Choose this option if you have a system that has a Broadcom
23 VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
25 This driver requires that "avoid_warnings=2" be present in
26 the config.txt for the firmware, to keep it from smashing
29 config DRM_VC4_HDMI_CEC
30 bool "Broadcom VC4 HDMI CEC Support"
34 Choose this option if you have a Broadcom VC4 GPU