summaryrefslogtreecommitdiff
path: root/include/uapi/linux/cec.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-06-28 07:43:26 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-25 06:59:23 -0400
commitf48a534adbd321362c3199140008c9e2f2a81b3a (patch)
tree1d31d6f1c9926eac9fc3106516f9bb6472c7e2fa /include/uapi/linux/cec.h
parent5105b484cc0be4ba34d49ed054863e16bc85edd2 (diff)
media: uapi/linux/cec.h: add 5V events
Add two new events to signal when the 5V line goes high or low. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/uapi/linux/cec.h')
-rw-r--r--include/uapi/linux/cec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/cec.h b/include/uapi/linux/cec.h
index 20fe091b7e96..097fcd812471 100644
--- a/include/uapi/linux/cec.h
+++ b/include/uapi/linux/cec.h
@@ -384,6 +384,8 @@ struct cec_log_addrs {
#define CEC_EVENT_PIN_CEC_HIGH 4
#define CEC_EVENT_PIN_HPD_LOW 5
#define CEC_EVENT_PIN_HPD_HIGH 6
+#define CEC_EVENT_PIN_5V_LOW 7
+#define CEC_EVENT_PIN_5V_HIGH 8
#define CEC_EVENT_FL_INITIAL_STATE (1 << 0)
#define CEC_EVENT_FL_DROPPED_EVENTS (1 << 1)