summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil+cisco@kernel.org>2026-05-18 16:40:35 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2026-05-19 17:53:05 +0200
commit79500c929de313550554e604d22f3202955cea20 (patch)
tree95ae729999b0ebf47f04fd8cd92451adf2e0b0d0 /include/uapi/linux
parentb300f96cb8cbda56c645e0816948803ea9674433 (diff)
downloadlinux-79500c929de313550554e604d22f3202955cea20.tar.gz
linux-79500c929de313550554e604d22f3202955cea20.zip
media: include/uapi/linux/cec*: clarify which msgs are CEC 2.0
Drop comments about CEC 2.0 from cec-funcs.h. In cec.h clearly comment messages that are CEC 2.0 specific as such. Also rename references to HDMI 2.0 to CEC 2.0. The <Request/Report Current Latency> messages were marked as CEC 2.0 only. That is wrong, these messages are explicitly allowed for any CEC version. Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org> Link: https://patch.msgid.link/098789ee233f777d5ad87a72f09a997373c98d25.1779115235.git.hverkuil+cisco@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Message-ID: <098789ee233f777d5ad87a72f09a997373c98d25.1779115235.git.hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/cec.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/include/uapi/linux/cec.h b/include/uapi/linux/cec.h
index 75bc9e4e0350..81a05c9c0706 100644
--- a/include/uapi/linux/cec.h
+++ b/include/uapi/linux/cec.h
@@ -742,7 +742,7 @@ struct cec_event {
#define CEC_OP_PRIM_DEVTYPE_PROCESSOR 7
#define CEC_MSG_SET_MENU_LANGUAGE 0x32
-#define CEC_MSG_REPORT_FEATURES 0xa6 /* HDMI 2.0 */
+#define CEC_MSG_REPORT_FEATURES 0xa6 /* CEC 2.0 */
/* All Device Types Operand (all_device_types) */
#define CEC_OP_ALL_DEVTYPE_TV 0x80
#define CEC_OP_ALL_DEVTYPE_RECORD 0x40
@@ -777,7 +777,7 @@ struct cec_event {
#define CEC_OP_FEAT_DEV_SOURCE_HAS_ARC_RX 0x02
#define CEC_OP_FEAT_DEV_HAS_SET_AUDIO_VOLUME_LEVEL 0x01
-#define CEC_MSG_GIVE_FEATURES 0xa5 /* HDMI 2.0 */
+#define CEC_MSG_GIVE_FEATURES 0xa5 /* CEC 2.0 */
/* Deck Control Feature */
@@ -1067,7 +1067,7 @@ struct cec_event {
#define CEC_OP_AUD_FMT_ID_CEA861 0
#define CEC_OP_AUD_FMT_ID_CEA861_CXT 1
-#define CEC_MSG_SET_AUDIO_VOLUME_LEVEL 0x73
+#define CEC_MSG_SET_AUDIO_VOLUME_LEVEL 0x73 /* CEC 2.0 */
/* Audio Rate Control Feature */
#define CEC_MSG_SET_AUDIO_RATE 0x9a
@@ -1091,7 +1091,6 @@ struct cec_event {
/* Dynamic Audio Lipsync Feature */
-/* Only for CEC 2.0 and up */
#define CEC_MSG_REQUEST_CURRENT_LATENCY 0xa7
#define CEC_MSG_REPORT_CURRENT_LATENCY 0xa8
/* Low Latency Mode Operand (low_latency_mode) */
@@ -1105,9 +1104,9 @@ struct cec_event {
/* Latency Indication Protocol Feature */
-#define CEC_MSG_REQUEST_LIP_SUPPORT 0x50
-#define CEC_MSG_REPORT_LIP_SUPPORT 0x51
-#define CEC_MSG_REQUEST_AUDIO_AND_VIDEO_LATENCY 0x52
+#define CEC_MSG_REQUEST_LIP_SUPPORT 0x50 /* CEC 2.0 */
+#define CEC_MSG_REPORT_LIP_SUPPORT 0x51 /* CEC 2.0 */
+#define CEC_MSG_REQUEST_AUDIO_AND_VIDEO_LATENCY 0x52 /* CEC 2.0 */
/* HDR Format Operand (hdr_format) */
#define CEC_OP_HDR_FORMAT_GAMMA_SDR 0
#define CEC_OP_HDR_FORMAT_GAMMA_HDR 1
@@ -1120,12 +1119,12 @@ struct cec_event {
#define CEC_OP_HDR_FORMAT_DV_SOURCE_LED 17
#define CEC_OP_HDR_FORMAT_HDR10PLUS 24
#define CEC_OP_HDR_FORMAT_ETSI_TS_103_433 32
-#define CEC_MSG_REPORT_AUDIO_AND_VIDEO_LATENCY 0x53
-#define CEC_MSG_REQUEST_AUDIO_LATENCY 0x54
-#define CEC_MSG_REPORT_AUDIO_LATENCY 0x55
-#define CEC_MSG_REQUEST_VIDEO_LATENCY 0x56
-#define CEC_MSG_REPORT_VIDEO_LATENCY 0x57
-#define CEC_MSG_UPDATE_SQID 0x58
+#define CEC_MSG_REPORT_AUDIO_AND_VIDEO_LATENCY 0x53 /* CEC 2.0 */
+#define CEC_MSG_REQUEST_AUDIO_LATENCY 0x54 /* CEC 2.0 */
+#define CEC_MSG_REPORT_AUDIO_LATENCY 0x55 /* CEC 2.0 */
+#define CEC_MSG_REQUEST_VIDEO_LATENCY 0x56 /* CEC 2.0 */
+#define CEC_MSG_REPORT_VIDEO_LATENCY 0x57 /* CEC 2.0 */
+#define CEC_MSG_UPDATE_SQID 0x58 /* CEC 2.0 */
/* Capability Discovery and Control Feature */