Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Mauro Carvalho Chehab | 46d2a3b | 2020-04-15 09:55:10 +0200 | [diff] [blame] | 2 | config CEC_CORE |
| 3 | tristate |
| 4 | |
| 5 | config CEC_NOTIFIER |
| 6 | bool |
| 7 | |
| 8 | config CEC_PIN |
| 9 | bool |
| 10 | |
Hans Verkuil | 5f2c467 | 2017-04-17 08:05:10 -0300 | [diff] [blame] | 11 | config MEDIA_CEC_RC |
| 12 | bool "HDMI CEC RC integration" |
| 13 | depends on CEC_CORE && RC_CORE |
Arnd Bergmann | 2302e55 | 2017-04-21 07:52:17 -0300 | [diff] [blame] | 14 | depends on CEC_CORE=m || RC_CORE=y |
Mauro Carvalho Chehab | b60a5b8 | 2019-03-20 06:39:44 -0400 | [diff] [blame] | 15 | help |
Hans Verkuil | 5f2c467 | 2017-04-17 08:05:10 -0300 | [diff] [blame] | 16 | Pass on CEC remote control messages to the RC framework. |
Hans Verkuil | 22712b3 | 2017-10-31 09:55:09 -0400 | [diff] [blame] | 17 | |
| 18 | config CEC_PIN_ERROR_INJ |
| 19 | bool "Enable CEC error injection support" |
| 20 | depends on CEC_PIN && DEBUG_FS |
Mauro Carvalho Chehab | b60a5b8 | 2019-03-20 06:39:44 -0400 | [diff] [blame] | 21 | help |
Hans Verkuil | 22712b3 | 2017-10-31 09:55:09 -0400 | [diff] [blame] | 22 | This option enables CEC error injection using debugfs. |
Mauro Carvalho Chehab | 46d2a3b | 2020-04-15 09:55:10 +0200 | [diff] [blame] | 23 | |
Mauro Carvalho Chehab | 4be5e86 | 2020-04-15 11:03:40 +0200 | [diff] [blame] | 24 | menuconfig MEDIA_CEC_SUPPORT |
Mauro Carvalho Chehab | 46d2a3b | 2020-04-15 09:55:10 +0200 | [diff] [blame] | 25 | bool |
| 26 | prompt "HDMI CEC drivers" |
Geert Uytterhoeven | 15168b2 | 2020-06-04 11:39:53 +0200 | [diff] [blame] | 27 | default y if MEDIA_SUPPORT && !MEDIA_SUPPORT_FILTER |
Mauro Carvalho Chehab | 46d2a3b | 2020-04-15 09:55:10 +0200 | [diff] [blame] | 28 | 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 Chehab | 4be5e86 | 2020-04-15 11:03:40 +0200 | [diff] [blame] | 34 | |
| 35 | if MEDIA_CEC_SUPPORT |
Jeff Chase | 21b9a47 | 2020-06-23 01:59:50 +0200 | [diff] [blame] | 36 | source "drivers/media/cec/i2c/Kconfig" |
Mauro Carvalho Chehab | 4be5e86 | 2020-04-15 11:03:40 +0200 | [diff] [blame] | 37 | source "drivers/media/cec/platform/Kconfig" |
Mauro Carvalho Chehab | a810681 | 2020-04-15 11:14:25 +0200 | [diff] [blame] | 38 | source "drivers/media/cec/usb/Kconfig" |
Mauro Carvalho Chehab | 4be5e86 | 2020-04-15 11:03:40 +0200 | [diff] [blame] | 39 | endif |