1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_TEGRA
3	tristate "NVIDIA Tegra DRM"
4	depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
5	depends on COMMON_CLK
6	depends on DRM
7	depends on OF
8	select DRM_DISPLAY_DP_HELPER
9	select DRM_DISPLAY_HDMI_HELPER
10	select DRM_DISPLAY_HELPER
11	select DRM_DP_AUX_BUS
12	select DRM_KMS_HELPER
13	select DRM_MIPI_DSI
14	select DRM_PANEL
15	select TEGRA_HOST1X
16	select INTERCONNECT
17	select IOMMU_IOVA
18	select CEC_CORE if CEC_NOTIFIER
19	select SND_SIMPLE_CARD if SND_SOC_TEGRA20_SPDIF
20	select SND_SOC_HDMI_CODEC if SND_SOC_TEGRA20_SPDIF
21	select SND_AUDIO_GRAPH_CARD if SND_SOC_TEGRA20_SPDIF
22	help
23	  Choose this option if you have an NVIDIA Tegra SoC.
24
25	  To compile this driver as a module, choose M here: the module
26	  will be called tegra-drm.
27
28if DRM_TEGRA
29
30config DRM_TEGRA_DEBUG
31	bool "NVIDIA Tegra DRM debug support"
32	help
33	  Say yes here to enable debugging support.
34
35config DRM_TEGRA_STAGING
36	bool "Enable HOST1X interface"
37	depends on STAGING
38	help
39	  Say yes if HOST1X should be available for userspace DRM users.
40
41	  If unsure, choose N.
42
43endif
44