linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Framebuffer driver for controller with indirect addressing?
@ 2011-06-17 23:10 Steve Strobel
  2011-06-18  0:18 ` Bernie Thompson
  2011-06-20 21:02 ` Steve Strobel
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Strobel @ 2011-06-17 23:10 UTC (permalink / raw)
  To: linux-fbdev

I am trying to support a Tianma TM023KDH18 QVGA LCD display (1) via a 
16-bit parallel bus interface on a BF537 Blackfin running the 
distribution from blackfin.uclinux.org.  Built into the display is a 
ILITEK ILI9342 controller (2).  The controller has built-in memory 
for the framebuffer and handles refreshing the display 
automatically.  Changing the contents of the framebuffer is done by 
sending commands to set the starting pixel position, then writing 
repeatedly to the same address with the data for each successive 
pixel.  It does not have address lines, so the framebuffer memory is 
not directly accessible as with the S1D13XXX chips.  A single D/CX 
pin, which we plan to treat like an address line, controls whether 
each bus read/write operation is treated as a command or data.

I am wondering if there is an existing driver for something that 
works in a similar way that I could use as a model.  I think I am 
going to need to create a shadow framebuffer in system memory (maybe 
using the virtual framebuffer) and DMA it to the graphics controller 
whenever the displayed information changes (or maybe on the 
double-buffer flip).  Ultimately I would like to use Qt, so building 
on the existing framebuffer API seems like a good idea.

If someone could point me to a driver that works in a similar way, it 
would help me out a lot.  Thanks.

Steve

(1) Datasheet at 
http://www.tianma-usa.com/web/uploads/spec/0906123532_TM023KDH18%20V1.0.pdf
(2) Datasheet at http://linkcomm.com/temp/ILI9342.pdf



---
Steve Strobel
Link Communications, Inc.
1035 Cerise Rd
Billings, MT 59101-7378
(406) 245-5002 ext 102
(406) 245-4889 (fax)
WWW: http://www.link-comm.com
MailTo:steve.strobel@link-comm.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-20 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 23:10 Framebuffer driver for controller with indirect addressing? Steve Strobel
2011-06-18  0:18 ` Bernie Thompson
2011-06-20 21:02 ` Steve Strobel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).