pxafb: make lubbock/mainstone/zylonite/littleton to use new LCD connection type
Signed-off-by: eric miao <eric.miao@marvell.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
84f43c308b
commit
0454bd09de
@@ -301,8 +301,7 @@ static struct pxafb_mode_info tpo_tdo24mtea1_modes[] = {
|
|||||||
static struct pxafb_mach_info littleton_lcd_info = {
|
static struct pxafb_mach_info littleton_lcd_info = {
|
||||||
.modes = tpo_tdo24mtea1_modes,
|
.modes = tpo_tdo24mtea1_modes,
|
||||||
.num_modes = 2,
|
.num_modes = 2,
|
||||||
.lccr0 = LCCR0_Act,
|
.lcd_conn = LCD_COLOR_TFT_16BPP,
|
||||||
.lccr3 = LCCR3_HSP | LCCR3_VSP,
|
|
||||||
.pxafb_lcd_power = littleton_lcd_power,
|
.pxafb_lcd_power = littleton_lcd_power,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -395,8 +395,8 @@ static struct pxafb_mach_info sharp_lm8v31 = {
|
|||||||
.num_modes = 1,
|
.num_modes = 1,
|
||||||
.cmap_inverse = 0,
|
.cmap_inverse = 0,
|
||||||
.cmap_static = 0,
|
.cmap_static = 0,
|
||||||
.lccr0 = LCCR0_SDS,
|
.lcd_conn = LCD_COLOR_DSTN_16BPP | LCD_PCLK_EDGE_FALL |
|
||||||
.lccr3 = LCCR3_PCP | LCCR3_Acb(255),
|
LCD_AC_BIAS_FREQ(255);
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MMC_POLL_RATE msecs_to_jiffies(1000)
|
#define MMC_POLL_RATE msecs_to_jiffies(1000)
|
||||||
|
@@ -434,8 +434,7 @@ static struct pxafb_mode_info toshiba_ltm035a776c_mode = {
|
|||||||
|
|
||||||
static struct pxafb_mach_info mainstone_pxafb_info = {
|
static struct pxafb_mach_info mainstone_pxafb_info = {
|
||||||
.num_modes = 1,
|
.num_modes = 1,
|
||||||
.lccr0 = LCCR0_Act,
|
.lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL,
|
||||||
.lccr3 = LCCR3_PCP,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int mainstone_mci_init(struct device *dev, irq_handler_t mstone_detect_int, void *data)
|
static int mainstone_mci_init(struct device *dev, irq_handler_t mstone_detect_int, void *data)
|
||||||
|
@@ -97,8 +97,7 @@ static struct pxafb_mode_info toshiba_ltm04c380k_mode = {
|
|||||||
|
|
||||||
static struct pxafb_mach_info zylonite_toshiba_lcd_info = {
|
static struct pxafb_mach_info zylonite_toshiba_lcd_info = {
|
||||||
.num_modes = 1,
|
.num_modes = 1,
|
||||||
.lccr0 = LCCR0_Act,
|
.lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL,
|
||||||
.lccr3 = LCCR3_PCP,
|
|
||||||
.pxafb_backlight_power = zylonite_backlight_power,
|
.pxafb_backlight_power = zylonite_backlight_power,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -134,8 +133,7 @@ static struct pxafb_mode_info sharp_ls037_modes[] = {
|
|||||||
static struct pxafb_mach_info zylonite_sharp_lcd_info = {
|
static struct pxafb_mach_info zylonite_sharp_lcd_info = {
|
||||||
.modes = sharp_ls037_modes,
|
.modes = sharp_ls037_modes,
|
||||||
.num_modes = 2,
|
.num_modes = 2,
|
||||||
.lccr0 = LCCR0_Act,
|
.lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL,
|
||||||
.lccr3 = LCCR3_PCP | LCCR3_HSP | LCCR3_VSP,
|
|
||||||
.pxafb_backlight_power = zylonite_backlight_power,
|
.pxafb_backlight_power = zylonite_backlight_power,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user