History

[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.

Hans Verkuil committed 9 years ago

Commit f902c1e1 parent 2613cc65 files · +22 −7Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/cec.h+2−0
@@ -336,6 +336,8 @@ static inline int cec_is_unconfigured(__u16 log_addr_mask) · 335 unmodified lines
336#define CEC_CAP_RC (1 << 4)336#define CEC_CAP_RC (1 << 4)
337/* Hardware can monitor all messages, not just directed and broadcast. */337/* Hardware can monitor all messages, not just directed and broadcast. */
338#define CEC_CAP_MONITOR_ALL (1 << 5)338#define CEC_CAP_MONITOR_ALL (1 << 5)
339/* Hardware can use CEC only if the HDMI HPD pin is high. */
340#define CEC_CAP_NEEDS_HPD (1 << 6)
339 341
340/**342/**
341 * struct cec_caps - CEC capabilities structure.343 * struct cec_caps - CEC capabilities structure.