title: How do I go about writing a Linux driver for an LCD screen?
body: <p>I'll start by explaining what I'm looking to do.</p>
  
  <p>I have a BeagleBone Black running Ubuntu 13.04, and this <a href="http://www.adafruit.com/products/335" rel="noreferrer">TFT LCD w/touchscreen</a>.</p>
  
  <p>There is a library for the touchscreen that can be used with an Arduino to draw primitive graphics and text on the screen. However, instead of just adapting this library to run on the BeagleBone, I would like to write a driver for this LCD that would allow me to display a GUI created with Qt.</p>
  
  <p>According to Qt's website, embedded Linux applications are written directly the frame buffer.</p>
  
  <p>I have been using <a href="http://oreilly.com/openbook/linuxdrive3/book/" rel="noreferrer">this book</a> for reference when writing drivers, but I have not been able to find much information about how the frame buffer works and how it would interact with the LCD driver.</p>
  
  <p>My questions:  </p>
  
  <ol>
  <li>Do I have to implement my own frame buffer in order to use Qt to draw a GUI on this screen?  </li>
  <li>If so, will I have to implement a separate driver for the screen to interact with the frame buffer, or would the frame buffer also handle sending the data to the screen?  </li>
  <li>Can anyone suggest any examples or reference materials on developing drivers for LCD screens?</li>
  </ol>