video: add support for Solomon SSD1307 OLED controller family
It was ported from linux v4.10. Like the kernel driver only
communication via I2C is supported.

It has only been tested with a SSD1306 and a 96x16 OLED display:

	&i2c0 {
		status = "okay";

		ssd1306: oled@3c {
			compatible = "solomon,ssd1306fb-i2c";
			reg = <0x3c>;
			reset-gpios = <&gpio1 1 0>;
			solomon,height = <16>;
			solomon,width = <96>;
			solomon,page-offset = <0>;
			solomon,com-invdir;
			solomon,com-seq;
		};

Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b9cf45f commit 52e9a842e3bc9b3e6f48a6eee0020c48dcbb87c5
@Bastian Stender Bastian Stender authored on 28 Feb 2017
Sascha Hauer committed on 6 Mar 2017
Showing 3 changed files
View
drivers/video/Kconfig
View
drivers/video/Makefile
View
drivers/video/ssd1307fb.c 0 → 100644