summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij2018-02-05 20:20:13 +0100
committerLinus Walleij2018-02-07 09:06:59 +0100
commitf40f5b87d974655984ce545515e5c9e57b371b3c (patch)
tree51407f67df2da6f49e497a59985a5e5c29a56a5c /drivers/gpu/drm/panel/Kconfig
parentdrm/panel: Device tree bindings for ARM Versatile panels (diff)
downloadkernel-qcow2-linux-f40f5b87d974655984ce545515e5c9e57b371b3c.tar.gz
kernel-qcow2-linux-f40f5b87d974655984ce545515e5c9e57b371b3c.tar.xz
kernel-qcow2-linux-f40f5b87d974655984ce545515e5c9e57b371b3c.zip
drm/panel: Add support for ARM Versatile panels
The ARM reference designs "Versatile AB" and "Versatile PB" contain panel connectors with autodetection of the connected panel type. This adds a small driver utilizing the MFD syscon look-up to read the autodetection register and set up the corresponding panel appropriately. In the source file there is a bit of elaboration of the panel types and interfaces on these boards. This was tested with the PL111 DRM driver on the ARM Versatile AB with the IB2 daughterboard. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20180205192013.5349-2-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/panel/Kconfig')
-rw-r--r--drivers/gpu/drm/panel/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 6ba4031f3919..988048ebcc22 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -7,6 +7,16 @@ config DRM_PANEL
menu "Display Panels"
depends on DRM && DRM_PANEL
+config DRM_PANEL_ARM_VERSATILE
+ tristate "ARM Versatile panel driver"
+ depends on OF
+ depends on MFD_SYSCON
+ select VIDEOMODE_HELPERS
+ help
+ This driver supports the ARM Versatile panels connected to ARM
+ reference designs. The panel is detected using special registers
+ in the Versatile family syscon registers.
+
config DRM_PANEL_LVDS
tristate "Generic LVDS panel driver"
depends on OF