Re: [Linux-fbdev-devel] [PATCH] atmel_lcdfb: wiring BGR to RGB colormode

From: Nicolas Ferre
Date: Mon Mar 10 2008 - 12:29:07 EST


Nicolas Ferre :
Adds different wiring mode for the LCD screen.

The legacy atmel LCDC IP uses a non standard color mode,
"BGR-555.1" instead "RGB-565". The major part of graphic stacks for embedded systems uses only "RGB-565". It is possible to swap LCD IOs instead of doing this bit swapping by software (See application note AT91SAM9 LCD Controller
http://www.atmel.com/dyn/resources/prod_documents/doc6300.pdf)

This wire swapping is done on the at91sam9rl-ek board (board code using this patch will come later).

Forgotten line :

Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>


---
drivers/video/atmel_lcdfb.c | 27 ++++++++++++++++++++++-----
include/video/atmel_lcdc.h | 10 ++++++++++
2 files changed, 32 insertions(+), 5 deletions(-)


--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/