1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_VC4
3	tristate "Broadcom VC4 Graphics"
4	depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
5	depends on DRM
6	depends on SND && SND_SOC
7	depends on COMMON_CLK
8	select DRM_KMS_HELPER
9	select DRM_KMS_CMA_HELPER
10	select DRM_GEM_CMA_HELPER
11	select DRM_PANEL_BRIDGE
12	select SND_PCM
13	select SND_PCM_ELD
14	select SND_SOC_GENERIC_DMAENGINE_PCM
15	select SND_SOC_HDMI_CODEC
16	select DRM_MIPI_DSI
17	help
18	  Choose this option if you have a system that has a Broadcom
19	  VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
20
21	  This driver requires that "avoid_warnings=2" be present in
22	  the config.txt for the firmware, to keep it from smashing
23	  our display setup.
24
25config DRM_VC4_HDMI_CEC
26	bool "Broadcom VC4 HDMI CEC Support"
27	depends on DRM_VC4
28	select CEC_CORE
29	help
30	  Choose this option if you have a Broadcom VC4 GPU
31	  and want to use CEC.
32