This patch work against the mini6410 kernel generated by OE. The stock driver does not work for the 4.3” LCD in OK6410.
--- drivers/video/samsung/s3c_mini6410.c-orig 2010-10-18 21:17:07.000000000 +0800
+++ drivers/video/samsung/s3c_mini6410.c 2010-10-18 21:20:52.000000000 +0800
@@ -25,13 +25,14 @@
#include <linux/autoconf.h>
#if defined(CONFIG_FB_S3C_TFT480272)
+/* definition for WXCAT43 */
-#define S3CFB_VBP (1) /* back porch */
-#define S3CFB_VFP (1) /* front porch */
-#define S3CFB_VSW (1) /* vsync width */
-#define S3CFB_HBP (0x02) /* back porch */
-#define S3CFB_HFP (0x03) /* front porch */
-#define S3CFB_HSW (0x28) /* hsync width */
+#define S3CFB_VBP (2) /* back porch */
+#define S3CFB_VFP (2) /* front porch */
+#define S3CFB_VSW (10) /* vsync width */
+#define S3CFB_HBP (2) /* back porch */
+#define S3CFB_HFP (2) /* front porch */
+#define S3CFB_HSW (41) /* hsync width */
#define S3CFB_HRES 480 /* horizon pixel x resolition */
#define S3CFB_VRES 272 /* line cnt y resolution */
@@ -198,7 +199,7 @@
void s3cfb_init_hw(void)
{
- printk(KERN_INFO "LCD TYPE :: LTE480WV will be initialized\n");
+ printk(KERN_INFO "LCD TYPE :: WXCAT43 will be initialized\n");
s3cfb_set_fimd_info();
s3cfb_set_gpio();