From: yxj Date: Sun, 6 Jan 2013 12:53:05 +0000 (+0800) Subject: hd screen LP097Qx1: max resolution supported on rk3066b is 2047 X-Git-Tag: firefly_0821_release~7996 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af581b2d17cb65a71b774108f8c46eb13d84a836;p=firefly-linux-kernel-4.4.55.git hd screen LP097Qx1: max resolution supported on rk3066b is 2047 --- diff --git a/drivers/video/display/screen/lcd_LP097QX1.c b/drivers/video/display/screen/lcd_LP097QX1.c index 8d7f8a3d2353..ca6a3b3e1bc7 100644 --- a/drivers/video/display/screen/lcd_LP097QX1.c +++ b/drivers/video/display/screen/lcd_LP097QX1.c @@ -13,13 +13,20 @@ #define OUT_FACE OUT_P666 -#define OUT_CLK 160000000//205000000 +#define OUT_CLK 205000000 //160000000//205000000 #define LCDC_ACLK 300000000 //29 lcdc axi DMA ƵÂÊ /* Timing */ #define H_PW 5 #define H_BP 5 -#define H_VD 2048 + +#if defined(CONFIG_ARCH_RK3066B) +#define H_VD 2047 +#else +#define H_VD 2048 +#endif + + #define H_FP 150 #define V_PW 1