1# SPDX-License-Identifier: MIT
2
3config DRM_DP_AUX_BUS
4	tristate
5	depends on DRM
6	depends on OF || COMPILE_TEST
7
8config DRM_DISPLAY_HELPER
9	tristate
10	depends on DRM
11	help
12	  DRM helpers for display adapters.
13
14config DRM_DISPLAY_DP_HELPER
15	bool
16	depends on DRM_DISPLAY_HELPER
17	help
18	  DRM display helpers for DisplayPort.
19
20config DRM_DISPLAY_HDCP_HELPER
21	bool
22	depends on DRM_DISPLAY_HELPER
23	help
24	  DRM display helpers for HDCP.
25
26config DRM_DISPLAY_HDMI_HELPER
27	bool
28	depends on DRM_DISPLAY_HELPER
29	help
30	  DRM display helpers for HDMI.
31
32config DRM_DP_AUX_CHARDEV
33	bool "DRM DP AUX Interface"
34	depends on DRM && DRM_DISPLAY_HELPER
35	select DRM_DISPLAY_DP_HELPER
36	help
37	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
38	  read and write values to arbitrary DPCD registers on the DP aux
39	  channel.
40
41config DRM_DP_CEC
42	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
43	depends on DRM && DRM_DISPLAY_HELPER
44	select DRM_DISPLAY_DP_HELPER
45	select CEC_CORE
46	help
47	  Choose this option if you want to enable HDMI CEC support for
48	  DisplayPort/USB-C to HDMI adapters.
49
50	  Note: not all adapters support this feature, and even for those
51	  that do support this they often do not hook up the CEC pin.
52