blob: 345a5570a3da7d138c8df5238cd645d83cf8b7cd [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Eric Anholtc8b75bc2015-03-02 13:01:12 -08002config DRM_VC4
3 tristate "Broadcom VC4 Graphics"
Eric Anholtb70ee232017-05-09 11:15:39 -07004 depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
Christoph Hellwige1c7e322016-01-20 15:02:05 -08005 depends on DRM
Eric Anholtbb7d7852017-02-27 12:28:02 -08006 depends on SND && SND_SOC
Eric Anholt4078f572017-01-31 11:29:11 -08007 depends on COMMON_CLK
Eric Anholtc8b75bc2015-03-02 13:01:12 -08008 select DRM_KMS_HELPER
9 select DRM_KMS_CMA_HELPER
Guenter Roeck2565df92015-11-01 16:31:52 -080010 select DRM_GEM_CMA_HELPER
Eric Anholt656fa222017-05-11 11:31:23 -070011 select DRM_PANEL_BRIDGE
Eric Anholtbb7d7852017-02-27 12:28:02 -080012 select SND_PCM
13 select SND_PCM_ELD
14 select SND_SOC_GENERIC_DMAENGINE_PCM
Maxime Ripard91e99e12021-05-25 15:23:52 +020015 select SND_SOC_HDMI_CODEC
Eric Anholt4078f572017-01-31 11:29:11 -080016 select DRM_MIPI_DSI
Eric Anholtc8b75bc2015-03-02 13:01:12 -080017 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.
Hans Verkuil15b45112017-07-16 12:48:04 +020024
25config DRM_VC4_HDMI_CEC
Krzysztof Kozlowskic7a7a6a2019-11-21 21:29:19 +080026 bool "Broadcom VC4 HDMI CEC Support"
27 depends on DRM_VC4
28 select CEC_CORE
29 help
Hans Verkuil15b45112017-07-16 12:48:04 +020030 Choose this option if you have a Broadcom VC4 GPU
31 and want to use CEC.