diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-07-11 09:30:44 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-07-18 19:27:50 +0300 |
commit | 998140d26723bcddef5857e39077898b0d1bdb8f (patch) | |
tree | da37b2a50d4946b3e0d3a5a87233c522414e395c /drivers/gpu/drm/sun4i/Kconfig | |
parent | 9181b5bbdff2739efa196c204cb307cc3cab210a (diff) | |
download | linux-998140d26723bcddef5857e39077898b0d1bdb8f.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/sun4i/Kconfig')
-rw-r--r-- | drivers/gpu/drm/sun4i/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index 5cc116692913..06f05302ee75 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -22,6 +22,15 @@ config DRM_SUN4I_HDMI Choose this option if you have an Allwinner SoC with an HDMI controller. +config DRM_SUN4I_HDMI_CEC + bool "Allwinner A10 HDMI CEC Support" + depends on DRM_SUN4I_HDMI + select CEC_CORE + depends on CEC_PIN + help + Choose this option if you have an Allwinner SoC with an HDMI + controller and want to use CEC. + config DRM_SUN4I_BACKEND tristate "Support for Allwinner A10 Display Engine Backend" default DRM_SUN4I |