Messages in this thread | | | From | Olliver Schinagl <> | Subject | [PATCH 0/2] SSD1307fb updates | Date | Tue, 8 Sep 2015 21:19:49 +0200 |
| |
Having a few ssd1309 128x64 OLED displays laying around, I added support for it to the existing 1307fb driver. While doing this I noticed the headers where out of order so I fixed those as well.
For this specific display, the following can be used in a i2c node for example.
ssd1309: oled@3c { compatible = "solomon,ssd1309fb-i2c"; pinctrl-names = "default"; pinctrl-0 = <&oled_pins>; reg = <0x3c>; reset-gpios = <&pio 8 13 GPIO_ACTIVE_HIGH>; solomon,width = <128>; solomon,height = <64>; solomon,com-invdir; solomon,page-offset = <0>; solomon,prechargep1 = <2>; solomon,prechargep2 = <8>; };
Olliver Schinagl (2): fbdev: ssd1307fb: alphabetize headers fbdev: ssd1307fb: add ssd1309 support
.../devicetree/bindings/video/ssd1307fb.txt | 3 ++- drivers/video/fbdev/ssd1307fb.c | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 6 deletions(-)
-- 2.1.4
| |