I am trying to make a driver for TFT LCD 240x400 with integrated ILI9327 controller. It is LCD from ZTE U733 mobile phone with developer plate. It provides 32 pins connector with 16bits data bus and other driving signals.
At this time I have working interface ( same as this one : http://valdodov.com/index.php?show=hardware&item=1 ) built on breadboard. It seems it is working but I have problems with kernel module for ILI9327. I have downloaded datasheet and managed some settings (exit from sleep, setting framerate and etc.).
I am stuck on translating framebuffer memory addressing into LCD internal memory. When starting X server I can see driver is writing only to few top lines in random shape.
Can anybody help me to solve this? There is my driver http://pastebin.com/DFLm0rLX
Thanks a lot Petr