staging: fbtft: add adriver for SH1106
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 28 Feb 2017 07:10:38 +0000 (08:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:08 +0000 (09:17 +0100)
commit079306e979d7f8bb1081ce43c7fc1fa8c1d45d55
tree95d4bb80d5f938aed0c84cf68de7671af2b75fb3
parent2fad31423d1db01a341b4a7fac697e1af128c281
staging: fbtft: add adriver for SH1106

This patch adds support for the SH1106 OLED controller chip.

It's similar to the SSD1306, however it supports only a subset of
commands and the internal video memory has a different width.

Major differences:
- Internal video memory has a width of 132 pixels
- Only a subset of commands is supported
- Only page addressing mode is supported, no support for vertical and
  horizontal addressing
- SPI frequency limited to 2 MHz according to the datasheet

Successfully tested with a 1.3" OLED display with this chip and
SPI interface.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/Kconfig
drivers/staging/fbtft/Makefile
drivers/staging/fbtft/fb_sh1106.c [new file with mode: 0644]