From patchwork Mon Feb 1 08:50:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 8176801 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BB0549F4DD for ; Mon, 1 Feb 2016 08:50:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9A832041D for ; Mon, 1 Feb 2016 08:50:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C885520416 for ; Mon, 1 Feb 2016 08:50:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0FDF96E2D4; Mon, 1 Feb 2016 00:50:52 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9ECA56E2D4 for ; Mon, 1 Feb 2016 00:50:50 -0800 (PST) Received: by mail-lb0-f176.google.com with SMTP id bc4so70557696lbc.2 for ; Mon, 01 Feb 2016 00:50:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=u5kkULkUcCbChNlrsIA3r0MY/HPOrjIBHt7ABupaLVU=; b=dQB/r3mwna0gwS2ANn1YjP+NSYqCn2kcxWxoNJS3LjWgtMjetNHB2VekP21ppx2iW/ m/S7KAmpO23rwonEJsSP4bbZk9Ou0JvKYOp62VXq2eLE0mbu1jYV6Be1lxF9cuRo+y5U ZvW/d61EXLXpUvTj+JXQ1vv+R10iYc7qV2/aw= 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; bh=u5kkULkUcCbChNlrsIA3r0MY/HPOrjIBHt7ABupaLVU=; b=gRey6Yc68cx6otSEhx3RbJpNWH+uSFV8vqedbRezXxFnk9Dv5ijIFyRMjPLx20r1G3 ow6hOamR8dmd68zmAGTW7np/wVKpp/guduZ9UUDQMucf3Ci1xaENlb7GRTcRUl0U3Wdc 4QsgHRqllwVzGCniCOfpXTFAYOIvT1xxW2YFVi1UzetloB+9PcVVxKWzcusaTc96q1/1 K5tahdrYcYFfEKmxDmRlxgW1TxuJ5AqY0tsCY+sMxKQhgGWUrf33jEwzaY75Aubt2Zcq HSORou72Uuhi5ysC5DKgYXkRuK3wVUKvlSbincyQE2BD+9V08khA7cu9X5dYb5zIh26O 7ZdA== X-Gm-Message-State: AG10YOQhBp8IvckgwxAj2NbnslVAMT1mKkbYN8cSpFysA+49Co6MLTBdFGsxf0Bs/1hnfuvI X-Received: by 10.112.144.38 with SMTP id sj6mr8052657lbb.104.1454316649040; Mon, 01 Feb 2016 00:50:49 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id um4sm3797163lbb.1.2016.02.01.00.50.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Feb 2016 00:50:48 -0800 (PST) From: Linus Walleij To: devicetree@vger.kernel.org, Rob Herring , Thierry Reding Subject: [PATCH 2/2] dt-bindings: Add TPO TPG110 binding Date: Mon, 1 Feb 2016 09:50:43 +0100 Message-Id: <1454316643-3931-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds device tree bindings for the TPO TPG110 panel found mounted in the Nomadik NHK8815. Signed-off-by: Linus Walleij Acked-by: Rob Herring --- .../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..acbc6bef3593 --- /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-gpio : 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>; + }; +};