drm: add support for DisplayPort CEC-Tunneling-over-AUX
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 11 Jul 2018 13:29:07 +0000 (15:29 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Jul 2018 14:58:19 +0000 (17:58 +0300)
commit2c6d1fffa1d9b0a5b5ac1a23be9ad64abe60910d
tree0220fb44421d7894c2ee6dfee69143e9d1c9703c
parentcf19fa2cfa4e9b5458b6f3503c5317dd1a2bfbae
drm: add support for DisplayPort CEC-Tunneling-over-AUX

This adds support for the DisplayPort CEC-Tunneling-over-AUX
feature that is part of the DisplayPort 1.3 standard.

Unfortunately, not all DisplayPort/USB-C to HDMI adapters with a
chip that has this capability actually hook up the CEC pin, so
even though a CEC device is created, it may not actually work.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180711132909.25409-2-hverkuil@xs4all.nl
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_dp_cec.c [new file with mode: 0644]
drivers/gpu/drm/drm_dp_helper.c
include/drm/drm_dp_helper.h