[ARM] 5165/1: pxafb: More LCCR3 depth defines
authorStefan Schmidt <stefan@datenfreihafen.org>
Wed, 9 Jul 2008 07:05:42 +0000 (08:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 Jul 2008 12:44:53 +0000 (13:44 +0100)
Add missing depth definitions to LCCR3.

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/regs-lcd.h

index f762493f51418dc33a46dea0ad3a68b799b745af..999b2a02ce21bafe963c98b66c8c44d49e02bbb8 100644 (file)
 #define LCCR3_4BPP     (2 << 24)
 #define LCCR3_8BPP     (3 << 24)
 #define LCCR3_16BPP    (4 << 24)
+#define LCCR3_18BPP    (5 << 24)
+#define LCCR3_18BPP_P  (6 << 24)
+#define LCCR3_19BPP    (7 << 24)
+#define LCCR3_19BPP_P  (1 << 29)
+#define LCCR3_24BPP    ((1 << 29) | (1 << 24))
+#define LCCR3_25BPP    ((1 << 29) | (2 << 24))
 
 #define LCCR3_PDFOR_0  (0 << 30)
 #define LCCR3_PDFOR_1  (1 << 30)