mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
screen b101ew05:support rk616 lvds
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user