rk3168: ds1006h: update lcd screen config
authorkfx <kfx@rock-chips.com>
Mon, 31 Dec 2012 09:35:55 +0000 (17:35 +0800)
committerkfx <kfx@rock-chips.com>
Mon, 31 Dec 2012 09:35:55 +0000 (17:35 +0800)
arch/arm/mach-rk30/board-rk3168-ds1006h.c
drivers/video/display/screen/lcd_b101ew05.c

index 72fa0a1d30bf23378b742dc222903669727b2f78..5e4c1b72735593bde42198482da5fc7fca034b7a 100644 (file)
@@ -145,7 +145,6 @@ static int rk29_backlight_io_init(void)
 {
        int ret = 0;
 
-       int pwm_gpio;
        //iomux_set(PWM_MODE);
 #ifdef  LCD_DISP_ON_PIN
        ret = gpio_request(BL_EN_PIN, NULL);
@@ -156,9 +155,7 @@ static int rk29_backlight_io_init(void)
        gpio_direction_output(BL_EN_PIN, 0);
        gpio_set_value(BL_EN_PIN, BL_EN_VALUE);
 #endif
-       pwm_gpio = mode_to_gpio(PWM_MODE);
-       gpio_request(pwm_gpio, NULL);
-       gpio_direction_output(pwm_gpio, GPIO_HIGH);
+
        return ret;
 }
 
index 8705b911c1e894271e00fccd664d3d37b9ec9449..e6f9a19fdd46389520df1e5b97f8fb16aaefd489 100755 (executable)
@@ -15,7 +15,7 @@
 /* Base */\r
 #ifdef CONFIG_RK610_LVDS\r
 #define OUT_TYPE               SCREEN_LVDS\r
-#define OUT_FORMAT             LVDS_8BIT_2\r
+#define OUT_FORMAT             LVDS_8BIT_1\r
 #else\r
 #define OUT_TYPE           SCREEN_RGB\r
 #endif\r
 \r
 \r
 #define OUT_CLK                  71000000\r
-#define LCDC_ACLK         300000000           //29 lcdc axi DMA ÆµÂÊ\r
+#define LCDC_ACLK         500000000           //29 lcdc axi DMA ÆµÂÊ\r
 \r
 /* Timing */\r
-#define H_PW                   10\r
-#define H_BP                   100\r
+#define H_PW                   1\r
+#define H_BP                   1\r
 #define H_VD                   1280\r
-#define H_FP                   18\r
+#define H_FP                   158\r
 \r
-#define V_PW                   2\r
-#define V_BP                   8\r
+#define V_PW                   1\r
+#define V_BP                   1\r
 #define V_VD                   800\r
-#define V_FP                   6\r
+#define V_FP                   21\r
 \r
 #define LCD_WIDTH              216\r
 #define LCD_HEIGHT             135\r