summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft/Kconfig
diff options
context:
space:
mode:
authorHeiner Kallweit2017-02-28 08:10:38 +0100
committerGreg Kroah-Hartman2017-03-06 09:17:08 +0100
commit079306e979d7f8bb1081ce43c7fc1fa8c1d45d55 (patch)
tree95d4bb80d5f938aed0c84cf68de7671af2b75fb3 /drivers/staging/fbtft/Kconfig
parentstaging: fbtft: Merged two identical conditionals into one. (diff)
downloadkernel-qcow2-linux-079306e979d7f8bb1081ce43c7fc1fa8c1d45d55.tar.gz
kernel-qcow2-linux-079306e979d7f8bb1081ce43c7fc1fa8c1d45d55.tar.xz
kernel-qcow2-linux-079306e979d7f8bb1081ce43c7fc1fa8c1d45d55.zip
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>
Diffstat (limited to 'drivers/staging/fbtft/Kconfig')
-rw-r--r--drivers/staging/fbtft/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/fbtft/Kconfig b/drivers/staging/fbtft/Kconfig
index 6f5e82464d78..dba676761d72 100644
--- a/drivers/staging/fbtft/Kconfig
+++ b/drivers/staging/fbtft/Kconfig
@@ -111,6 +111,12 @@ config FB_TFT_S6D1121
help
Generic Framebuffer support for S6D1121
+config FB_TFT_SH1106
+ tristate "FB driver for the SH1106 OLED Controller"
+ depends on FB_TFT
+ help
+ Framebuffer support for SH1106
+
config FB_TFT_SSD1289
tristate "FB driver for the SSD1289 LCD Controller"
depends on FB_TFT