• Linus Walleij's avatar
    video: ARM CLCD: add special panel hook for Versatiles · 25348160
    Linus Walleij authored
    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: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    25348160
amba-clcd-versatile.c 14.1 KB