sun4i_hdmi: add CEC support
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 11 Jul 2017 06:30:44 +0000 (08:30 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 18 Jul 2017 16:27:50 +0000 (18:27 +0200)
commit998140d26723bcddef5857e39077898b0d1bdb8f
treeda37b2a50d4946b3e0d3a5a87233c522414e395c
parent9181b5bbdff2739efa196c204cb307cc3cab210a
sun4i_hdmi: add CEC support

Add HDMI CEC support to the Allwinner A10 SoC.

This SoC uses a poor-man's CEC implementation by polling the CEC pin. It is
using the CEC_PIN core implementation for such devices to do the heavy
lifting. It just provides the callbacks to read/drive the CEC pin.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/Kconfig
drivers/gpu/drm/sun4i/sun4i_hdmi.h
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c