diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-25 17:22:56 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-03 16:15:58 +0100 |
commit | 9e8dd8fd82b3756995146f66f1624f856c835a5d (patch) | |
tree | 8b1def013fb0d9891a3fcdc98b3f0be2c1506cb5 /arch/arm/boards/karo-tx28 | |
parent | c28dbd811e8e28f18b8964f2687a21b8dea684dc (diff) | |
download | barebox-9e8dd8fd82b3756995146f66f1624f856c835a5d.tar.gz barebox-9e8dd8fd82b3756995146f66f1624f856c835a5d.tar.xz |
ARM tx28: add a bigger delay in display enable
To prevent turning on the display before the signals are stable.
Also, put the LCD_CS pin in the same mode as the kernel does to
prevent flickering.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/karo-tx28')
-rw-r--r-- | arch/arm/boards/karo-tx28/tx28-stk5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/karo-tx28/tx28-stk5.c b/arch/arm/boards/karo-tx28/tx28-stk5.c index d5a7831cd0..92584426ff 100644 --- a/arch/arm/boards/karo-tx28/tx28-stk5.c +++ b/arch/arm/boards/karo-tx28/tx28-stk5.c @@ -199,7 +199,7 @@ static void tx28_fb_enable(int enable) * the backlight to avoid flickering */ if (enable) - mdelay(100); + mdelay(300); gpio_direction_output(GPIO_BACKLIGHT, !enable); } @@ -293,7 +293,7 @@ static const uint32_t tx28_starterkit_pad_setup[] = { /* sync signals */ LCD_WR_RWN_LCD_HSYNC | VE_3_3V | BITKEEPER(0), LCD_RD_E_LCD_VSYNC | VE_3_3V | BITKEEPER(0), - LCD_CS_LCD_ENABLE | VE_3_3V | BITKEEPER(0), + LCD_CS | VE_3_3V | BITKEEPER(0), LCD_RS_LCD_DOTCLK | VE_3_3V | BITKEEPER(0), /* data signals */ LCD_D0 | VE_3_3V | BITKEEPER(0), |