From: hhb Date: Wed, 9 May 2012 05:32:03 +0000 (+0800) Subject: rk30 phone loquat:set lcd driver output 18bits instead of 24bits for for the time... X-Git-Tag: firefly_0821_release~9223 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d375498d8887b819759e1e481d939a0a79e02e21;p=firefly-linux-kernel-4.4.55.git rk30 phone loquat:set lcd driver output 18bits instead of 24bits for for the time being --- diff --git a/drivers/video/display/screen/lcd_hj050na_06a.c b/drivers/video/display/screen/lcd_hj050na_06a.c index 3aefcef508ad..289aab50d0fe 100644 --- a/drivers/video/display/screen/lcd_hj050na_06a.c +++ b/drivers/video/display/screen/lcd_hj050na_06a.c @@ -27,7 +27,7 @@ /* Base */ #define OUT_TYPE SCREEN_RGB -#define OUT_FACE OUT_P888 +#define OUT_FACE OUT_D888_P666 //OUT_P888 #define OUT_CLK 50000000 //50MHz @@ -314,6 +314,7 @@ int lcd_standby(u8 enable) gLcd_info->io_init(); if(enable) { + printk("lcd_standby...\n"); Write_ADDR(0x0028); //set Display Off Write_ADDR(0x0010); //enter sleep mode msleep(100); //wait at least 3 frames time @@ -326,7 +327,7 @@ int lcd_standby(u8 enable) #endif } else { - + printk("lcd_resume...\n"); #if CONFIG_DEEP_STANDBY_MODE gpio_direction_output(LCD_RST_PORT, 0); usleep_range(2*1000, 3*1000);