screen b101ew05:support rk616 lvds

This commit is contained in:
yxj
2013-04-18 22:23:15 +08:00
parent 0ae1d938a4
commit b9d5fbdaed

View File

@@ -8,14 +8,14 @@
#include "../../rockchip/hdmi/rk_hdmi.h"
#endif
#ifdef CONFIG_RK610_LVDS
#if defined(CONFIG_RK610_LVDS) || defined(CONFIG_RK616_LVDS)
#include "../transmitter/rk610_lcd.h"
#endif
/* Base */
#ifdef CONFIG_RK610_LVDS
#if defined(CONFIG_RK610_LVDS) || defined(CONFIG_RK616_LVDS)
#define OUT_TYPE SCREEN_LVDS
#define LVDS_FORMAT LVDS_8BIT_2
#else
@@ -42,7 +42,7 @@
#define LCD_WIDTH 216
#define LCD_HEIGHT 135
/* Other */
#ifdef CONFIG_RK610_LVDS
#if defined(CONFIG_RK610_LVDS) || defined(CONFIG_RK616_LVDS)
#define DCLK_POL 1
#else
#define DCLK_POL 0
@@ -336,7 +336,7 @@ void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info )
screen->standby = NULL;
screen->dsp_lut = dsp_lut;
screen->sscreen_get = set_scaler_info;
#ifdef CONFIG_RK610_LVDS
#if defined(CONFIG_RK610_LVDS) || defined(CONFIG_RK616_LVDS)
screen->sscreen_set = rk610_lcd_scaler_set_param;
#endif
}