ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0
authorJyri Sarha <jsarha@ti.com>
Wed, 4 Dec 2019 14:40:24 +0000 (16:40 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 12 Dec 2019 17:35:02 +0000 (09:35 -0800)
Add support for OSD9616P0899-10 96x16 passive matrix display. The
pre-charge period parameters are taken form a OSD9616P0899-10
document, but the display works fine with the default values too.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-icev2.dts

index 204bccf..021eb57 100644 (file)
                gpio-controller;
                #gpio-cells = <2>;
        };
+
+       /* osd9616p0899-10 */
+       display@3c {
+               compatible = "solomon,ssd1306fb-i2c";
+               reg = <0x3c>;
+               solomon,height = <16>;
+               solomon,width = <96>;
+               solomon,com-seq;
+               solomon,com-invdir;
+               solomon,page-offset = <0>;
+               solomon,prechargep1 = <2>;
+               solomon,prechargep2 = <13>;
+       };
 };
 
 &spi0 {