18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig DRM_VC4
38c2ecf20Sopenharmony_ci	tristate "Broadcom VC4 Graphics"
48c2ecf20Sopenharmony_ci	depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
58c2ecf20Sopenharmony_ci	depends on DRM
68c2ecf20Sopenharmony_ci	depends on SND && SND_SOC
78c2ecf20Sopenharmony_ci	depends on COMMON_CLK
88c2ecf20Sopenharmony_ci	select DRM_KMS_HELPER
98c2ecf20Sopenharmony_ci	select DRM_KMS_CMA_HELPER
108c2ecf20Sopenharmony_ci	select DRM_GEM_CMA_HELPER
118c2ecf20Sopenharmony_ci	select DRM_PANEL_BRIDGE
128c2ecf20Sopenharmony_ci	select SND_PCM
138c2ecf20Sopenharmony_ci	select SND_PCM_ELD
148c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
158c2ecf20Sopenharmony_ci	select DRM_MIPI_DSI
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  Choose this option if you have a system that has a Broadcom
188c2ecf20Sopenharmony_ci	  VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	  This driver requires that "avoid_warnings=2" be present in
218c2ecf20Sopenharmony_ci	  the config.txt for the firmware, to keep it from smashing
228c2ecf20Sopenharmony_ci	  our display setup.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig DRM_VC4_HDMI_CEC
258c2ecf20Sopenharmony_ci	bool "Broadcom VC4 HDMI CEC Support"
268c2ecf20Sopenharmony_ci	depends on DRM_VC4
278c2ecf20Sopenharmony_ci	select CEC_CORE
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Choose this option if you have a Broadcom VC4 GPU
308c2ecf20Sopenharmony_ci	  and want to use CEC.
31