diff options
Diffstat (limited to 'drivers/video/samsung_duallcd/s3cfb_lte480wv.c')
-rw-r--r-- | drivers/video/samsung_duallcd/s3cfb_lte480wv.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/drivers/video/samsung_duallcd/s3cfb_lte480wv.c b/drivers/video/samsung_duallcd/s3cfb_lte480wv.c new file mode 100644 index 0000000..21f76a3 --- /dev/null +++ b/drivers/video/samsung_duallcd/s3cfb_lte480wv.c @@ -0,0 +1,45 @@ +/* linux/drivers/video/samsung/s3cfb_lte480wv.c + * + * Copyright (c) 2010 Samsung Electronics Co., Ltd. + * http://www.samsung.com/ + * + * LTE480 4.8" WVGA Landscape LCD module driver for the SMDK + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +#include "s3cfb.h" + +static struct s3cfb_lcd lte480wv = { + .width = 800, + .height = 480, + .bpp = 24, + .freq = 60, + + .timing = { + .h_fp = 8, + .h_bp = 13, + .h_sw = 3, + .v_fp = 5, + .v_fpe = 1, + .v_bp = 7, + .v_bpe = 1, + .v_sw = 1, + }, + + .polarity = { + .rise_vclk = 0, + .inv_hsync = 1, + .inv_vsync = 1, + .inv_vden = 0, + }, +}; + +/* name should be fixed as 's3cfb_set_lcd_info' */ +void s3cfb_set_lcd_info(struct s3cfb_global *ctrl) +{ + lte480wv.init_ldi = NULL; + ctrl->lcd = <e480wv; +} |