xref: /linux-6.15/drivers/gpu/drm/vc4/Kconfig (revision 4fc8cb47)
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_DISPLAY_HDMI_HELPER
9	select DRM_DISPLAY_HELPER
10	select DRM_KMS_HELPER
11	select DRM_GEM_CMA_HELPER
12	select DRM_PANEL_BRIDGE
13	select SND_PCM
14	select SND_PCM_ELD
15	select SND_SOC_GENERIC_DMAENGINE_PCM
16	select SND_SOC_HDMI_CODEC
17	select DRM_MIPI_DSI
18	help
19	  Choose this option if you have a system that has a Broadcom
20	  VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
21
22	  This driver requires that "avoid_warnings=2" be present in
23	  the config.txt for the firmware, to keep it from smashing
24	  our display setup.
25
26config DRM_VC4_HDMI_CEC
27	bool "Broadcom VC4 HDMI CEC Support"
28	depends on DRM_VC4
29	select CEC_CORE
30	help
31	  Choose this option if you have a Broadcom VC4 GPU
32	  and want to use CEC.
33