newton: fix lcd power leak on suspend
authorjyk <jyk@rock-chips.com>
Thu, 4 Aug 2011 15:20:39 +0000 (23:20 +0800)
committerjyk <jyk@rock-chips.com>
Thu, 4 Aug 2011 15:20:39 +0000 (23:20 +0800)
close LCD_DISP & LCD_EN on suspend

arch/arm/mach-rk29/board-rk29-newton.c

index 6033f91b9bb6916323db5556afdc0d2d9ab6d266..16a693c3c2eb9668b14058ce9b5e0b1a6626ded3 100755 (executable)
@@ -176,15 +176,14 @@ struct rk29_nand_platform_data rk29_nand_data = {
 * author: zyw@rock-chips.com
 *****************************************************************************************/
 #define FB_ID                       0
-#define FB_DISPLAY_ON_PIN           INVALID_GPIO// RK29_PIN6_PD0
-//#define FB_LCD_STANDBY_PIN          INVALID_GPIO
-#define FB_LCD_STANDBY_PIN          RK29_PIN6_PD1
+#define FB_DISPLAY_ON_PIN           RK29_PIN6_PD1
+#define FB_LCD_STANDBY_PIN          RK29_PIN1_PD6
 #define FB_LCD_CABC_EN_PIN          RK29_PIN6_PD2
 #define FB_MCU_FMK_PIN              INVALID_GPIO
 
 #define FB_DISPLAY_ON_VALUE         GPIO_HIGH
-//#define FB_LCD_STANDBY_VALUE        GPIO_HIGH
-#define FB_LCD_STANDBY_VALUE        GPIO_LOW
+#define FB_LCD_STANDBY_VALUE        GPIO_HIGH
+//#define FB_LCD_STANDBY_VALUE        GPIO_LOW
 
 static int rk29_lcd_io_init(void)
 {