aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-s3c2410/regs-lcd.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-09-16 00:11:32 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-25 10:25:22 +0100
commit3e9fc8e5de0fb00226325cf34eb08411eb72ec6d (patch)
treea63da8bbdd8d92bec49d2dc70862316007078151 /include/asm-arm/arch-s3c2410/regs-lcd.h
parent[ARM] 3802/1: S3C24XX: PM tidy up cache flushing (diff)
downloadlinux-dev-3e9fc8e5de0fb00226325cf34eb08411eb72ec6d.tar.xz
linux-dev-3e9fc8e5de0fb00226325cf34eb08411eb72ec6d.zip
[ARM] 3804/1: S3C2442: LCD register update
Add LCD register definitions for the S3C2442. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-s3c2410/regs-lcd.h')
-rw-r--r--include/asm-arm/arch-s3c2410/regs-lcd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/regs-lcd.h b/include/asm-arm/arch-s3c2410/regs-lcd.h
index b306d6e3135d..d8f1adfd17f0 100644
--- a/include/asm-arm/arch-s3c2410/regs-lcd.h
+++ b/include/asm-arm/arch-s3c2410/regs-lcd.h
@@ -113,6 +113,13 @@
#define S3C2410_LCDINT_FRSYNC (1<<1)
#define S3C2410_LCDINT_FICNT (1<<0)
+/* s3c2442 extra stn registers */
+
+#define S3C2442_REDLUT S3C2410_LCDREG(0x20)
+#define S3C2442_GREENLUT S3C2410_LCDREG(0x24)
+#define S3C2442_BLUELUT S3C2410_LCDREG(0x28)
+#define S3C2442_DITHMODE S3C2410_LCDREG(0x20)
+
#define S3C2410_LPCSEL S3C2410_LCDREG(0x60)
#define S3C2410_TFTPAL(x) S3C2410_LCDREG((0x400 + (x)*4))