diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:28:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:16 -0400 |
commit | 1f4115376c488d3bb3490259ae5b2c3b035760a5 (patch) | |
tree | 26d93492e72aed892d1d752ce5082508fd2bd703 /include/asm-arm | |
parent | 09fe75f6f934597f765748342ca6fb378ee7ecdb (diff) |
s3c2410fb: add margin fields to s3c2410fb_display
This patch adds margins fields to the s3c2410fb_display
structure. It also sets display type and horizontal
margins in all platform files that use the s3c2410fb
driver.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-s3c2410/fb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/fb.h b/include/asm-arm/arch-s3c2410/fb.h index c0e18b2c2d4a..a76585ae651d 100644 --- a/include/asm-arm/arch-s3c2410/fb.h +++ b/include/asm-arm/arch-s3c2410/fb.h | |||
@@ -36,6 +36,13 @@ struct s3c2410fb_display { | |||
36 | unsigned short yres; | 36 | unsigned short yres; |
37 | unsigned short bpp; | 37 | unsigned short bpp; |
38 | 38 | ||
39 | unsigned short left_margin; /* value in pixels (TFT) or HCLKs (STN) */ | ||
40 | unsigned short right_margin; /* value in pixels (TFT) or HCLKs (STN) */ | ||
41 | unsigned short hsync_len; /* value in pixels (TFT) or HCLKs (STN) */ | ||
42 | unsigned short upper_margin; /* value in lines (TFT) or 0 (STN) */ | ||
43 | unsigned short lower_margin; /* value in lines (TFT) or 0 (STN) */ | ||
44 | unsigned short vsync_len; /* value in lines (TFT) or 0 (STN) */ | ||
45 | |||
39 | /* lcd configuration registers */ | 46 | /* lcd configuration registers */ |
40 | struct s3c2410fb_hw regs; | 47 | struct s3c2410fb_hw regs; |
41 | }; | 48 | }; |