aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-s3c2410
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
parent58095d7f39edc919cd3c63c6109ad282e7085da1 (diff)
downloadkernel_samsung_crespo-3e9fc8e5de0fb00226325cf34eb08411eb72ec6d.zip
kernel_samsung_crespo-3e9fc8e5de0fb00226325cf34eb08411eb72ec6d.tar.gz
kernel_samsung_crespo-3e9fc8e5de0fb00226325cf34eb08411eb72ec6d.tar.bz2
[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')
-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 b306d6e..d8f1adf 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))