linux/drivers/gpu/drm/tilcdc
Jyri Sarha bcc5a6f5fc drm/tilcdc: Add blue-and-red-crossed devicetree property
Add "blue-and-red-wiring"-device tree property and update devicetree
binding document.

The red and blue components are reversed between 24 and 16 bit modes
on am335x LCDC output pins. To get 24 RGB format the red and blue
wires has to be crossed and this in turn causes 16 colors output to be
in BGR format. With straight wiring the 16 color is RGB and 24 bit is
BGR.

The new property describes whether the red and blue wires are crossed
or not. If the property is not present or its value is not recognized
the legacy mode is assumed. The legacy configuration supports RGB565,
RGB888 and XRGB8888 formats. However, depending on wiring, the red and
blue colors are swapped in either 16 or 24-bit color modes.

For more details see section 3.1.1 in AM335x Silicon Errata:
http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sprz360

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-01 22:32:11 +03:00
..
Kconfig drm/tilcdc: make fbdev support really optional 2016-07-18 09:11:38 +02:00
Makefile drm/tilcdc: Add dummy primary plane implementation 2016-08-08 23:05:00 +03:00
tilcdc_crtc.c drm/tilcdc: Write DMA base and ceiling address with single instruction 2016-09-01 22:31:59 +03:00
tilcdc_drv.c drm/tilcdc: Add blue-and-red-crossed devicetree property 2016-09-01 22:32:11 +03:00
tilcdc_drv.h drm/tilcdc: Add blue-and-red-crossed devicetree property 2016-09-01 22:32:11 +03:00
tilcdc_external.c drm/tilcdc: Fix check for remote port parent 2016-09-01 22:28:57 +03:00
tilcdc_external.h drm/tilcdc: Add support for external tda998x encoder 2015-05-27 13:13:32 +03:00
tilcdc_panel.c drm/tilcdc: panel: Add atomic modeset helpers to connector funcs 2016-08-08 23:05:11 +03:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_plane.c drm/tilcdc: Add blue-and-red-crossed devicetree property 2016-09-01 22:32:11 +03:00
tilcdc_regs.h drm/tilcdc: Write DMA base and ceiling address with single instruction 2016-09-01 22:31:59 +03:00
tilcdc_slave_compat.c drivers/of: Specify parent node in of_fdt_unflatten_tree() 2016-05-16 07:22:35 -05:00
tilcdc_slave_compat.dts drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.h drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_tfp410.c drm/tilcdc: tfp410: Add atomic modeset helpers to connector funcs 2016-08-08 23:05:13 +03:00
tilcdc_tfp410.h