From patchwork Fri Sep 9 21:25:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 75916 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp548233qgf; Fri, 9 Sep 2016 14:25:52 -0700 (PDT) X-Received: by 10.66.100.162 with SMTP id ez2mr10156610pab.123.1473456351978; Fri, 09 Sep 2016 14:25:51 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ui2si5684376pab.174.2016.09.09.14.25.51; Fri, 09 Sep 2016 14:25:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754700AbcIIVZv (ORCPT + 2 others); Fri, 9 Sep 2016 17:25:51 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:35711 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753520AbcIIVZu (ORCPT ); Fri, 9 Sep 2016 17:25:50 -0400 Received: by mail-lf0-f49.google.com with SMTP id l131so52678035lfl.2 for ; Fri, 09 Sep 2016 14:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sZu4ORu+O3f9wkUftWQ3HmxQQLwOc47U5KosKEw78nI=; b=QMZmigGRKtxyYoxAKDZCKmKrg3ab9sZ4VR3M6DcLIpl1rNQRM7hBZgLv6UQo0/vp92 BstDDfeR4/KTcKGc9E2oCGRWyIj/T7ALKbTARWv86349iOLM4ZQCtL5ZgIUuKTDWHxlg uzCiro1rDdfpmn/l4opbc0bBIaVP88nXv4QyQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sZu4ORu+O3f9wkUftWQ3HmxQQLwOc47U5KosKEw78nI=; b=QHWlRlZp+3tgmFy3Q2TD/KNQDr34AuXYavqsZVAuVegLc5j90Y75z2he80oGAwIkKa TLzJ3bv5YbqIYxJ8u+6FtLgYUnSBZBWJf0J6sAeR6ySevUQwZuIDNOfEnBPHYjOo2OlP yFTstEBbBUD16HfxEfaQNWgx9eXLSm/6XLCncVi2bE37pk5zIu2l6sVyUfNG+X0dzcl5 jVcHzAje2CHgHfdIif8Ur5/oagaMYIQz0InuA9ARWsQLBWOglGjrxL5+ZKwTdVGSgE+x ijLPJBTbxY2u/L+5XQy01pGgyry8GxVauJPgaSX6nCKxwr1Xo892vsxRsNOAjs1aZSpy Qqww== X-Gm-Message-State: AE9vXwPml7yWDL1Jpad4A/JfC9kvIaUk8NQslKssEdRuQ3kLbeuNgTkwmXapcIg+TBrPqf1C X-Received: by 10.25.142.200 with SMTP id q191mr1221148lfd.1.1473456349084; Fri, 09 Sep 2016 14:25:49 -0700 (PDT) Received: from fecusa.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id 4sm907248ljb.10.2016.09.09.14.25.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Sep 2016 14:25:48 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Cc: linux-fbdev@vger.kernel.org, Tomi Valkeinen , Rob Herring , Linus Walleij Subject: [PATCH 3/6] dt-bindings: Add TPO TPG110 binding Date: Fri, 9 Sep 2016 23:25:32 +0200 Message-Id: <1473456335-22767-4-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473456335-22767-1-git-send-email-linus.walleij@linaro.org> References: <1473456335-22767-1-git-send-email-linus.walleij@linaro.org> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This adds device tree bindings for the TPO TPG110 panel found mounted in the Nomadik NHK8815. Acked-by: Rob Herring Signed-off-by: Linus Walleij --- .../bindings/display/panel/tpo,tpg110.txt | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt new file mode 100644 index 000000000000..f5e3c6f2095a --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/tpo,tpg110.txt @@ -0,0 +1,47 @@ +TPO TPG110 Panel +================ + +This binding builds on the DPI bindings, adding a few properties +as a superset of a DPI. See panel-dpi.txt for the required DPI +bindings. + +Required properties: +- compatible : "tpo,tpg110" +- grestb-gpios : panel reset GPIO +- scen-gpios : serial control enable GPIO +- scl-gpios : serial control clock line GPIO +- sda-gpios : serial control data line GPIO + +Required nodes: +- Video port for DPI input, see panel-dpi.txt +- Panel timing for DPI setup, see panel-dpi.txt + +Example +------- + +panel { + compatible = "tpo,tpg110", "panel-dpi"; + grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>; + scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; + scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; + sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; + backlight = <&bl>; + + port { + nomadik_clcd_panel: endpoint { + remote-endpoint = <&nomadik_clcd_pads>; + }; + }; + + panel-timing { + clock-frequency = <33200000>; + hactive = <800>; + hback-porch = <216>; + hfront-porch = <40>; + hsync-len = <1>; + vactive = <480>; + vback-porch = <35>; + vfront-porch = <10>; + vsync-len = <1>; + }; +};