aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sun4i/Kconfig
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2017-07-11 08:30:44 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-07-18 18:27:50 +0200
commit998140d26723bcddef5857e39077898b0d1bdb8f (patch)
treeda37b2a50d4946b3e0d3a5a87233c522414e395c /drivers/gpu/drm/sun4i/Kconfig
parentdt-bindings: display: sunxi: Improve endpoint ID scheme readability (diff)
downloadlinux-dev-998140d26723bcddef5857e39077898b0d1bdb8f.tar.xz
linux-dev-998140d26723bcddef5857e39077898b0d1bdb8f.zip
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/Kconfig9
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