aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung_duallcd/s3cfb_wa101s.c
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/video/samsung_duallcd/s3cfb_wa101s.c
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/video/samsung_duallcd/s3cfb_wa101s.c')
-rw-r--r--drivers/video/samsung_duallcd/s3cfb_wa101s.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/drivers/video/samsung_duallcd/s3cfb_wa101s.c b/drivers/video/samsung_duallcd/s3cfb_wa101s.c
new file mode 100644
index 0000000..63910c0
--- /dev/null
+++ b/drivers/video/samsung_duallcd/s3cfb_wa101s.c
@@ -0,0 +1,46 @@
+/* linux/drivers/video/samsung/s3cfb_wa101s.c
+ *
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com/
+ *
+ * 101WA01S 10.1" 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 wa101 = {
+// .width = 1366,
+ .width = 1360,
+ .height = 768,
+ .bpp = 24,
+ .freq = 60,
+
+ .timing = {
+ .h_fp = 48,
+ .h_bp = 80,
+ .h_sw = 32,
+ .v_fp = 3,
+ .v_fpe = 0,
+ .v_bp = 14,
+ .v_bpe = 0,
+ .v_sw = 5,
+ },
+
+ .polarity = {
+ .rise_vclk = 1,
+ .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)
+{
+ wa101.init_ldi = NULL;
+ ctrl->lcd = &wa101;
+}