diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-29 17:18:26 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-29 17:18:26 +0000 |
commit | bce2ee856995019670fac4de1a31c5676fb1ee01 (patch) | |
tree | 4a418122f7f611ed9e8ecc436c5aace34bf6a5e8 /package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h | |
parent | e98cf6be1ba50ce6f840c8e2361c842d63452f50 (diff) |
uboot-xburst: Fix lcd display init sequence.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21263 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h')
-rw-r--r-- | package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h b/package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h index 932cee851f..8ff78ada24 100644 --- a/package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h +++ b/package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h @@ -142,16 +142,19 @@ do { \ #define __lcd_special_on() \ do { \ + __spi_write_reg1(0x05, 0x1e); \ udelay(50);\ - __spi_write_reg1(0x05, 0x16); \ - __spi_write_reg1(0x04, 0x0b); \ - __spi_write_reg1(0x07, 0x8d); \ + __spi_write_reg1(0x05, 0x5d); \ + __spi_write_reg1(0x0B, 0x81); \ __spi_write_reg1(0x01, 0x95); \ - __spi_write_reg1(0x08, 0xc0); \ - __spi_write_reg1(0x03, 0x40); \ - __spi_write_reg1(0x06, 0x75); \ - __spi_write_reg1(0x13, 0x01); \ - __spi_write_reg1(0x05, 0x57); \ + __spi_write_reg1(0x00, 0x07); \ + __spi_write_reg1(0x06, 0x15); \ + __spi_write_reg1(0x07, 0x8d); \ + __spi_write_reg1(0x04, 0x0f); \ + __spi_write_reg1(0x0d, 0x3d); \ + __spi_write_reg1(0x10, 0x42); \ + __spi_write_reg1(0x11, 0x3a); \ + __spi_write_reg1(0x05, 0x5f); \ } while (0) #define __lcd_special_off() \ |