Browse Source

ARM: dts: am335x-evm: Add blue-and-red-wiring -property to lcdc node

Add blue-and-red-wiring -property to lcdc node. The am335x-evm has
blue and red wires crossed to get 24-bit RGB (and 16-bit BGR)
support. After this patch am335x-evm supports BGR565, RGB888, and
XRGB8888 color formats. See details in
Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Jyri Sarha 9 năm trước cách đây
mục cha
commit
f91f0f2466
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      arch/arm/boot/dts/am335x-evm.dts

+ 2 - 0
arch/arm/boot/dts/am335x-evm.dts

@@ -497,6 +497,8 @@
 
 &lcdc {
 	status = "okay";
+
+	blue-and-red-wiring = "crossed";
 };
 
 &elm {