uboot-xburst: Fix lcd display init sequence.
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 29 Apr 2010 17:18:26 +0000 (17:18 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Thu, 29 Apr 2010 17:18:26 +0000 (17:18 +0000)
SVN-Revision: 21263

package/uboot-xburst/files/cpu/mips/nanonote_gpm940b0.h

index 932cee851fbc4ea5a20c1a9b6c83afa33ddc7def..8ff78ada24478929ec9a1ede436d005a60df88e5 100644 (file)
@@ -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() \