xref: /openbmc/linux/drivers/media/cec/Kconfig (revision 2d080eb6)
1# SPDX-License-Identifier: GPL-2.0-only
2config CEC_CORE
3	tristate
4
5config CEC_NOTIFIER
6	bool
7
8config CEC_PIN
9	bool
10
11menu "CEC support"
12
13config MEDIA_CEC_RC
14	bool "HDMI CEC RC integration"
15	depends on CEC_CORE && RC_CORE
16	depends on CEC_CORE=m || RC_CORE=y
17	help
18	  Pass on CEC remote control messages to the RC framework.
19
20config CEC_PIN_ERROR_INJ
21	bool "Enable CEC error injection support"
22	depends on CEC_PIN && DEBUG_FS
23	help
24	  This option enables CEC error injection using debugfs.
25
26menuconfig MEDIA_CEC_SUPPORT
27	bool
28	prompt "HDMI CEC drivers"
29	default y if MEDIA_SUPPORT && !MEDIA_SUPPORT_FILTER
30	help
31	  Enable support for HDMI CEC (Consumer Electronics Control),
32	  which is an optional HDMI feature.
33
34	  Say Y when you have an HDMI receiver, transmitter or a USB CEC
35	  adapter that supports HDMI CEC.
36
37if MEDIA_CEC_SUPPORT
38source "drivers/media/cec/i2c/Kconfig"
39source "drivers/media/cec/platform/Kconfig"
40source "drivers/media/cec/usb/Kconfig"
41endif
42
43endmenu
44