aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/regs-lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/regs-lcd.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/regs-lcd.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/mach-pxa/include/mach/regs-lcd.h b/arch/arm/mach-pxa/include/mach/regs-lcd.h
index 5c522263e401..aff3b876a7bf 100644
--- a/arch/arm/mach-pxa/include/mach/regs-lcd.h
+++ b/arch/arm/mach-pxa/include/mach/regs-lcd.h
@@ -28,17 +28,7 @@
28#define CMDCR (0x100) /* Command Control Register */ 28#define CMDCR (0x100) /* Command Control Register */
29#define PRSR (0x104) /* Panel Read Status Register */ 29#define PRSR (0x104) /* Panel Read Status Register */
30 30
31#define LCCR3_1BPP (0 << 24) 31#define LCCR3_BPP(x) ((((x) & 0x7) << 24) | (((x) & 0x8) ? (1 << 29) : 0))
32#define LCCR3_2BPP (1 << 24)
33#define LCCR3_4BPP (2 << 24)
34#define LCCR3_8BPP (3 << 24)
35#define LCCR3_16BPP (4 << 24)
36#define LCCR3_18BPP (5 << 24)
37#define LCCR3_18BPP_P (6 << 24)
38#define LCCR3_19BPP (7 << 24)
39#define LCCR3_19BPP_P (1 << 29)
40#define LCCR3_24BPP ((1 << 29) | (1 << 24))
41#define LCCR3_25BPP ((1 << 29) | (2 << 24))
42 32
43#define LCCR3_PDFOR_0 (0 << 30) 33#define LCCR3_PDFOR_0 (0 << 30)
44#define LCCR3_PDFOR_1 (1 << 30) 34#define LCCR3_PDFOR_1 (1 << 30)
@@ -133,9 +123,6 @@
133#define LCCR3_PCD Fld (8, 0) /* Pixel Clock Divisor */ 123#define LCCR3_PCD Fld (8, 0) /* Pixel Clock Divisor */
134#define LCCR3_PixClkDiv(Div) (((Div) << FShft (LCCR3_PCD))) 124#define LCCR3_PixClkDiv(Div) (((Div) << FShft (LCCR3_PCD)))
135 125
136#define LCCR3_BPP Fld (3, 24) /* Bit Per Pixel */
137#define LCCR3_Bpp(Bpp) (((Bpp) << FShft (LCCR3_BPP)))
138
139#define LCCR3_ACB Fld (8, 8) /* AC Bias */ 126#define LCCR3_ACB Fld (8, 8) /* AC Bias */
140#define LCCR3_Acb(Acb) (((Acb) << FShft (LCCR3_ACB))) 127#define LCCR3_Acb(Acb) (((Acb) << FShft (LCCR3_ACB)))
141 128