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