rk3066b m701: add lcd_stb_pin ctrl
authoryzq <yzq@rock-chips.com>
Tue, 9 Oct 2012 02:23:20 +0000 (10:23 +0800)
committeryzq <yzq@rock-chips.com>
Tue, 9 Oct 2012 02:27:28 +0000 (10:27 +0800)
arch/arm/mach-rk30/board-rk3066b-m701.c

index cfdc6fc68ec329564b589bc6c0770c41d0b30325..1a27d78d4cdb2e3c5a4414907931289e03ca3c60 100755 (executable)
@@ -661,6 +661,10 @@ static int rk_fb_io_disable(void)
        {
                gpio_set_value(LCD_EN_PIN, !LCD_EN_VALUE);
        }
+       if(LCD_STB_PIN !=INVALID_GPIO)
+       {
+               gpio_set_value(LCD_STB_PIN, !LCD_STB_VALUE);
+       }
        return 0;
 }
 static int rk_fb_io_enable(void)
@@ -673,6 +677,10 @@ static int rk_fb_io_enable(void)
        {
                gpio_set_value(LCD_EN_PIN, LCD_EN_VALUE);
        }
+       if(LCD_STB_PIN !=INVALID_GPIO)
+       {
+               gpio_set_value(LCD_STB_PIN, LCD_STB_VALUE);
+       }
        return 0;
 }