From patchwork Wed Dec 4 14:40:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 180797 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp694399ile; Wed, 4 Dec 2019 06:40:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxoq0QG8jZyyW3KqM9MonkZcTFF4wk8frJxjGv0loNBNXM4MG4J1xZHjUYdCbP+sezAhxnC X-Received: by 2002:a9d:365:: with SMTP id 92mr2853672otv.9.1575470436124; Wed, 04 Dec 2019 06:40:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575470436; cv=none; d=google.com; s=arc-20160816; b=pRsqHbYuFJNnlrKwAmEEvPuKVeLP5bL6KCgBhFQiDa2uOYjJHqvW2PiQaOpcJH9d4B hSyuR0cXO3VezgWomnvk2/1USXad5CcHB7zrFtk3UDYddv5p+s2ASSJdFbqi4GMrctKF 8SOekVgP57F+SeihTAN6W1gaJtqHC+g+cp1vxob2Xupzai27Xpjw53t0a6OEwUKpakR5 wqo06xLMFLw6JNCu4hffKj0S4MyH0mDmnhR+gZTZxxIOASnOTyc7HzbF9lEJq/MM7Ni6 sVUM5XzHkgJWuMurmE2ooXB2RyuwAGC/oinE5QGHF56ARb17BWWWN2MKBvMC3QUItwJs DtKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=wCcmDKSgjXCTPwr0LgBGAxoaAwmIOSctH/Yp+FggVxY=; b=dHR+ffOjw9RGejZePObSAI1cAVEnHQhI9DRyDCLlKJr6hysA/neTQRSn7fWfPZUYxh WQudj4SO1w8MnRpuCCiTYPntBm0M1PYXlzR5Q4CLT3xkHzvgstmzVF1Mw694DNX8x5X7 +MmRpSmxynPcQUHqseDk3tZaV3NJUkjHIjQ89g0sTSZnSDtEZcCjW9DtdRFgZJZEyezO 8fHXc33Q2FvvmbybvhSfbYgaChct0jpWXv3mLk3JLL9pYFifxlZ6JNqMEG6MmM5QO7u0 LfFBO+w4yR0ALGdG9Kb8WjJRwSyMJbsIzKc16o2iL0Vr9fKkmqgH/J+64F1cjAJu3Wdl UMRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="fvI/aRSK"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e20si3160458oti.3.2019.12.04.06.40.35; Wed, 04 Dec 2019 06:40:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="fvI/aRSK"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727887AbfLDOkf (ORCPT + 8 others); Wed, 4 Dec 2019 09:40:35 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:32856 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbfLDOkf (ORCPT ); Wed, 4 Dec 2019 09:40:35 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB4EeWcA095124; Wed, 4 Dec 2019 08:40:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575470432; bh=wCcmDKSgjXCTPwr0LgBGAxoaAwmIOSctH/Yp+FggVxY=; h=From:To:CC:Subject:Date; b=fvI/aRSKMy55a87C4cZctOqsxcdtHjKtXqgZZ/LZi+Nzvk8vyeWrZVB0yc666gIEa 3qLCtsxN3IQ3l/zCAR9ZhaR92sMwaJvN14VtIvO3E9fJSH1BrfuARfu6h7WifM3v56 6iPOSp1WQOJfRMZM6/5sxrmojienGW+BSQQwA+CY= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xB4EeWAq103921 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Dec 2019 08:40:32 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 4 Dec 2019 08:40:27 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Wed, 4 Dec 2019 08:40:27 -0600 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB4EeOA5057127; Wed, 4 Dec 2019 08:40:25 -0600 From: Jyri Sarha To: , , , CC: , , Subject: [PATCH] ARM: dts: am335x-icev2: Add support for OSD9616P0899-10 at i2c0 Date: Wed, 4 Dec 2019 16:40:24 +0200 Message-ID: <20191204144024.16021-1-jsarha@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- arch/arm/boot/dts/am335x-icev2.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki Reviewed-by: Tomi Valkeinen 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 {