From af581b2d17cb65a71b774108f8c46eb13d84a836 Mon Sep 17 00:00:00 2001 From: yxj Date: Sun, 6 Jan 2013 20:53:05 +0800 Subject: [PATCH] hd screen LP097Qx1: max resolution supported on rk3066b is 2047 --- drivers/video/display/screen/lcd_LP097QX1.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 -- 2.34.1