]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] cec: add CEC_CAP_NEEDS_HPD
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 7 Jun 2017 14:46:12 +0000 (11:46 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 09:54:34 +0000 (06:54 -0300)
commitf902c1e95d5dfe5102f8467d69dc51d505f832ee
tree29e8d0abcd8b7c4d67cd69a7b46f0b4abc10bf34
parent2613cc6fd32c4997d8e9473f8249601a5e088ee7
[media] cec: add CEC_CAP_NEEDS_HPD

Add a new capability CEC_CAP_NEEDS_HPD. If this capability is set
then the hardware can only use CEC if the HDMI Hotplug Detect pin
is high. Such hardware cannot handle the corner case in the CEC specification
where it is possible to transmit messages even if no hotplug signal is
present (needed for some displays that turn off the HPD when in standby,
but still have CEC enabled).

Typically hardware that needs this capability have the HPD wired to the CEC
block, often to a 'power' or 'active' pin.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c
drivers/media/cec/cec-api.c
drivers/media/cec/cec-core.c
include/media/cec.h
include/uapi/linux/cec.h