summaryrefslogtreecommitdiff
path: root/scripts/check-lc_ctype.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-16 11:36:14 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-08-11 17:54:53 +0300
commitaf29897f1046d7c1ab86b57506fbfdcfba569de8 (patch)
tree090626d261fe1245353b7e1673ab9018693504ae /scripts/check-lc_ctype.c
parentc38162be301d59278f568e0b34be31915b6fe3bb (diff)
video: ARM CLCD: support DT signal inversion flags
The device tree bindings from display-timing.txt allows us to specify if data enable, hsync, vsync or the pixed clock should be inverted on the way to the display. The driver does not currently handle this so add support for those flags as it is needed for the Versatile Sanyo LCD display. Note that the previous behaviour was to invert the pixel clock for all displays, so unless the pixel clock polarity is explicitly defined in the device tree (i.e. the timings node has the "pixelclk-active" property) we fall back to inverting the pixel clock. This needs some extra compatibility code. Since the timing flags have to be set up inside the struct clcd_panel, we need to refactor the code a bit to pass around the panel rather than just the mode. 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 'scripts/check-lc_ctype.c')
0 files changed, 0 insertions, 0 deletions