devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0
@ 2019-12-04 14:40 Jyri Sarha
  2019-12-04 20:10 ` Tomi Valkeinen
  0 siblings, 1 reply; 3+ messages in thread
From: Jyri Sarha @ 2019-12-04 14:40 UTC (permalink / raw)
  To: tony, bcousson, devicetree, linux-omap
  Cc: tomi.valkeinen, peter.ujfalusi, bparrot

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>
---
 arch/arm/boot/dts/am335x-icev2.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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 {
-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0
  2019-12-04 14:40 [PATCH] ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0 Jyri Sarha
@ 2019-12-04 20:10 ` Tomi Valkeinen
  2019-12-12 17:35   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Tomi Valkeinen @ 2019-12-04 20:10 UTC (permalink / raw)
  To: Jyri Sarha, tony, bcousson, devicetree, linux-omap
  Cc: peter.ujfalusi, bparrot

On 04/12/2019 16:40, Jyri Sarha wrote:
> 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>
> ---
>   arch/arm/boot/dts/am335x-icev2.dts | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
> 
> 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 {
> 

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

  Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0
  2019-12-04 20:10 ` Tomi Valkeinen
@ 2019-12-12 17:35   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2019-12-12 17:35 UTC (permalink / raw)
  To: Tomi Valkeinen
  Cc: Jyri Sarha, bcousson, devicetree, linux-omap, peter.ujfalusi, bparrot

* Tomi Valkeinen <tomi.valkeinen@ti.com> [191204 20:10]:
> On 04/12/2019 16:40, Jyri Sarha wrote:
> > 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>

Thanks applying into omap-for-v5.6/dt.

Tony

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-12 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 14:40 [PATCH] ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0 Jyri Sarha
2019-12-04 20:10 ` Tomi Valkeinen
2019-12-12 17:35   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).