{
int ret = 0;
- int pwm_gpio;
//iomux_set(PWM_MODE);
#ifdef LCD_DISP_ON_PIN
ret = gpio_request(BL_EN_PIN, NULL);
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;
}
/* 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