projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5105b48
)
media: uapi/linux/cec.h: add 5V events
author
Hans Verkuil
<hans.verkuil@cisco.com>
Thu, 28 Jun 2018 11:43:26 +0000
(07:43 -0400)
committer
Mauro Carvalho Chehab
<mchehab+samsung@kernel.org>
Wed, 25 Jul 2018 10:59:23 +0000
(06:59 -0400)
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>
include/uapi/linux/cec.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/cec.h
b/include/uapi/linux/cec.h
index 20fe091b7e9696d874f5eb14b84b53b0239e1d65..097fcd81247189f355968a6545dd8a1a5d8e55d0 100644
(file)
--- 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)