The first and only thing I did is ChibiOS/GFX gdisp driver for SSD2119 LCD driver found on DM-LCD35RT. I also made appropriate board file that uses FSMC interface.
Here is my work (in SSD2119 branch): https://github.com/resset/ChibiOS-GFX/tree/SSD2119
Basically, I did nothing fancy. SSD2119 is very similar to SSD1289, however orientated horizontally, with greater width than height: 320x240 pixels. It is also initiated differently, there are some differences in power modes handling, orientation switching etc.
What is included and tested:
- initialization
- four orientations (0, 90, 180, 270) and orientation switching support
- power modes: powerOn, powerOff, powerSleep, powerDeepSleep
- backlight control using PWM
- routines: gdisp_lld_clear, gdisp_lld_fill_area, gdisp_lld_blit_area_ex, gdisp_lld_get_pixel_color, gdisp_lld_vertical_scroll are exactly the same as in SSD1289
What is not there:
- there is no GPIO interface yet
- no contrast control
And this is a proof: http://youtu.be/pGBv4OINF5k
So this is my courteous request to review my changes and point mistakes. Thanks in advance!
Mateusz