Skip to content

Commit

Permalink
[ARM] 3804/1: S3C2442: LCD register update
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and Russell King committed Sep 25, 2006
1 parent 58095d7 commit 3e9fc8e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/asm-arm/arch-s3c2410/regs-lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3e9fc8e

Please sign in to comment.