OpenCloudOS-Kernel/drivers/media/cec
Hans Verkuil 333ef6bd10 media: cec: add CEC_EVENT_PIN_HPD_LOW/HIGH events
Add support for two new low-level events: PIN_HPD_LOW and PIN_HPD_HIGH.

This is specifically meant for use with the upcoming cec-gpio driver
and makes it possible to trace when the HPD pin changes. Some HDMI
sinks do strange things with the HPD and this makes it easy to debug
this.

Note that this also moves the initialization of a devnode mutex and
list to the allocate_adapter function: if the HPD is high, then as
soon as the HPD interrupt is created an interrupt occurs and
cec_queue_pin_hpd_event() is called which requires that the devnode
mutex and list are initialized.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-23 07:43:04 -04:00
..
Kconfig media fixes for v4.12-rc4 2017-06-07 07:50:49 -03:00
Makefile media: cec-pin: add low-level pin hardware support 2017-07-18 12:57:18 -03:00
cec-adap.c media: cec: add CEC_EVENT_PIN_HPD_LOW/HIGH events 2017-09-23 07:43:04 -04:00
cec-api.c media: cec: add CEC_EVENT_PIN_HPD_LOW/HIGH events 2017-09-23 07:43:04 -04:00
cec-core.c media: cec: add CEC_EVENT_PIN_HPD_LOW/HIGH events 2017-09-23 07:43:04 -04:00
cec-edid.c [media] cec.h: merge cec-edid.h into cec.h 2017-04-19 06:53:18 -03:00
cec-notifier.c media: cec-notifier: small improvements 2017-07-26 05:46:44 -04:00
cec-pin.c media: cec-pin.c: use proper ktime accessor functions 2017-09-23 07:34:48 -04:00
cec-priv.h [media] cec: move the CEC framework out of staging and to media 2016-11-16 15:40:20 -02:00