Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 2 | config DRM_VC4 |
| 3 | tristate "Broadcom VC4 Graphics" |
Eric Anholt | b70ee23 | 2017-05-09 11:15:39 -0700 | [diff] [blame] | 4 | depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST |
Christoph Hellwig | e1c7e32 | 2016-01-20 15:02:05 -0800 | [diff] [blame] | 5 | depends on DRM |
Eric Anholt | bb7d785 | 2017-02-27 12:28:02 -0800 | [diff] [blame] | 6 | depends on SND && SND_SOC |
Eric Anholt | 4078f57 | 2017-01-31 11:29:11 -0800 | [diff] [blame] | 7 | depends on COMMON_CLK |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 8 | select DRM_KMS_HELPER |
| 9 | select DRM_KMS_CMA_HELPER |
Guenter Roeck | 2565df9 | 2015-11-01 16:31:52 -0800 | [diff] [blame] | 10 | select DRM_GEM_CMA_HELPER |
Eric Anholt | 656fa22 | 2017-05-11 11:31:23 -0700 | [diff] [blame] | 11 | select DRM_PANEL_BRIDGE |
Eric Anholt | bb7d785 | 2017-02-27 12:28:02 -0800 | [diff] [blame] | 12 | select SND_PCM |
| 13 | select SND_PCM_ELD |
| 14 | select SND_SOC_GENERIC_DMAENGINE_PCM |
Maxime Ripard | 91e99e1 | 2021-05-25 15:23:52 +0200 | [diff] [blame] | 15 | select SND_SOC_HDMI_CODEC |
Eric Anholt | 4078f57 | 2017-01-31 11:29:11 -0800 | [diff] [blame] | 16 | select DRM_MIPI_DSI |
Eric Anholt | c8b75bc | 2015-03-02 13:01:12 -0800 | [diff] [blame] | 17 | 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 Verkuil | 15b4511 | 2017-07-16 12:48:04 +0200 | [diff] [blame] | 24 | |
| 25 | config DRM_VC4_HDMI_CEC |
Krzysztof Kozlowski | c7a7a6a | 2019-11-21 21:29:19 +0800 | [diff] [blame] | 26 | bool "Broadcom VC4 HDMI CEC Support" |
| 27 | depends on DRM_VC4 |
| 28 | select CEC_CORE |
| 29 | help |
Hans Verkuil | 15b4511 | 2017-07-16 12:48:04 +0200 | [diff] [blame] | 30 | Choose this option if you have a Broadcom VC4 GPU |
| 31 | and want to use CEC. |