aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyri Sarha <[email protected]>2019-12-04 16:40:24 +0200
committerTony Lindgren <[email protected]>2019-12-12 09:35:02 -0800
commitbfe0237dd6c441f0ba531755ab24579eaee99be7 (patch)
tree7a25b9531931007f3f0400f0857d2f6dea1bc2e6
parent32ee9fdf66b746bf80bd4ec40835bf55bed4b413 (diff)
ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0
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 <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
-rw-r--r--arch/arm/boot/dts/am335x-icev2.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-icev2.dts b/arch/arm/boot/dts/am335x-icev2.dts
index 204bccfcc110..021eb57261fe 100644
--- a/arch/arm/boot/dts/am335x-icev2.dts
+++ b/arch/arm/boot/dts/am335x-icev2.dts
@@ -287,6 +287,19 @@
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 {