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: 9324419 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5246060231 for ; Fri, 9 Sep 2016 21:25:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 447112A014 for ; Fri, 9 Sep 2016 21:25:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 398E92A01E; Fri, 9 Sep 2016 21:25:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D68122A014 for ; Fri, 9 Sep 2016 21:25:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754700AbcIIVZv (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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>; + }; +};