blob: 9ba3a00dce3176cbb3d252b0e1ad1b59ba68ed5f [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Mauro Carvalho Chehab46d2a3b2020-04-15 09:55:10 +02002config CEC_CORE
3 tristate
4
5config CEC_NOTIFIER
6 bool
7
8config CEC_PIN
9 bool
10
Hans Verkuil5f2c4672017-04-17 08:05:10 -030011config MEDIA_CEC_RC
12 bool "HDMI CEC RC integration"
13 depends on CEC_CORE && RC_CORE
Arnd Bergmann2302e552017-04-21 07:52:17 -030014 depends on CEC_CORE=m || RC_CORE=y
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -040015 help
Hans Verkuil5f2c4672017-04-17 08:05:10 -030016 Pass on CEC remote control messages to the RC framework.
Hans Verkuil22712b32017-10-31 09:55:09 -040017
18config CEC_PIN_ERROR_INJ
19 bool "Enable CEC error injection support"
20 depends on CEC_PIN && DEBUG_FS
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -040021 help
Hans Verkuil22712b32017-10-31 09:55:09 -040022 This option enables CEC error injection using debugfs.
Mauro Carvalho Chehab46d2a3b2020-04-15 09:55:10 +020023
Mauro Carvalho Chehab4be5e862020-04-15 11:03:40 +020024menuconfig MEDIA_CEC_SUPPORT
Mauro Carvalho Chehab46d2a3b2020-04-15 09:55:10 +020025 bool
26 prompt "HDMI CEC drivers"
Geert Uytterhoeven15168b22020-06-04 11:39:53 +020027 default y if MEDIA_SUPPORT && !MEDIA_SUPPORT_FILTER
Mauro Carvalho Chehab46d2a3b2020-04-15 09:55:10 +020028 help
29 Enable support for HDMI CEC (Consumer Electronics Control),
30 which is an optional HDMI feature.
31
32 Say Y when you have an HDMI receiver, transmitter or a USB CEC
33 adapter that supports HDMI CEC.
Mauro Carvalho Chehab4be5e862020-04-15 11:03:40 +020034
35if MEDIA_CEC_SUPPORT
Jeff Chase21b9a472020-06-23 01:59:50 +020036source "drivers/media/cec/i2c/Kconfig"
Mauro Carvalho Chehab4be5e862020-04-15 11:03:40 +020037source "drivers/media/cec/platform/Kconfig"
Mauro Carvalho Chehaba8106812020-04-15 11:14:25 +020038source "drivers/media/cec/usb/Kconfig"
Mauro Carvalho Chehab4be5e862020-04-15 11:03:40 +020039endif