video: ARM CLCD: support pads connected in reverse order
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jun 2016 09:36:15 +0000 (11:36 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 11 Aug 2016 14:54:53 +0000 (17:54 +0300)
commit03d14c36af98dd2191c2e35b5ed55ff93b59d345
tree80ce9c2dac706da03271214a645b0c04e10111cb
parentaf29897f1046d7c1ab86b57506fbfdcfba569de8
video: ARM CLCD: support pads connected in reverse order

There are CLCDs connected with the pads in BGR rather than RGB
order. It really doesn't matter since the CLCD has a flag and
a bit to switch the position of the RGB and BGR components.
This is needed to put something logical into the
arm,pl11x,tft-r0g0b0-pads property of the device tree on the
Nomadik which will then be <16 8 0>.

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/amba-clcd.c
include/linux/amba/clcd.h