video: ARM CLCD: add special panel hook for Versatiles
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jun 2016 09:36:18 +0000 (11:36 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 11 Aug 2016 14:54:54 +0000 (17:54 +0300)
commit25348160e9a444d64f589a8106bc06549934223e
treefdb0e9f944d9af27075728c85e28b4250029d9c9
parent1d3f0cbe0d3a537cbc8fb1a91f6d14407acece62
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>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/amba-clcd-versatile.c
drivers/video/fbdev/amba-clcd-versatile.h [new file with mode: 0644]
drivers/video/fbdev/amba-clcd.c