[3/3] ARM: dts: am335x-evmsk: Add blue-and-red-wiring -property to lcdc node
diff mbox

Message ID a2507004ce5e9b41affad88cf9ac677def6b8430.1474025756.git.jsarha@ti.com
State New
Headers show

Commit Message

Jyri Sarha Sept. 16, 2016, 11:50 a.m. UTC
Add blue-and-red-wiring -property to lcdc node. The am335x-evmsk has
blue and red wires crossed to get 24-bit RGB (and 16-bit BGR)
support. After this patch am335x-evmsk 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>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 23b94e7..034e117 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -712,4 +712,6 @@ 
 
 &lcdc {
 	status = "okay";
+
+	blue-and-red-wiring = "crossed";
 };