aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/video/fbdev/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-16 11:36:18 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-11 17:54:54 +0300
commit25348160e9a444d64f589a8106bc06549934223e (patch)
treefdb0e9f944d9af27075728c85e28b4250029d9c9 /drivers/video/fbdev/Kconfig
parentvideo: ARM CLCD: add special board and panel hooks for Nomadik (diff)
downloadwireguard-linux-25348160e9a444d64f589a8106bc06549934223e.tar.xz
wireguard-linux-25348160e9a444d64f589a8106bc06549934223e.zip
video: ARM CLCD: add special panel hook for Versatiles
This adds a special panel init hook for the ARM reference designs Integrator (IM-PD1), Versatile and RealView, so we can configure a DPI panel from device tree and have it working without boardfiles for these machines. Basically this is the same code as from the board files, just moved over to look up the syscon DT node and manipulate the special CLCD register from their regmap. Tested on RealView PB11MPcore. Cc: Pawel Moll <pawel.moll@arm.com> Cc: Rob Herring <robh@kernel.org> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/Kconfig')
-rw-r--r--drivers/video/fbdev/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 9b9a76b82c04..6c28ecc3958c 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -307,6 +307,8 @@ config PLAT_VERSATILE_CLCD
def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS || ARCH_INTEGRATOR
depends on ARM
depends on FB_ARMCLCD && FB=y
+ select REGMAP
+ select MFD_SYSCON
config FB_ACORN
bool "Acorn VIDC support"